]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG::purge_strays: purge peer_missing as well
authorSamuel Just <sjust@redhat.com>
Wed, 19 Nov 2014 17:51:49 +0000 (09:51 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 30 Jan 2015 19:33:15 +0000 (11:33 -0800)
Backport: giant, firefly
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc

index cddd94aeaa3ca410d88cf71e3709e43aa65ea028..dc39f9f304197a0a02b0966bbc8329f97c7374e0 100644 (file)
@@ -2175,6 +2175,7 @@ void PG::purge_strays()
     } else {
       dout(10) << "not sending PGRemove to down osd." << *p << dendl;
     }
+    peer_missing.erase(*p);
     peer_info.erase(*p);
     peer_purged.insert(*p);
     removed = true;