summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/osd/ReplicatedPG.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc
index 04906ee1240..22c06713111 100644
--- a/src/osd/ReplicatedPG.cc
+++ b/src/osd/ReplicatedPG.cc
@@ -4307,6 +4307,7 @@ void ReplicatedPG::process_copy_chunk(hobject_t oid, tid_t tid, int r)
tid_t rep_tid = osd->get_tid();
osd_reqid_t reqid(osd->get_cluster_msgr_name(), 0, rep_tid);
OpContext *tctx = new OpContext(OpRequestRef(), reqid, ops, &ctx->obc->obs, ctx->obc->ssc, this);
+ tctx->copy_op = cop;
tctx->mtime = ceph_clock_now(g_ceph_context);
RepGather *repop = new_repop(tctx, ctx->obc, rep_tid);
finish_copy(tctx);