]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: ensure new daemons are properly indexed by hostname
authorJason Dillaman <dillaman@redhat.com>
Wed, 27 Nov 2019 14:32:28 +0000 (09:32 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 9 Dec 2019 16:43:08 +0000 (11:43 -0500)
commit1a5288357e6d20645f581920fd90af7e3070c98b
treef79496561e72e28ae860692fc4c5f7b9f9bed855
parente3616adab9649a893d8fa227c78bd080d16949b6
mgr: ensure new daemons are properly indexed by hostname

The hostname key was never populated when storing a daemon within
the daemon state index for the first time. This results in the
"by_server" index being incorrect.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3e7bc80b35b43d495a56b9cb0e9e15f58381f77b)
src/mgr/DaemonServer.cc