]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
small fix
authorsageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Fri, 7 Dec 2007 21:52:42 +0000 (21:52 +0000)
committersageweil <sageweil@29311d96-e01e-0410-9327-a35deaab8ce9>
Fri, 7 Dec 2007 21:52:42 +0000 (21:52 +0000)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2198 29311d96-e01e-0410-9327-a35deaab8ce9

trunk/ceph/osd/ReplicatedPG.cc

index 327bc6d46ac26380261b204cb0f0cb3825231bbd..faf64337db82c000d63145b98f6755c34043568d 100644 (file)
@@ -851,7 +851,8 @@ void ReplicatedPG::put_rep_gather(RepGather *repop)
   else if (repop->can_send_ack() &&
            repop->op->wants_ack()) {
     // apply
-    apply_repop(repop);
+    if (!repop->applied)
+      apply_repop(repop);
 
     // send ack
     if (repop->op->wants_reply()) {