From: Xinze Chi Date: Wed, 11 Feb 2015 03:12:09 +0000 (+0000) Subject: osd: clear extra get_transaction in do_op X-Git-Tag: v9.0.0~87^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a19cbd3edf147eb130a949df549b0a7dcec9869e;p=ceph.git osd: clear extra get_transaction in do_op get_transaction has been called in execute_ctx Signed-off-by: Xinze Chi --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 93f4f72b88d18..cc3186d9a64ff 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -1721,7 +1721,6 @@ void ReplicatedPG::do_op(OpRequestRef& op) } OpContext *ctx = new OpContext(op, m->get_reqid(), m->ops, obc, this); - ctx->op_t = pgbackend->get_transaction(); if (!obc->obs.exists) ctx->snapset_obc = get_object_context(obc->obs.oi.soid.get_snapdir(), false);