]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: subscribe osdmaps if any pending pgs 19059/head
authorKefu Chai <kchai@redhat.com>
Tue, 14 Nov 2017 10:42:02 +0000 (18:42 +0800)
committerPrashant D <pdhange@redhat.com>
Mon, 20 Nov 2017 12:27:47 +0000 (07:27 -0500)
commitd5f2e1660055d296640eebcfcaf13435dff212ef
tree8f301174b8cb233e62a70ed18d6d4307a4ce090b
parent5e519aebe718bd16d52e974beba8e3bf97b04ae8
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>
(cherry picked from commit 4037ab44b30ab23b2e464b24a82fee6fff9a2d08)
src/osd/OSD.cc