From: Samuel Just Date: Thu, 2 Jan 2014 15:20:18 +0000 (-0800) Subject: ReplicatedBackend: remove pushing entry for each object as it completes X-Git-Tag: v0.78~286^2~55 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=1f9457c53f3cf9c113b46435467d65db439cf1ef;p=ceph.git ReplicatedBackend: remove pushing entry for each object as it completes Signed-off-by: Samuel Just --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 2e2e14872c1..aa30d2e19f2 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -7810,6 +7810,7 @@ bool ReplicatedBackend::handle_push_reply(int peer, PushReplyOp &op, PushOp *rep if (pushing[soid].empty()) { get_parent()->on_global_recover(soid); + pushing.erase(soid); } else { dout(10) << "pushed " << soid << ", still waiting for push ack from " << pushing[soid].size() << " others" << dendl;