From 72e0f1a240ca4ae7963cff0af6e38efdde3bc405 Mon Sep 17 00:00:00 2001 From: sageweil Date: Fri, 7 Dec 2007 21:52:42 +0000 Subject: [PATCH] small fix git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2198 29311d96-e01e-0410-9327-a35deaab8ce9 --- trunk/ceph/osd/ReplicatedPG.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/ceph/osd/ReplicatedPG.cc b/trunk/ceph/osd/ReplicatedPG.cc index 327bc6d46ac26..faf64337db82c 100644 --- a/trunk/ceph/osd/ReplicatedPG.cc +++ b/trunk/ceph/osd/ReplicatedPG.cc @@ -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()) { -- 2.39.5