]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: keep daemon in service map when it has no tasks 36047/head
authorKefu Chai <kchai@redhat.com>
Tue, 14 Jul 2020 09:48:59 +0000 (17:48 +0800)
committerNathan Cutler <ncutler@suse.com>
Sat, 18 Jul 2020 17:41:39 +0000 (19:41 +0200)
commit98bd91da9b4d762d4ee6d2aaa7853cfc3be87b4b
tree6bc74a753873357bcd8c0e07e6232ea15eb26fba
parent7a770c776a0aefff2bb4e247082784fbd2cdbb60
mgr/DaemonServer: keep daemon in service map when it has no tasks

we should not remove a daemon from service map even if it has no task
running, as it is not an evidence that the service is removed from the
cluster.

this change partially reverts 5a7d0632d989536e09b2d916b5ea9713dc8dbea5

Fixes: https://tracker.ceph.com/issues/46495
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit bebc2ae1cbf45d8c58146b41d8f7cf2cd496955c)
src/mgr/DaemonServer.cc