]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: do not eval_repop if aborted
authorSamuel Just <sam.just@inktank.com>
Mon, 7 May 2012 17:33:59 +0000 (10:33 -0700)
committerSamuel Just <sam.just@inktank.com>
Thu, 5 Jul 2012 17:14:59 +0000 (10:14 -0700)
Signed-off-by: Samuel Just <sam.just@inktank.com>
src/osd/ReplicatedPG.cc

index 6dfdf7d64ca66b0f07c82b309b884196b7c46552..7432a2a6a9b845fd7b377f106d6f4d93ec0e6890 100644 (file)
@@ -3714,7 +3714,8 @@ void ReplicatedPG::repop_ack(RepGather *repop, int result, int ack_type,
     repop->waitfor_ack.erase(fromosd);
   }
 
-  eval_repop(repop);
+  if (!repop->aborted)
+    eval_repop(repop);
 }