From 585d2aa8143aaa73ced410797fddb43d9427f889 Mon Sep 17 00:00:00 2001 From: dingsongjie Date: Wed, 7 Feb 2024 09:05:58 +0800 Subject: [PATCH] fix barrier transaction bug (#75) * fix barrier transaction bug * fix barrier transaction bug --- src/DtmMongoBarrier/MongoBranchBarrier.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DtmMongoBarrier/MongoBranchBarrier.cs b/src/DtmMongoBarrier/MongoBranchBarrier.cs index c7926d1..54d6b26 100644 --- a/src/DtmMongoBarrier/MongoBranchBarrier.cs +++ b/src/DtmMongoBarrier/MongoBranchBarrier.cs @@ -145,7 +145,7 @@ await MongoInsertBarrier( { try { - await barrier.InsertOneAsync(new DtmBarrierDocument + await barrier.InsertOneAsync(session,new DtmBarrierDocument { TransType = bb.TransType, GId = bb.Gid,