]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: subscribe osdmaps if any pending pgs 18916/head
authorKefu Chai <kchai@redhat.com>
Tue, 14 Nov 2017 10:42:02 +0000 (18:42 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 14 Nov 2017 10:42:04 +0000 (18:42 +0800)
commit4037ab44b30ab23b2e464b24a82fee6fff9a2d08
tree56be8e62f76a183d9bf0bd059d29402b43203558
parent8ed65d24d4950d8b041e0780dc4f0823720dcc68
osd: subscribe osdmaps if any pending pgs

subscribe from monitor continously for new osdmaps so osd is able to get
the osdmap instructing it to delete PGs even if nobody is poking it.

Fixes: http://tracker.ceph.com/issues/22113
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc