ReplicatedPG::_finish_mark_all_unfound_lost: only requeue if !deleting

Signed-off-by: Samuel Just <sam.just@inktank.com>
This commit is contained in:
Samuel Just 2013-04-19 10:54:11 -07:00
parent 0e155550dd
commit 88d9ee1d01

View File

@ -6180,7 +6180,8 @@ void ReplicatedPG::_finish_mark_all_unfound_lost(list<ObjectContext*>& obcs)
lock();
dout(10) << "_finish_mark_all_unfound_lost " << dendl;
requeue_ops(waiting_for_all_missing);
if (!deleting)
requeue_ops(waiting_for_all_missing);
waiting_for_all_missing.clear();
while (!obcs.empty()) {