]> 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 36091/head
authorKefu Chai <kchai@redhat.com>
Tue, 14 Jul 2020 09:48:59 +0000 (17:48 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 15 Jul 2020 04:36:33 +0000 (12:36 +0800)
commitbebc2ae1cbf45d8c58146b41d8f7cf2cd496955c
tree9e4f655812fdfa10a783b705eaba48672ad95f11
parent87c86e9b77d32a0a274cd02d6dae7723e36524b0
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>
src/mgr/DaemonServer.cc