]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: clear extra get_transaction in do_op
authorXinze Chi <xmdxcxz@gmail.com>
Wed, 11 Feb 2015 03:12:09 +0000 (03:12 +0000)
committerXinze Chi <xmdxcxz@gmail.com>
Wed, 11 Feb 2015 03:12:09 +0000 (03:12 +0000)
get_transaction has been called in execute_ctx

Signed-off-by: Xinze Chi <xmdxcxz@gmail.com>
src/osd/ReplicatedPG.cc

index 93f4f72b88d18afd9f73d766a0a7b462dcd3ead3..cc3186d9a64ffe85b3236a7637e9d1e8855e9f99 100644 (file)
@@ -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);