[15:47:07.716 INF] [] ======== Test file: Start ======= {} [15:47:08.301 INF] [] ======== java.util.stream.Stream com.couchbase.transactions.SameDocTwiceTest.allPermutations():allPermutations(): testStart ======= {} [15:47:08.489 DBG] [] transactionStream: requestStream {} [15:47:08.489 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:08.515 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "209dc67f-f9c8-4208-8990-6917f4603ac9" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "209dc67f-f9c8-4208-8990-6917f4603ac9" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:08.515 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:08.515 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:08.517 DBG] [] : Create Task enqueued {} [15:47:08.517 INF] [] : Created, waiting until told to start {} [15:47:08.517 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "209dc67f-f9c8-4208-8990-6917f4603ac9" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "209dc67f-f9c8-4208-8990-6917f4603ac9" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:08.574 DBG] [] : MoveNext took 56ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:08.574 DBG] [] : Request: { "start": { } } {} [15:47:08.574 DBG] [] : Start triggered: { } {} [15:47:08.574 DBG] [] : END: { "start": { } } {} [15:47:08.575 INF] [] : Starting {} [15:47:08.575 DBG] [] Starting Attempt 0 {} [15:47:08.575 DBG] [] Performing TransactionCommand Insert {} [15:47:10.320 DBG] [] c32b2d2a-661d-4528-87a9-fa86f5b24c80.3dc6878a-fe50-4489-b077-93c04bf484f7: Performing command: insert {} [15:47:10.320 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:10.575 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=False {} [15:47:10.575 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:10.640 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493630690852864) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:10.640 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-22-#59e8 (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:10.653 DBG] [] transactionStream: requestStream {} [15:47:10.654 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:10.654 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "72a9186b-b974-4e38-bf04-a8a522f05421" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "72a9186b-b974-4e38-bf04-a8a522f05421" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:10.654 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:10.654 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:10.655 DBG] [] : Create Task enqueued {} [15:47:10.655 INF] [] : Created, waiting until told to start {} [15:47:10.655 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "72a9186b-b974-4e38-bf04-a8a522f05421" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "72a9186b-b974-4e38-bf04-a8a522f05421" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:10.709 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:10.709 DBG] [] : Request: { "start": { } } {} [15:47:10.709 DBG] [] : Start triggered: { } {} [15:47:10.709 DBG] [] : END: { "start": { } } {} [15:47:10.710 INF] [] : Starting {} [15:47:10.710 DBG] [] Starting Attempt 0 {} [15:47:10.710 DBG] [] Performing TransactionCommand Insert {} [15:47:10.710 DBG] [] 66d9fcc6-57fc-4842-9c79-c47208d6e2dc.7c6d1a49-e5f5-4af6-b689-d19f25c51d79: Performing command: insert {} [15:47:10.710 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:10.811 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 209dc67f-f9c8-4208-8990-6917f4603ac9, attemptId=3dc6878a-fe50-4489-b077-93c04bf484f7, preCas=null, postCas=1707493630863212544 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:10.812 DBG] [] c32b2d2a-661d-4528-87a9-fa86f5b24c80.3dc6878a-fe50-4489-b077-93c04bf484f7: Command Succeeded {} [15:47:10.812 DBG] [] Performing TransactionCommand Insert {} [15:47:10.812 DBG] [] c32b2d2a-661d-4528-87a9-fa86f5b24c80.3dc6878a-fe50-4489-b077-93c04bf484f7: Performing command: insert {} [15:47:10.812 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:10.812 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:10.870 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493630921932800) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:10.870 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-572-#1221 (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:10.981 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493631034654720) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:10.981 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-22-#59e8 (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:10.982 DBG] [Couchbase.Transactions.AttemptContext] [3dc6878a-fe50-4489-b077-93c04bf484f7] rolling back staged insert for default::_default::_default::209dc67f-f9c8-4208-8990-6917f4603ac9 {"Scope": ["RollbackWithKv", "RollbackStagedInsert"]} [15:47:11.042 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 72a9186b-b974-4e38-bf04-a8a522f05421, attemptId=7c6d1a49-e5f5-4af6-b689-d19f25c51d79, preCas=null, postCas=1707493631094292480 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:11.042 DBG] [] 66d9fcc6-57fc-4842-9c79-c47208d6e2dc.7c6d1a49-e5f5-4af6-b689-d19f25c51d79: Command Succeeded {} [15:47:11.042 DBG] [] Performing TransactionCommand Insert {} [15:47:11.042 DBG] [] 66d9fcc6-57fc-4842-9c79-c47208d6e2dc.7c6d1a49-e5f5-4af6-b689-d19f25c51d79: Performing command: insert {} [15:47:11.043 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:11.043 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:11.139 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Insert for 209dc67f-f9c8-4208-8990-6917f4603ac9 {"Scope": ["RollbackWithKv", "RollbackStagedInsert"]} [15:47:11.205 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493631256166400) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:11.206 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-572-#1221 (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:11.206 DBG] [Couchbase.Transactions.AttemptContext] [7c6d1a49-e5f5-4af6-b689-d19f25c51d79] rolling back staged insert for default::_default::_default::72a9186b-b974-4e38-bf04-a8a522f05421 {"Scope": ["RollbackWithKv", "RollbackStagedInsert"]} [15:47:11.301 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493631354601472) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:11.301 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-22-#59e8 (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:11.301 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed) {} [15:47:11.302 INF] [ExecuteApplicationLambda] Attempt 3dc6878a-fe50-4489-b077-93c04bf484f7 completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:11.303 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- {} [15:47:11.306 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:10.32] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:10.64] [Information] Upserted ATR to PENDING _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493630690852864)", "[2024-02-09 15:47:10.64] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-22-#59e8\u003c/ud\u003e (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7)", "[2024-02-09 15:47:10.81] [Debug] CreateStagedInsert for \u003cud\u003e209dc67f-f9c8-4208-8990-6917f4603ac9\u003c/ud\u003e, attemptId=3dc6878a-fe50-4489-b077-93c04bf484f7, preCas=(null), postCas=1707493630863212544", "[2024-02-09 15:47:10.81] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:10.81] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:10.98] [Debug] Updated to ABORTED ATR _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493631034654720)", "[2024-02-09 15:47:10.98] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-22-#59e8\u003c/ud\u003e (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7)", "[2024-02-09 15:47:10.98] [Debug] [3dc6878a-fe50-4489-b077-93c04bf484f7] rolling back staged insert for \u003cud\u003edefault::_default::_default::209dc67f-f9c8-4208-8990-6917f4603ac9\u003c/ud\u003e", "[2024-02-09 15:47:11.14] [Debug] Rolled back staged Insert for \u003cud\u003e209dc67f-f9c8-4208-8990-6917f4603ac9\u003c/ud\u003e", "[2024-02-09 15:47:11.30] [Debug] Removed ATR _txn:atr-22-#59e8/attempts.3dc6878a-fe50-4489-b077-93c04bf484f7 (cas = 1707493631354601472)", "[2024-02-09 15:47:11.30] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-22-#59e8\u003c/ud\u003e (attempt=3dc6878a-fe50-4489-b077-93c04bf484f7)", "[2024-02-09 15:47:11.30] [Debug] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:11.30] [Information] Attempt 3dc6878a-fe50-4489-b077-93c04bf484f7 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "c32b2d2a-661d-4528-87a9-fa86f5b24c80", "exceptionCause": "DocumentExistsException" }, unstagingComplete = False {} [15:47:11.307 WRN] [] : Completed Transaction Stream with Exception System.InvalidOperationException: Already finished. at Grpc.Core.Utils.GrpcPreconditions.CheckState(Boolean condition, String errorMessage) at Grpc.Core.Internal.AsyncCallServer`2.CheckSendAllowedOrEarlyResult() at Grpc.Core.Internal.AsyncCallBase`2.SendMessageInternalAsync(TWrite msg, WriteFlags writeFlags) at Grpc.Core.Internal.AsyncCallServer`2.SendMessageAsync(TResponse msg, WriteFlags writeFlags) at Grpc.Core.Internal.ServerResponseStream`2.WriteAsync(TResponse message) at Couchbase.Transactions.FitPerformer.PerformerServiceImpl.<>c__DisplayClass14_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/PerformerService.cs:line 311 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.PerformerServiceImpl.transactionStream(IAsyncStreamReader`1 requestStream, IServerStreamWriter`1 responseStream, ServerCallContext context) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/PerformerService.cs:line 364 {} [15:47:11.368 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Insert for 72a9186b-b974-4e38-bf04-a8a522f05421 {"Scope": ["RollbackWithKv", "RollbackStagedInsert"]} [15:47:11.530 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493631582601216) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:11.531 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-572-#1221 (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:11.531 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed) {} [15:47:11.535 INF] [ExecuteApplicationLambda] Attempt 7c6d1a49-e5f5-4af6-b689-d19f25c51d79 completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:11.536 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- {} [15:47:11.536 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:10.71] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:10.87] [Information] Upserted ATR to PENDING _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493630921932800)", "[2024-02-09 15:47:10.87] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-572-#1221\u003c/ud\u003e (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79)", "[2024-02-09 15:47:11.04] [Debug] CreateStagedInsert for \u003cud\u003e72a9186b-b974-4e38-bf04-a8a522f05421\u003c/ud\u003e, attemptId=7c6d1a49-e5f5-4af6-b689-d19f25c51d79, preCas=(null), postCas=1707493631094292480", "[2024-02-09 15:47:11.04] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:11.04] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:11.20] [Debug] Updated to ABORTED ATR _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493631256166400)", "[2024-02-09 15:47:11.20] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-572-#1221\u003c/ud\u003e (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79)", "[2024-02-09 15:47:11.20] [Debug] [7c6d1a49-e5f5-4af6-b689-d19f25c51d79] rolling back staged insert for \u003cud\u003edefault::_default::_default::72a9186b-b974-4e38-bf04-a8a522f05421\u003c/ud\u003e", "[2024-02-09 15:47:11.36] [Debug] Rolled back staged Insert for \u003cud\u003e72a9186b-b974-4e38-bf04-a8a522f05421\u003c/ud\u003e", "[2024-02-09 15:47:11.53] [Debug] Removed ATR _txn:atr-572-#1221/attempts.7c6d1a49-e5f5-4af6-b689-d19f25c51d79 (cas = 1707493631582601216)", "[2024-02-09 15:47:11.53] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-572-#1221\u003c/ud\u003e (attempt=7c6d1a49-e5f5-4af6-b689-d19f25c51d79)", "[2024-02-09 15:47:11.53] [Debug] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:11.53] [Information] Attempt 7c6d1a49-e5f5-4af6-b689-d19f25c51d79 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "66d9fcc6-57fc-4842-9c79-c47208d6e2dc", "exceptionCause": "DocumentExistsException" }, unstagingComplete = False {} [15:47:11.537 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:12.710 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:12.710 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:12.710 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:12.710 DBG] [] : Done with background tasks {} [15:47:12.710 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:13.193 DBG] [] transactionStream: requestStream {} [15:47:13.193 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:13.195 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a49a2b89-a4f5-4d2d-84d8-c584af13fd54" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a49a2b89-a4f5-4d2d-84d8-c584af13fd54" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:13.195 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:13.195 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:13.196 DBG] [] : Create Task enqueued {} [15:47:13.196 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a49a2b89-a4f5-4d2d-84d8-c584af13fd54" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "a49a2b89-a4f5-4d2d-84d8-c584af13fd54" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:13.196 INF] [] : Created, waiting until told to start {} [15:47:13.247 DBG] [] : MoveNext took 50ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:13.247 DBG] [] : Request: { "start": { } } {} [15:47:13.247 DBG] [] : Start triggered: { } {} [15:47:13.247 DBG] [] : END: { "start": { } } {} [15:47:13.248 INF] [] : Starting {} [15:47:13.248 DBG] [] Starting Attempt 0 {} [15:47:13.248 DBG] [] Performing TransactionCommand Insert {} [15:47:13.248 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Performing command: insert {} [15:47:13.248 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:13.410 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 (cas = 1707493633461256192) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:13.410 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-478-#2b3 (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:13.572 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for a49a2b89-a4f5-4d2d-84d8-c584af13fd54, attemptId=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, preCas=null, postCas=1707493633624834048 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:13.572 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Command Succeeded {} [15:47:13.572 DBG] [] Performing TransactionCommand Replace {} [15:47:13.572 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Performing command: replace {} [15:47:13.573 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:13.573 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict same txn for default::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:13.735 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for a49a2b89-a4f5-4d2d-84d8-c584af13fd54, attemptId=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, preCas=1707493633624834048, postCas=1707493633787691008 {"Scope": ["ReplaceWithKv", "CreateStagedInsert"]} [15:47:13.735 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Command Succeeded {} [15:47:13.735 DBG] [] Performing TransactionCommand SetLatch {} [15:47:13.735 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Performing command: set latch beforeExecutingDriverCode {} [15:47:13.737 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Command Succeeded {} [15:47:13.737 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:13.737 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Performing command: wait on latch afterExecutingDriverCode {} [15:47:13.907 DBG] [] : MoveNext took 660ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:13.908 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:13.908 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:13.908 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:13.908 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:13.908 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:13.908 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Command Succeeded {} [15:47:13.908 DBG] [] Performing TransactionCommand Commit {} [15:47:13.909 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Performing command: commit {} [15:47:14.068 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 (cas = 1707493634120024064) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:14.068 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-478-#2b3 (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:14.233 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, insertMode=True, ambiguityResolutionMode=False, preCas=1707493633787691008, postCas=1707493634283077632 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:14.395 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:14.395 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-478-#2b3 (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:14.395 DBG] [] 2d17ad14-9697-4ba0-9a4f-11cd97582e18.9b2560c7-9aea-43de-9c4a-2eab052fd5a4: Command Succeeded {} [15:47:14.395 DBG] [] Completed Attempt 0 {} [15:47:14.395 INF] [ExecuteApplicationLambda] Attempt 9b2560c7-9aea-43de-9c4a-2eab052fd5a4 completed. CleanupClient=False, LostCleanup=False {} [15:47:14.395 DBG] [] Transaction with ID 2d17ad14-9697-4ba0-9a4f-11cd97582e18 Completed without Failure {} [15:47:14.395 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:13.24] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:13.41] [Information] Upserted ATR to PENDING _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 (cas = 1707493633461256192)", "[2024-02-09 15:47:13.41] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-478-#2b3\u003c/ud\u003e (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4)", "[2024-02-09 15:47:13.57] [Debug] CreateStagedInsert for \u003cud\u003ea49a2b89-a4f5-4d2d-84d8-c584af13fd54\u003c/ud\u003e, attemptId=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, preCas=(null), postCas=1707493633624834048", "[2024-02-09 15:47:13.57] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54\u003c/ud\u003e, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4", "[2024-02-09 15:47:13.57] [Debug] CheckWriteWriteConflict same txn for \u003cud\u003edefault::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54\u003c/ud\u003e, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4", "[2024-02-09 15:47:13.73] [Debug] CreateStagedInsert for \u003cud\u003ea49a2b89-a4f5-4d2d-84d8-c584af13fd54\u003c/ud\u003e, attemptId=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, preCas=1707493633624834048, postCas=1707493633787691008", "[2024-02-09 15:47:14.06] [Debug] Updated to COMMITTED ATR _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 (cas = 1707493634120024064)", "[2024-02-09 15:47:14.06] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-478-#2b3\u003c/ud\u003e (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4)", "[2024-02-09 15:47:14.23] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::a49a2b89-a4f5-4d2d-84d8-c584af13fd54\u003c/ud\u003e, attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4, insertMode=True, ambiguityResolutionMode=False, preCas=1707493633787691008, postCas=1707493634283077632", "[2024-02-09 15:47:14.39] [Information] Removed ATR _txn:atr-478-#2b3/attempts.9b2560c7-9aea-43de-9c4a-2eab052fd5a4 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:14.39] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-478-#2b3\u003c/ud\u003e (attempt=9b2560c7-9aea-43de-9c4a-2eab052fd5a4)", "[2024-02-09 15:47:14.39] [Information] Attempt 9b2560c7-9aea-43de-9c4a-2eab052fd5a4 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "2d17ad14-9697-4ba0-9a4f-11cd97582e18", "unstagingComplete": true }, unstagingComplete = True {} [15:47:14.396 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:15.910 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:15.910 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:15.910 DBG] [] : Done with background tasks {} [15:47:15.910 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:16.174 DBG] [] transactionStream: requestStream {} [15:47:16.174 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:16.175 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c6e06e33-2f3c-451b-929e-b10d9e198a9b" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c6e06e33-2f3c-451b-929e-b10d9e198a9b" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:16.175 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:16.175 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:16.175 DBG] [] : Create Task enqueued {} [15:47:16.175 INF] [] : Created, waiting until told to start {} [15:47:16.176 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c6e06e33-2f3c-451b-929e-b10d9e198a9b" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c6e06e33-2f3c-451b-929e-b10d9e198a9b" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:16.229 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:16.229 DBG] [] : Request: { "start": { } } {} [15:47:16.230 DBG] [] : Start triggered: { } {} [15:47:16.230 DBG] [] : END: { "start": { } } {} [15:47:16.230 INF] [] : Starting {} [15:47:16.230 DBG] [] Starting Attempt 0 {} [15:47:16.230 DBG] [] Performing TransactionCommand Insert {} [15:47:16.230 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Performing command: insert {} [15:47:16.230 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:16.391 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e (cas = 1707493636441833472) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:16.391 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-499-#b14 (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:16.552 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for c6e06e33-2f3c-451b-929e-b10d9e198a9b, attemptId=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, preCas=null, postCas=1707493636605607936 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:16.553 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Command Succeeded {} [15:47:16.553 DBG] [] Performing TransactionCommand Replace {} [15:47:16.553 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Performing command: replace {} [15:47:16.553 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:16.553 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict same txn for default::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:16.716 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for c6e06e33-2f3c-451b-929e-b10d9e198a9b, attemptId=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, preCas=1707493636605607936, postCas=1707493636768006144 {"Scope": ["ReplaceWithKv", "CreateStagedInsert"]} [15:47:16.716 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Command Succeeded {} [15:47:16.716 DBG] [] Performing TransactionCommand SetLatch {} [15:47:16.716 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Performing command: set latch beforeExecutingDriverCode {} [15:47:16.717 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Command Succeeded {} [15:47:16.717 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:16.717 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Performing command: wait on latch afterExecutingDriverCode {} [15:47:16.881 DBG] [] : MoveNext took 651ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:16.881 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:16.881 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:16.881 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:16.882 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:16.882 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:16.882 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Command Succeeded {} [15:47:16.882 DBG] [] Performing TransactionCommand Commit {} [15:47:16.882 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Performing command: commit {} [15:47:17.042 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e (cas = 1707493637094506496) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:17.042 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-499-#b14 (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:17.204 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, insertMode=True, ambiguityResolutionMode=False, preCas=1707493636768006144, postCas=1707493637256052736 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:17.366 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:17.367 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-499-#b14 (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:17.367 DBG] [] 9eadd3e9-29ea-43de-88ab-b5a92a74b437.2eb909a6-8c51-40b4-b7d5-7d211be9e49e: Command Succeeded {} [15:47:17.367 DBG] [] Completed Attempt 0 {} [15:47:17.367 INF] [ExecuteApplicationLambda] Attempt 2eb909a6-8c51-40b4-b7d5-7d211be9e49e completed. CleanupClient=False, LostCleanup=False {} [15:47:17.367 DBG] [] Transaction with ID 9eadd3e9-29ea-43de-88ab-b5a92a74b437 Completed without Failure {} [15:47:17.367 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:16.23] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:16.39] [Information] Upserted ATR to PENDING _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e (cas = 1707493636441833472)", "[2024-02-09 15:47:16.39] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-499-#b14\u003c/ud\u003e (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e)", "[2024-02-09 15:47:16.55] [Debug] CreateStagedInsert for \u003cud\u003ec6e06e33-2f3c-451b-929e-b10d9e198a9b\u003c/ud\u003e, attemptId=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, preCas=(null), postCas=1707493636605607936", "[2024-02-09 15:47:16.55] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b\u003c/ud\u003e, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e", "[2024-02-09 15:47:16.55] [Debug] CheckWriteWriteConflict same txn for \u003cud\u003edefault::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b\u003c/ud\u003e, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e", "[2024-02-09 15:47:16.71] [Debug] CreateStagedInsert for \u003cud\u003ec6e06e33-2f3c-451b-929e-b10d9e198a9b\u003c/ud\u003e, attemptId=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, preCas=1707493636605607936, postCas=1707493636768006144", "[2024-02-09 15:47:17.04] [Debug] Updated to COMMITTED ATR _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e (cas = 1707493637094506496)", "[2024-02-09 15:47:17.04] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-499-#b14\u003c/ud\u003e (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e)", "[2024-02-09 15:47:17.20] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::c6e06e33-2f3c-451b-929e-b10d9e198a9b\u003c/ud\u003e, attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e, insertMode=True, ambiguityResolutionMode=False, preCas=1707493636768006144, postCas=1707493637256052736", "[2024-02-09 15:47:17.36] [Information] Removed ATR _txn:atr-499-#b14/attempts.2eb909a6-8c51-40b4-b7d5-7d211be9e49e on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:17.36] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-499-#b14\u003c/ud\u003e (attempt=2eb909a6-8c51-40b4-b7d5-7d211be9e49e)", "[2024-02-09 15:47:17.36] [Information] Attempt 2eb909a6-8c51-40b4-b7d5-7d211be9e49e completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "9eadd3e9-29ea-43de-88ab-b5a92a74b437", "unstagingComplete": true }, unstagingComplete = True {} [15:47:17.367 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:18.882 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:18.882 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:18.882 DBG] [] : Done with background tasks {} [15:47:18.882 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:19.933 DBG] [] transactionStream: requestStream {} [15:47:19.933 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:19.933 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6daf6e81-7fc2-4dc5-8dc8-1359cf200607" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6daf6e81-7fc2-4dc5-8dc8-1359cf200607" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:19.934 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:19.934 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:19.934 DBG] [] : Create Task enqueued {} [15:47:19.934 INF] [] : Created, waiting until told to start {} [15:47:19.935 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6daf6e81-7fc2-4dc5-8dc8-1359cf200607" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6daf6e81-7fc2-4dc5-8dc8-1359cf200607" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:19.987 DBG] [] : MoveNext took 51ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:19.987 DBG] [] : Request: { "start": { } } {} [15:47:19.987 DBG] [] : Start triggered: { } {} [15:47:19.987 DBG] [] : END: { "start": { } } {} [15:47:19.988 INF] [] : Starting {} [15:47:19.988 DBG] [] Starting Attempt 0 {} [15:47:19.988 DBG] [] Performing TransactionCommand Insert {} [15:47:19.988 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Performing command: insert {} [15:47:19.988 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:20.146 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 (cas = 1707493640199077888) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:20.146 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-805-#12 (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:20.310 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 6daf6e81-7fc2-4dc5-8dc8-1359cf200607, attemptId=78b70b34-36be-4a38-b5d8-8018499c56d0, preCas=null, postCas=1707493640362786816 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:20.310 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Command Succeeded {} [15:47:20.310 DBG] [] Performing TransactionCommand Remove {} [15:47:20.310 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Performing command: remove {} [15:47:20.478 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Command Succeeded {} [15:47:20.478 DBG] [] Performing TransactionCommand SetLatch {} [15:47:20.478 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Performing command: set latch beforeExecutingDriverCode {} [15:47:20.479 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Command Succeeded {} [15:47:20.479 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:20.479 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Performing command: wait on latch afterExecutingDriverCode {} [15:47:20.637 DBG] [] : MoveNext took 650ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:20.637 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:20.637 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:20.637 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:20.637 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:20.637 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:20.637 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Command Succeeded {} [15:47:20.637 DBG] [] Performing TransactionCommand Commit {} [15:47:20.637 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Performing command: commit {} [15:47:20.800 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 (cas = 1707493640850898944) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:20.800 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-805-#12 (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:20.963 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:20.963 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-805-#12 (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:20.963 DBG] [] 80c68baf-3382-4be8-a7e8-82bc8faf9e4e.78b70b34-36be-4a38-b5d8-8018499c56d0: Command Succeeded {} [15:47:20.963 DBG] [] Completed Attempt 0 {} [15:47:20.963 INF] [ExecuteApplicationLambda] Attempt 78b70b34-36be-4a38-b5d8-8018499c56d0 completed. CleanupClient=False, LostCleanup=False {} [15:47:20.963 DBG] [] Transaction with ID 80c68baf-3382-4be8-a7e8-82bc8faf9e4e Completed without Failure {} [15:47:20.964 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:19.98] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:20.14] [Information] Upserted ATR to PENDING _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 (cas = 1707493640199077888)", "[2024-02-09 15:47:20.14] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-805-#12\u003c/ud\u003e (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0)", "[2024-02-09 15:47:20.31] [Debug] CreateStagedInsert for \u003cud\u003e6daf6e81-7fc2-4dc5-8dc8-1359cf200607\u003c/ud\u003e, attemptId=78b70b34-36be-4a38-b5d8-8018499c56d0, preCas=(null), postCas=1707493640362786816", "[2024-02-09 15:47:20.80] [Debug] Updated to COMMITTED ATR _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 (cas = 1707493640850898944)", "[2024-02-09 15:47:20.80] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-805-#12\u003c/ud\u003e (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0)", "[2024-02-09 15:47:20.96] [Information] Removed ATR _txn:atr-805-#12/attempts.78b70b34-36be-4a38-b5d8-8018499c56d0 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:20.96] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-805-#12\u003c/ud\u003e (attempt=78b70b34-36be-4a38-b5d8-8018499c56d0)", "[2024-02-09 15:47:20.96] [Information] Attempt 78b70b34-36be-4a38-b5d8-8018499c56d0 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "80c68baf-3382-4be8-a7e8-82bc8faf9e4e", "unstagingComplete": true }, unstagingComplete = True {} [15:47:20.964 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:22.638 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:22.638 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:22.638 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:22.638 DBG] [] : Done with background tasks {} [15:47:22.639 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:23.020 DBG] [] transactionStream: requestStream {} [15:47:23.020 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:23.020 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "29fdfc19-341e-4b27-a61d-d08bc0f31474" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "29fdfc19-341e-4b27-a61d-d08bc0f31474" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:23.020 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:23.020 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:23.021 DBG] [] : Create Task enqueued {} [15:47:23.021 INF] [] : Created, waiting until told to start {} [15:47:23.021 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "29fdfc19-341e-4b27-a61d-d08bc0f31474" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "29fdfc19-341e-4b27-a61d-d08bc0f31474" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:23.075 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:23.075 DBG] [] : Request: { "start": { } } {} [15:47:23.075 DBG] [] : Start triggered: { } {} [15:47:23.075 DBG] [] : END: { "start": { } } {} [15:47:23.076 INF] [] : Starting {} [15:47:23.076 DBG] [] Starting Attempt 0 {} [15:47:23.076 DBG] [] Performing TransactionCommand Insert {} [15:47:23.076 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Performing command: insert {} [15:47:23.076 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["InsertWithKv", "InsertWithKv", "InitAtrIfNeeded"]} [15:47:23.237 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 (cas = 1707493643288051712) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:23.237 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-650-#266 (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972) {"Scope": ["InsertWithKv", "InsertWithKv", "SetAtrPending"]} [15:47:23.400 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedInsert for 29fdfc19-341e-4b27-a61d-d08bc0f31474, attemptId=cf59aabf-f1f4-4f64-baaa-46fab98ea972, preCas=null, postCas=1707493643452940288 {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedInsert"]} [15:47:23.401 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Command Succeeded {} [15:47:23.401 DBG] [] Performing TransactionCommand Remove {} [15:47:23.401 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Performing command: remove {} [15:47:23.568 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Command Succeeded {} [15:47:23.568 DBG] [] Performing TransactionCommand SetLatch {} [15:47:23.568 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Performing command: set latch beforeExecutingDriverCode {} [15:47:23.568 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Command Succeeded {} [15:47:23.568 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:23.568 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Performing command: wait on latch afterExecutingDriverCode {} [15:47:23.728 DBG] [] : MoveNext took 653ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:23.729 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:23.729 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:23.729 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:23.729 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:23.729 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Command Succeeded {} [15:47:23.729 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:23.729 DBG] [] Performing TransactionCommand Commit {} [15:47:23.729 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Performing command: commit {} [15:47:23.888 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 (cas = 1707493643941249024) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:23.888 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-650-#266 (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:24.051 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:24.051 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-650-#266 (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:24.051 DBG] [] 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68.cf59aabf-f1f4-4f64-baaa-46fab98ea972: Command Succeeded {} [15:47:24.051 DBG] [] Completed Attempt 0 {} [15:47:24.052 INF] [ExecuteApplicationLambda] Attempt cf59aabf-f1f4-4f64-baaa-46fab98ea972 completed. CleanupClient=False, LostCleanup=False {} [15:47:24.052 DBG] [] Transaction with ID 2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68 Completed without Failure {} [15:47:24.052 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:23.07] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:23.23] [Information] Upserted ATR to PENDING _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 (cas = 1707493643288051712)", "[2024-02-09 15:47:23.23] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-650-#266\u003c/ud\u003e (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972)", "[2024-02-09 15:47:23.40] [Debug] CreateStagedInsert for \u003cud\u003e29fdfc19-341e-4b27-a61d-d08bc0f31474\u003c/ud\u003e, attemptId=cf59aabf-f1f4-4f64-baaa-46fab98ea972, preCas=(null), postCas=1707493643452940288", "[2024-02-09 15:47:23.88] [Debug] Updated to COMMITTED ATR _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 (cas = 1707493643941249024)", "[2024-02-09 15:47:23.88] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-650-#266\u003c/ud\u003e (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972)", "[2024-02-09 15:47:24.05] [Information] Removed ATR _txn:atr-650-#266/attempts.cf59aabf-f1f4-4f64-baaa-46fab98ea972 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:24.05] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-650-#266\u003c/ud\u003e (attempt=cf59aabf-f1f4-4f64-baaa-46fab98ea972)", "[2024-02-09 15:47:24.05] [Information] Attempt cf59aabf-f1f4-4f64-baaa-46fab98ea972 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "2aaf4f85-eb9d-48c1-90d9-ffdc027a1d68", "unstagingComplete": true }, unstagingComplete = True {} [15:47:24.052 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:25.730 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:25.730 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:25.730 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:47:25.730 DBG] [] : Done with background tasks {} [15:47:25.731 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:26.954 DBG] [] transactionStream: requestStream {} [15:47:26.954 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:26.955 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "f16b9459-8f90-496c-ba56-bab63901b8a1" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "f16b9459-8f90-496c-ba56-bab63901b8a1" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:26.955 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:26.955 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:26.955 DBG] [] : Create Task enqueued {} [15:47:26.955 INF] [] : Created, waiting until told to start {} [15:47:26.955 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "f16b9459-8f90-496c-ba56-bab63901b8a1" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "f16b9459-8f90-496c-ba56-bab63901b8a1" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:27.009 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:27.009 DBG] [] : Request: { "start": { } } {} [15:47:27.009 DBG] [] : Start triggered: { } {} [15:47:27.009 DBG] [] : END: { "start": { } } {} [15:47:27.010 INF] [] : Starting {} [15:47:27.010 DBG] [] Starting Attempt 0 {} [15:47:27.010 DBG] [] Performing TransactionCommand Replace {} [15:47:27.010 DBG] [] 551a2fd6-c925-4022-9caa-5bc0da72303e.cffc9008-ee56-4061-9893-022e66b125d3: Performing command: replace {} [15:47:27.559 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for f16b9459-8f90-496c-ba56-bab63901b8a1, attemptId=cffc9008-ee56-4061-9893-022e66b125d3, postCas=1707493647008530432 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:27.559 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1, attempt=cffc9008-ee56-4061-9893-022e66b125d3 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:27.559 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1, attempt=cffc9008-ee56-4061-9893-022e66b125d3 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:27.559 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:27.722 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493647774580736) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:27.723 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-732-#8c9 (attempt=cffc9008-ee56-4061-9893-022e66b125d3) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:27.884 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for f16b9459-8f90-496c-ba56-bab63901b8a1, attemptId=cffc9008-ee56-4061-9893-022e66b125d3, preCase=1707493647008530432, postCas=1707493647936847872, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:27.884 DBG] [] 551a2fd6-c925-4022-9caa-5bc0da72303e.cffc9008-ee56-4061-9893-022e66b125d3: Command Succeeded {} [15:47:27.884 DBG] [] Performing TransactionCommand Insert {} [15:47:27.884 DBG] [] 551a2fd6-c925-4022-9caa-5bc0da72303e.cffc9008-ee56-4061-9893-022e66b125d3: Performing command: insert {} [15:47:27.884 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:27.884 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:28.052 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493648101998592) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:28.052 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-732-#8c9 (attempt=cffc9008-ee56-4061-9893-022e66b125d3) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:28.052 DBG] [Couchbase.Transactions.AttemptContext] [cffc9008-ee56-4061-9893-022e66b125d3] rolling back staged replace or remove for default::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:28.213 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Replace for f16b9459-8f90-496c-ba56-bab63901b8a1 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:28.378 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493648430071808) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:28.378 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-732-#8c9 (attempt=cffc9008-ee56-4061-9893-022e66b125d3) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:28.378 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed) {} [15:47:28.378 INF] [ExecuteApplicationLambda] Attempt cffc9008-ee56-4061-9893-022e66b125d3 completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:28.379 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- {} [15:47:28.380 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:27.55] [Debug] GetWithMav for \u003cud\u003ef16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e, attemptId=cffc9008-ee56-4061-9893-022e66b125d3, postCas=1707493647008530432", "[2024-02-09 15:47:27.55] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e, attempt=cffc9008-ee56-4061-9893-022e66b125d3", "[2024-02-09 15:47:27.55] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e, attempt=cffc9008-ee56-4061-9893-022e66b125d3", "[2024-02-09 15:47:27.55] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:27.72] [Information] Upserted ATR to PENDING _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493647774580736)", "[2024-02-09 15:47:27.72] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-732-#8c9\u003c/ud\u003e (attempt=cffc9008-ee56-4061-9893-022e66b125d3)", "[2024-02-09 15:47:27.88] [Debug] CreateStagedReplace for \u003cud\u003ef16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e, attemptId=cffc9008-ee56-4061-9893-022e66b125d3, preCase=1707493647008530432, postCas=1707493647936847872, accessDeleted=False", "[2024-02-09 15:47:27.88] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:27.88] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:28.05] [Debug] Updated to ABORTED ATR _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493648101998592)", "[2024-02-09 15:47:28.05] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-732-#8c9\u003c/ud\u003e (attempt=cffc9008-ee56-4061-9893-022e66b125d3)", "[2024-02-09 15:47:28.05] [Debug] [cffc9008-ee56-4061-9893-022e66b125d3] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::f16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e", "[2024-02-09 15:47:28.21] [Debug] Rolled back staged Replace for \u003cud\u003ef16b9459-8f90-496c-ba56-bab63901b8a1\u003c/ud\u003e", "[2024-02-09 15:47:28.37] [Debug] Removed ATR _txn:atr-732-#8c9/attempts.cffc9008-ee56-4061-9893-022e66b125d3 (cas = 1707493648430071808)", "[2024-02-09 15:47:28.37] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-732-#8c9\u003c/ud\u003e (attempt=cffc9008-ee56-4061-9893-022e66b125d3)", "[2024-02-09 15:47:28.37] [Debug] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:28.37] [Information] Attempt cffc9008-ee56-4061-9893-022e66b125d3 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "551a2fd6-c925-4022-9caa-5bc0da72303e", "exceptionCause": "DocumentExistsException" }, unstagingComplete = False {} [15:47:28.380 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:29.010 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=True, allFinished=True {} [15:47:29.010 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:29.010 DBG] [] : Done with background tasks {} [15:47:29.010 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:29.526 DBG] [] transactionStream: requestStream {} [15:47:29.526 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:29.526 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "78dfc7c3-19bc-428a-9df9-5e663d16028d" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "78dfc7c3-19bc-428a-9df9-5e663d16028d" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:29.526 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:29.526 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:29.527 DBG] [] : Create Task enqueued {} [15:47:29.527 INF] [] : Created, waiting until told to start {} [15:47:29.528 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "78dfc7c3-19bc-428a-9df9-5e663d16028d" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "78dfc7c3-19bc-428a-9df9-5e663d16028d" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:29.581 DBG] [] : MoveNext took 52ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:29.581 DBG] [] : Request: { "start": { } } {} [15:47:29.581 DBG] [] : Start triggered: { } {} [15:47:29.581 DBG] [] : END: { "start": { } } {} [15:47:29.581 INF] [] : Starting {} [15:47:29.582 DBG] [] Starting Attempt 0 {} [15:47:29.582 DBG] [] Performing TransactionCommand Replace {} [15:47:29.582 DBG] [] cb5b06bc-27c2-40e7-87af-50f4261aece5.e94b2633-be2f-4637-8bc8-c11189d0d8ea: Performing command: replace {} [15:47:29.740 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 78dfc7c3-19bc-428a-9df9-5e663d16028d, attemptId=e94b2633-be2f-4637-8bc8-c11189d0d8ea, postCas=1707493649579638784 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:29.740 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d, attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:29.740 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d, attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:29.740 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:29.914 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493649965383680) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:29.914 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-85-#3878 (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:30.081 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 78dfc7c3-19bc-428a-9df9-5e663d16028d, attemptId=e94b2633-be2f-4637-8bc8-c11189d0d8ea, preCase=1707493649579638784, postCas=1707493650130468864, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:30.082 DBG] [] cb5b06bc-27c2-40e7-87af-50f4261aece5.e94b2633-be2f-4637-8bc8-c11189d0d8ea: Command Succeeded {} [15:47:30.082 DBG] [] Performing TransactionCommand Insert {} [15:47:30.082 DBG] [] cb5b06bc-27c2-40e7-87af-50f4261aece5.e94b2633-be2f-4637-8bc8-c11189d0d8ea: Performing command: insert {} [15:47:30.082 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:30.082 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:30.244 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493650296995840) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:30.244 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-85-#3878 (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:30.244 DBG] [Couchbase.Transactions.AttemptContext] [e94b2633-be2f-4637-8bc8-c11189d0d8ea] rolling back staged replace or remove for default::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:30.415 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Replace for 78dfc7c3-19bc-428a-9df9-5e663d16028d {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:30.582 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493650634047488) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:30.582 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-85-#3878 (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:30.582 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed) {} [15:47:30.582 INF] [ExecuteApplicationLambda] Attempt e94b2633-be2f-4637-8bc8-c11189d0d8ea completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:30.585 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentExistsException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentExistsException' was thrown. at Couchbase.Transactions.AttemptContext.InsertWithKv(ICouchbaseCollection collection, String id, Object content, IRequestSpan parentSpan) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 592 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_1.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 129 --- End of stack trace from previous location --- at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, AttemptContext ctx, TransactionCommand command, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 127 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass5_0.<b__0>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 79 --- End of stack trace from previous location --- at Couchbase.Transactions.Transactions.ExecuteApplicationLambda(Func`2 transactionLogic, TransactionContext overallContext, ILoggerFactory loggerFactory, TransactionResult result, IRequestSpan parentSpan, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 321 -----------------------Context Info--------------------------- {} [15:47:30.585 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:29.74] [Debug] GetWithMav for \u003cud\u003e78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e, attemptId=e94b2633-be2f-4637-8bc8-c11189d0d8ea, postCas=1707493649579638784", "[2024-02-09 15:47:29.74] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e, attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea", "[2024-02-09 15:47:29.74] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e, attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea", "[2024-02-09 15:47:29.74] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:29.91] [Information] Upserted ATR to PENDING _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493649965383680)", "[2024-02-09 15:47:29.91] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-85-#3878\u003c/ud\u003e (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea)", "[2024-02-09 15:47:30.08] [Debug] CreateStagedReplace for \u003cud\u003e78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e, attemptId=e94b2633-be2f-4637-8bc8-c11189d0d8ea, preCase=1707493649579638784, postCas=1707493650130468864, accessDeleted=False", "[2024-02-09 15:47:30.08] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:30.08] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:30.24] [Debug] Updated to ABORTED ATR _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493650296995840)", "[2024-02-09 15:47:30.24] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-85-#3878\u003c/ud\u003e (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea)", "[2024-02-09 15:47:30.24] [Debug] [e94b2633-be2f-4637-8bc8-c11189d0d8ea] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e", "[2024-02-09 15:47:30.41] [Debug] Rolled back staged Replace for \u003cud\u003e78dfc7c3-19bc-428a-9df9-5e663d16028d\u003c/ud\u003e", "[2024-02-09 15:47:30.58] [Debug] Removed ATR _txn:atr-85-#3878/attempts.e94b2633-be2f-4637-8bc8-c11189d0d8ea (cas = 1707493650634047488)", "[2024-02-09 15:47:30.58] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-85-#3878\u003c/ud\u003e (attempt=e94b2633-be2f-4637-8bc8-c11189d0d8ea)", "[2024-02-09 15:47:30.58] [Debug] Propagating error up. (ec = FailDocAlreadyExists, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:30.58] [Information] Attempt e94b2633-be2f-4637-8bc8-c11189d0d8ea completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "cb5b06bc-27c2-40e7-87af-50f4261aece5", "exceptionCause": "DocumentExistsException" }, unstagingComplete = False {} [15:47:30.586 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:31.582 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:31.582 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:31.582 DBG] [] : Done with background tasks {} [15:47:31.582 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:32.132 DBG] [] transactionStream: requestStream {} [15:47:32.133 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:32.133 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "eb2d487d-77a7-45f2-a07f-7ad115856f90" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "eb2d487d-77a7-45f2-a07f-7ad115856f90" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:32.133 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:32.133 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:32.133 DBG] [] : Create Task enqueued {} [15:47:32.133 INF] [] : Created, waiting until told to start {} [15:47:32.134 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "eb2d487d-77a7-45f2-a07f-7ad115856f90" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "eb2d487d-77a7-45f2-a07f-7ad115856f90" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:32.183 DBG] [] : MoveNext took 48ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:32.183 DBG] [] : Request: { "start": { } } {} [15:47:32.183 DBG] [] : Start triggered: { } {} [15:47:32.183 DBG] [] : END: { "start": { } } {} [15:47:32.183 INF] [] : Starting {} [15:47:32.184 DBG] [] Starting Attempt 0 {} [15:47:32.184 DBG] [] Performing TransactionCommand Replace {} [15:47:32.184 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Performing command: replace {} [15:47:32.339 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for eb2d487d-77a7-45f2-a07f-7ad115856f90, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, postCas=1707493652185677824 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:32.340 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:32.340 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:32.340 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:32.503 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee (cas = 1707493652554907648) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:32.503 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-971-#4b (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:32.667 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for eb2d487d-77a7-45f2-a07f-7ad115856f90, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, preCase=1707493652185677824, postCas=1707493652717830144, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:32.667 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Command Succeeded {} [15:47:32.667 DBG] [] Performing TransactionCommand Replace {} [15:47:32.667 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Performing command: replace {} [15:47:32.667 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:32.667 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:32.829 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for eb2d487d-77a7-45f2-a07f-7ad115856f90, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, preCase=1707493652717830144, postCas=1707493652881932288, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:32.829 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Command Succeeded {} [15:47:32.829 DBG] [] Performing TransactionCommand SetLatch {} [15:47:32.829 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Performing command: set latch beforeExecutingDriverCode {} [15:47:32.829 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Command Succeeded {} [15:47:32.829 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:32.829 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Performing command: wait on latch afterExecutingDriverCode {} [15:47:33.159 DBG] [] : MoveNext took 975ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:33.159 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:33.159 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:33.159 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:33.159 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:33.159 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:33.159 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Command Succeeded {} [15:47:33.159 DBG] [] Performing TransactionCommand Commit {} [15:47:33.159 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Performing command: commit {} [15:47:33.322 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee (cas = 1707493653371420672) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:33.322 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-971-#4b (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:33.484 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee, insertMode=False, ambiguityResolutionMode=False, preCas=1707493652881932288, postCas=1707493653536636928 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:33.648 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:33.648 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-971-#4b (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:33.649 DBG] [] a9b4d556-ac57-42bd-97a9-a90424abf29b.99136df1-88e9-4ec8-84dd-81cfd9042aee: Command Succeeded {} [15:47:33.649 DBG] [] Completed Attempt 0 {} [15:47:33.649 INF] [ExecuteApplicationLambda] Attempt 99136df1-88e9-4ec8-84dd-81cfd9042aee completed. CleanupClient=False, LostCleanup=False {} [15:47:33.649 DBG] [] Transaction with ID a9b4d556-ac57-42bd-97a9-a90424abf29b Completed without Failure {} [15:47:33.649 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:32.34] [Debug] GetWithMav for \u003cud\u003eeb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, postCas=1707493652185677824", "[2024-02-09 15:47:32.34] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee", "[2024-02-09 15:47:32.34] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee", "[2024-02-09 15:47:32.34] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:32.50] [Information] Upserted ATR to PENDING _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee (cas = 1707493652554907648)", "[2024-02-09 15:47:32.50] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-971-#4b\u003c/ud\u003e (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee)", "[2024-02-09 15:47:32.66] [Debug] CreateStagedReplace for \u003cud\u003eeb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, preCase=1707493652185677824, postCas=1707493652717830144, accessDeleted=False", "[2024-02-09 15:47:32.66] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee", "[2024-02-09 15:47:32.66] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee", "[2024-02-09 15:47:32.82] [Debug] CreateStagedReplace for \u003cud\u003eeb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attemptId=99136df1-88e9-4ec8-84dd-81cfd9042aee, preCase=1707493652717830144, postCas=1707493652881932288, accessDeleted=False", "[2024-02-09 15:47:33.32] [Debug] Updated to COMMITTED ATR _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee (cas = 1707493653371420672)", "[2024-02-09 15:47:33.32] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-971-#4b\u003c/ud\u003e (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee)", "[2024-02-09 15:47:33.48] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::eb2d487d-77a7-45f2-a07f-7ad115856f90\u003c/ud\u003e, attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee, insertMode=False, ambiguityResolutionMode=False, preCas=1707493652881932288, postCas=1707493653536636928", "[2024-02-09 15:47:33.64] [Information] Removed ATR _txn:atr-971-#4b/attempts.99136df1-88e9-4ec8-84dd-81cfd9042aee on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:33.64] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-971-#4b\u003c/ud\u003e (attempt=99136df1-88e9-4ec8-84dd-81cfd9042aee)", "[2024-02-09 15:47:33.64] [Information] Attempt 99136df1-88e9-4ec8-84dd-81cfd9042aee completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "a9b4d556-ac57-42bd-97a9-a90424abf29b", "unstagingComplete": true }, unstagingComplete = True {} [15:47:33.650 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:35.159 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:35.159 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:35.159 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:47:35.159 DBG] [] : Done with background tasks {} [15:47:35.159 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:35.705 DBG] [] transactionStream: requestStream {} [15:47:35.705 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:35.705 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "9f5122fa-9110-4389-88bb-fd92ce652eb6" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "9f5122fa-9110-4389-88bb-fd92ce652eb6" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:35.705 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:35.705 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:35.706 DBG] [] : Create Task enqueued {} [15:47:35.706 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "9f5122fa-9110-4389-88bb-fd92ce652eb6" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "9f5122fa-9110-4389-88bb-fd92ce652eb6" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:35.706 INF] [] : Created, waiting until told to start {} [15:47:35.756 DBG] [] : MoveNext took 50ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:35.757 DBG] [] : Request: { "start": { } } {} [15:47:35.757 DBG] [] : Start triggered: { } {} [15:47:35.757 DBG] [] : END: { "start": { } } {} [15:47:35.757 INF] [] : Starting {} [15:47:35.758 DBG] [] Starting Attempt 0 {} [15:47:35.758 DBG] [] Performing TransactionCommand Replace {} [15:47:35.758 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Performing command: replace {} [15:47:35.915 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 9f5122fa-9110-4389-88bb-fd92ce652eb6, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, postCas=1707493655760470016 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:35.916 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:35.916 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:35.916 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:36.079 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 (cas = 1707493656131403776) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:36.080 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-831-#2b1 (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:36.244 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 9f5122fa-9110-4389-88bb-fd92ce652eb6, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, preCase=1707493655760470016, postCas=1707493656297013248, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:36.245 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Command Succeeded {} [15:47:36.245 DBG] [] Performing TransactionCommand Replace {} [15:47:36.245 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Performing command: replace {} [15:47:36.245 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:36.245 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:36.413 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 9f5122fa-9110-4389-88bb-fd92ce652eb6, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, preCase=1707493656297013248, postCas=1707493656463015936, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:36.413 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Command Succeeded {} [15:47:36.413 DBG] [] Performing TransactionCommand SetLatch {} [15:47:36.413 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Performing command: set latch beforeExecutingDriverCode {} [15:47:36.413 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Command Succeeded {} [15:47:36.413 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:36.413 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Performing command: wait on latch afterExecutingDriverCode {} [15:47:36.735 DBG] [] : MoveNext took 978ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:36.735 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:36.735 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:36.735 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:36.735 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:36.735 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:36.735 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Command Succeeded {} [15:47:36.735 DBG] [] Performing TransactionCommand Commit {} [15:47:36.735 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Performing command: commit {} [15:47:36.902 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 (cas = 1707493656956764160) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:36.902 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-831-#2b1 (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:37.069 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, insertMode=False, ambiguityResolutionMode=False, preCas=1707493656463015936, postCas=1707493657122635776 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:37.232 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:37.232 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-831-#2b1 (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:37.232 DBG] [] cab6ccda-f8f8-423e-b098-4ee5d45945c8.056ed65b-4bb4-4aba-b3ca-9e856d7859a9: Command Succeeded {} [15:47:37.232 DBG] [] Completed Attempt 0 {} [15:47:37.232 INF] [ExecuteApplicationLambda] Attempt 056ed65b-4bb4-4aba-b3ca-9e856d7859a9 completed. CleanupClient=False, LostCleanup=False {} [15:47:37.232 DBG] [] Transaction with ID cab6ccda-f8f8-423e-b098-4ee5d45945c8 Completed without Failure {} [15:47:37.232 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:35.91] [Debug] GetWithMav for \u003cud\u003e9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, postCas=1707493655760470016", "[2024-02-09 15:47:35.91] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9", "[2024-02-09 15:47:35.91] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9", "[2024-02-09 15:47:35.91] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:36.08] [Information] Upserted ATR to PENDING _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 (cas = 1707493656131403776)", "[2024-02-09 15:47:36.08] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-831-#2b1\u003c/ud\u003e (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9)", "[2024-02-09 15:47:36.24] [Debug] CreateStagedReplace for \u003cud\u003e9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, preCase=1707493655760470016, postCas=1707493656297013248, accessDeleted=False", "[2024-02-09 15:47:36.24] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9", "[2024-02-09 15:47:36.24] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9", "[2024-02-09 15:47:36.41] [Debug] CreateStagedReplace for \u003cud\u003e9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attemptId=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, preCase=1707493656297013248, postCas=1707493656463015936, accessDeleted=False", "[2024-02-09 15:47:36.90] [Debug] Updated to COMMITTED ATR _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 (cas = 1707493656956764160)", "[2024-02-09 15:47:36.90] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-831-#2b1\u003c/ud\u003e (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9)", "[2024-02-09 15:47:37.06] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::9f5122fa-9110-4389-88bb-fd92ce652eb6\u003c/ud\u003e, attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9, insertMode=False, ambiguityResolutionMode=False, preCas=1707493656463015936, postCas=1707493657122635776", "[2024-02-09 15:47:37.23] [Information] Removed ATR _txn:atr-831-#2b1/attempts.056ed65b-4bb4-4aba-b3ca-9e856d7859a9 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:37.23] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-831-#2b1\u003c/ud\u003e (attempt=056ed65b-4bb4-4aba-b3ca-9e856d7859a9)", "[2024-02-09 15:47:37.23] [Information] Attempt 056ed65b-4bb4-4aba-b3ca-9e856d7859a9 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "cab6ccda-f8f8-423e-b098-4ee5d45945c8", "unstagingComplete": true }, unstagingComplete = True {} [15:47:37.233 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:38.736 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:38.736 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:38.736 DBG] [] : Done with background tasks {} [15:47:38.736 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:40.220 DBG] [] transactionStream: requestStream {} [15:47:40.220 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:40.221 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6f7b3fca-c760-4604-a537-5fead2bc620e" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6f7b3fca-c760-4604-a537-5fead2bc620e" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:40.221 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:40.221 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:40.221 DBG] [] : Create Task enqueued {} [15:47:40.222 INF] [] : Created, waiting until told to start {} [15:47:40.222 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6f7b3fca-c760-4604-a537-5fead2bc620e" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "6f7b3fca-c760-4604-a537-5fead2bc620e" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:40.275 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:40.275 DBG] [] : Request: { "start": { } } {} [15:47:40.275 DBG] [] : Start triggered: { } {} [15:47:40.275 DBG] [] : END: { "start": { } } {} [15:47:40.276 INF] [] : Starting {} [15:47:40.276 DBG] [] Starting Attempt 0 {} [15:47:40.276 DBG] [] Performing TransactionCommand Replace {} [15:47:40.276 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Performing command: replace {} [15:47:40.439 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 6f7b3fca-c760-4604-a537-5fead2bc620e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, postCas=1707493660273410048 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:40.439 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:40.439 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629 {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:40.439 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:40.618 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 (cas = 1707493660670099456) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:40.618 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-819-#2c9 (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:40.789 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 6f7b3fca-c760-4604-a537-5fead2bc620e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, preCase=1707493660273410048, postCas=1707493660842000384, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:40.790 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Command Succeeded {} [15:47:40.790 DBG] [] Performing TransactionCommand Remove {} [15:47:40.790 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Performing command: remove {} [15:47:40.790 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:40.790 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:40.964 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 6f7b3fca-c760-4604-a537-5fead2bc620e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, preCas=1707493660842000384, postCas=1707493661017505792 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:40.964 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Command Succeeded {} [15:47:40.964 DBG] [] Performing TransactionCommand SetLatch {} [15:47:40.964 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Performing command: set latch beforeExecutingDriverCode {} [15:47:40.964 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Command Succeeded {} [15:47:40.964 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:40.965 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Performing command: wait on latch afterExecutingDriverCode {} [15:47:41.125 DBG] [] : MoveNext took 849ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:41.125 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:41.125 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:41.125 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:41.125 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:41.125 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:41.125 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Command Succeeded {} [15:47:41.125 DBG] [] Performing TransactionCommand Commit {} [15:47:41.125 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Performing command: commit {} [15:47:41.288 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 (cas = 1707493661340336128) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:41.288 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-819-#2c9 (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:41.449 DBG] [Couchbase.Transactions.AttemptContext] Unstaged RemoveAsync successfully for {redactedId)} (retryCount=0 {"redactedId)": "default::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e", "Scope": ["CommitWithKv", "UnstageDocs", "UnstageRemove"]} [15:47:41.612 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:41.612 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-819-#2c9 (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:41.612 DBG] [] 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3.e1c3dee6-f126-4b06-acae-da5815e2f629: Command Succeeded {} [15:47:41.613 DBG] [] Completed Attempt 0 {} [15:47:41.613 INF] [ExecuteApplicationLambda] Attempt e1c3dee6-f126-4b06-acae-da5815e2f629 completed. CleanupClient=False, LostCleanup=False {} [15:47:41.613 DBG] [] Transaction with ID 3a30d8a5-c6f1-4bdd-b922-626bf7d37de3 Completed without Failure {} [15:47:41.613 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:40.43] [Debug] GetWithMav for \u003cud\u003e6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, postCas=1707493660273410048", "[2024-02-09 15:47:40.43] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629", "[2024-02-09 15:47:40.43] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629", "[2024-02-09 15:47:40.43] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:40.61] [Information] Upserted ATR to PENDING _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 (cas = 1707493660670099456)", "[2024-02-09 15:47:40.61] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-819-#2c9\u003c/ud\u003e (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629)", "[2024-02-09 15:47:40.79] [Debug] CreateStagedReplace for \u003cud\u003e6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, preCase=1707493660273410048, postCas=1707493660842000384, accessDeleted=False", "[2024-02-09 15:47:40.79] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629", "[2024-02-09 15:47:40.79] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attempt=e1c3dee6-f126-4b06-acae-da5815e2f629", "[2024-02-09 15:47:40.96] [Debug] CreateStagedRemove for \u003cud\u003e6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e, attemptId=e1c3dee6-f126-4b06-acae-da5815e2f629, preCas=1707493660842000384, postCas=1707493661017505792", "[2024-02-09 15:47:41.28] [Debug] Updated to COMMITTED ATR _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 (cas = 1707493661340336128)", "[2024-02-09 15:47:41.28] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-819-#2c9\u003c/ud\u003e (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629)", "[2024-02-09 15:47:41.44] [Debug] Unstaged RemoveAsync successfully for \u003cud\u003edefault::_default::_default::6f7b3fca-c760-4604-a537-5fead2bc620e\u003c/ud\u003e (retryCount=0", "[2024-02-09 15:47:41.61] [Information] Removed ATR _txn:atr-819-#2c9/attempts.e1c3dee6-f126-4b06-acae-da5815e2f629 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:41.61] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-819-#2c9\u003c/ud\u003e (attempt=e1c3dee6-f126-4b06-acae-da5815e2f629)", "[2024-02-09 15:47:41.61] [Information] Attempt e1c3dee6-f126-4b06-acae-da5815e2f629 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "3a30d8a5-c6f1-4bdd-b922-626bf7d37de3", "unstagingComplete": true }, unstagingComplete = True {} [15:47:41.613 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:43.126 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:43.126 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:43.126 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:47:43.126 DBG] [] : Done with background tasks {} [15:47:43.126 DBG] [] : Reached end of transactionStream with cancellation=False, status=Status(StatusCode="OK", Detail="") {} [15:47:43.684 DBG] [] transactionStream: requestStream {} [15:47:43.684 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:43.684 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "7cf062f5-d9ae-4286-b3f0-0423a680543f" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "7cf062f5-d9ae-4286-b3f0-0423a680543f" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:43.684 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:43.684 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:43.685 DBG] [] : Create Task enqueued {} [15:47:43.685 INF] [] : Created, waiting until told to start {} [15:47:43.685 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "7cf062f5-d9ae-4286-b3f0-0423a680543f" }, "contentJson": "{\"content\":\"updated\"}", "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "7cf062f5-d9ae-4286-b3f0-0423a680543f" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:43.738 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:43.738 DBG] [] : Request: { "start": { } } {} [15:47:43.738 DBG] [] : Start triggered: { } {} [15:47:43.738 DBG] [] : END: { "start": { } } {} [15:47:43.739 INF] [] : Starting {} [15:47:43.739 DBG] [] Starting Attempt 0 {} [15:47:43.739 DBG] [] Performing TransactionCommand Replace {} [15:47:43.739 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Performing command: replace {} [15:47:43.895 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 7cf062f5-d9ae-4286-b3f0-0423a680543f, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, postCas=1707493663738494976 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:43.896 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RP for default::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:43.896 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e {"Scope": ["ReplaceWithKv", "CheckWriteWriteConflict"]} [15:47:43.896 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["ReplaceWithKv", "InitAtrIfNeeded"]} [15:47:44.060 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e (cas = 1707493664112902144) {"Scope": ["ReplaceWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:44.060 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-396-#b78 (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e) {"Scope": ["ReplaceWithKv", "SetAtrPending"]} [15:47:44.223 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 7cf062f5-d9ae-4286-b3f0-0423a680543f, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, preCase=1707493663738494976, postCas=1707493664276807680, accessDeleted=False {"Scope": ["ReplaceWithKv", "CreateStagedReplace"]} [15:47:44.223 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Command Succeeded {} [15:47:44.223 DBG] [] Performing TransactionCommand Remove {} [15:47:44.223 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Performing command: remove {} [15:47:44.223 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:44.223 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:44.386 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 7cf062f5-d9ae-4286-b3f0-0423a680543f, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, preCas=1707493664276807680, postCas=1707493664439205888 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:44.387 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Command Succeeded {} [15:47:44.387 DBG] [] Performing TransactionCommand SetLatch {} [15:47:44.387 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Performing command: set latch beforeExecutingDriverCode {} [15:47:44.387 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Command Succeeded {} [15:47:44.387 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:44.387 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Performing command: wait on latch afterExecutingDriverCode {} [15:47:44.548 DBG] [] : MoveNext took 809ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:44.548 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:44.548 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:44.548 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:44.548 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:44.548 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:44.548 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Command Succeeded {} [15:47:44.548 DBG] [] Performing TransactionCommand Commit {} [15:47:44.548 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Performing command: commit {} [15:47:44.710 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e (cas = 1707493664762298368) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:44.710 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-396-#b78 (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:44.869 DBG] [Couchbase.Transactions.AttemptContext] Unstaged RemoveAsync successfully for {redactedId)} (retryCount=0 {"redactedId)": "default::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f", "Scope": ["CommitWithKv", "UnstageDocs", "UnstageRemove"]} [15:47:45.032 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:45.032 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-396-#b78 (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:45.032 DBG] [] 90128b93-81da-441a-97d3-efe09ffc9412.3d6fbfba-199e-4859-92e2-ba8fb0227a2e: Command Succeeded {} [15:47:45.032 DBG] [] Completed Attempt 0 {} [15:47:45.032 INF] [ExecuteApplicationLambda] Attempt 3d6fbfba-199e-4859-92e2-ba8fb0227a2e completed. CleanupClient=False, LostCleanup=False {} [15:47:45.032 DBG] [] Transaction with ID 90128b93-81da-441a-97d3-efe09ffc9412 Completed without Failure {} [15:47:45.032 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:43.89] [Debug] GetWithMav for \u003cud\u003e7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, postCas=1707493663738494976", "[2024-02-09 15:47:43.89] [Debug] CheckWriteWriteConflict@WW_RP for \u003cud\u003edefault::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e", "[2024-02-09 15:47:43.89] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e", "[2024-02-09 15:47:43.89] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:44.06] [Information] Upserted ATR to PENDING _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e (cas = 1707493664112902144)", "[2024-02-09 15:47:44.06] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-396-#b78\u003c/ud\u003e (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e)", "[2024-02-09 15:47:44.22] [Debug] CreateStagedReplace for \u003cud\u003e7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, preCase=1707493663738494976, postCas=1707493664276807680, accessDeleted=False", "[2024-02-09 15:47:44.22] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e", "[2024-02-09 15:47:44.22] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e", "[2024-02-09 15:47:44.38] [Debug] CreateStagedRemove for \u003cud\u003e7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e, attemptId=3d6fbfba-199e-4859-92e2-ba8fb0227a2e, preCas=1707493664276807680, postCas=1707493664439205888", "[2024-02-09 15:47:44.71] [Debug] Updated to COMMITTED ATR _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e (cas = 1707493664762298368)", "[2024-02-09 15:47:44.71] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-396-#b78\u003c/ud\u003e (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e)", "[2024-02-09 15:47:44.87] [Debug] Unstaged RemoveAsync successfully for \u003cud\u003edefault::_default::_default::7cf062f5-d9ae-4286-b3f0-0423a680543f\u003c/ud\u003e (retryCount=0", "[2024-02-09 15:47:45.03] [Information] Removed ATR _txn:atr-396-#b78/attempts.3d6fbfba-199e-4859-92e2-ba8fb0227a2e on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:45.03] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-396-#b78\u003c/ud\u003e (attempt=3d6fbfba-199e-4859-92e2-ba8fb0227a2e)", "[2024-02-09 15:47:45.03] [Information] Attempt 3d6fbfba-199e-4859-92e2-ba8fb0227a2e completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "90128b93-81da-441a-97d3-efe09ffc9412", "unstagingComplete": true }, unstagingComplete = True {} [15:47:45.033 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:46.549 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=True, allFinished=True {} [15:47:46.550 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:46.550 DBG] [] : Done with background tasks {} [15:47:46.550 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:47.760 DBG] [] transactionStream: requestStream {} [15:47:47.760 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:47.761 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c087f1e0-1570-403e-89b5-7b0fd7cd2d44" }, "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c087f1e0-1570-403e-89b5-7b0fd7cd2d44" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:47.761 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:47.761 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:47.762 DBG] [] : Create Task enqueued {} [15:47:47.762 INF] [] : Created, waiting until told to start {} [15:47:47.762 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c087f1e0-1570-403e-89b5-7b0fd7cd2d44" }, "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "c087f1e0-1570-403e-89b5-7b0fd7cd2d44" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:47.816 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:47.816 DBG] [] : Request: { "start": { } } {} [15:47:47.816 DBG] [] : Start triggered: { } {} [15:47:47.816 DBG] [] : END: { "start": { } } {} [15:47:47.817 INF] [] : Starting {} [15:47:47.817 DBG] [] Starting Attempt 0 {} [15:47:47.817 DBG] [] Performing TransactionCommand Remove {} [15:47:47.817 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Performing command: remove {} [15:47:47.974 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, postCas=1707493667815424000 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:47.975 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:47.975 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:47.975 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:47:48.147 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd (cas = 1707493668201103360) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:48.147 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-324-#b79 (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:47:48.317 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, preCas=1707493667815424000, postCas=1707493668371234816 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:48.317 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Command Succeeded {} [15:47:48.317 DBG] [] Performing TransactionCommand Insert {} [15:47:48.318 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Performing command: insert {} [15:47:48.488 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, preCase=1707493668371234816, postCas=1707493668540579840, accessDeleted=True {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedReplace"]} [15:47:48.488 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Command Succeeded {} [15:47:48.488 DBG] [] Performing TransactionCommand SetLatch {} [15:47:48.488 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Performing command: set latch beforeExecutingDriverCode {} [15:47:48.489 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Command Succeeded {} [15:47:48.491 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:48.491 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Performing command: wait on latch afterExecutingDriverCode {} [15:47:48.818 DBG] [] : MoveNext took 1001ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:48.818 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:48.818 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:48.818 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:48.818 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:48.818 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:48.818 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Command Succeeded {} [15:47:48.818 DBG] [] Performing TransactionCommand Commit {} [15:47:48.818 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Performing command: commit {} [15:47:48.979 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd (cas = 1707493669031706624) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:48.979 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-324-#b79 (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:49.138 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd, insertMode=False, ambiguityResolutionMode=False, preCas=1707493668540579840, postCas=1707493669191352320 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:49.306 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:49.306 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-324-#b79 (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:49.306 DBG] [] 5c7b1872-56aa-4474-ae52-039dae1ab8c2.6ffdc709-56ab-495b-add3-de9aabfda6dd: Command Succeeded {} [15:47:49.306 DBG] [] Completed Attempt 0 {} [15:47:49.306 INF] [ExecuteApplicationLambda] Attempt 6ffdc709-56ab-495b-add3-de9aabfda6dd completed. CleanupClient=False, LostCleanup=False {} [15:47:49.306 DBG] [] Transaction with ID 5c7b1872-56aa-4474-ae52-039dae1ab8c2 Completed without Failure {} [15:47:49.306 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:47.97] [Debug] GetWithMav for \u003cud\u003ec087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, postCas=1707493667815424000", "[2024-02-09 15:47:47.97] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd", "[2024-02-09 15:47:47.97] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd", "[2024-02-09 15:47:47.97] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:48.14] [Information] Upserted ATR to PENDING _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd (cas = 1707493668201103360)", "[2024-02-09 15:47:48.14] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-324-#b79\u003c/ud\u003e (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd)", "[2024-02-09 15:47:48.31] [Debug] CreateStagedRemove for \u003cud\u003ec087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, preCas=1707493667815424000, postCas=1707493668371234816", "[2024-02-09 15:47:48.48] [Debug] CreateStagedReplace for \u003cud\u003ec087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attemptId=6ffdc709-56ab-495b-add3-de9aabfda6dd, preCase=1707493668371234816, postCas=1707493668540579840, accessDeleted=True", "[2024-02-09 15:47:48.97] [Debug] Updated to COMMITTED ATR _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd (cas = 1707493669031706624)", "[2024-02-09 15:47:48.97] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-324-#b79\u003c/ud\u003e (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd)", "[2024-02-09 15:47:49.13] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::c087f1e0-1570-403e-89b5-7b0fd7cd2d44\u003c/ud\u003e, attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd, insertMode=False, ambiguityResolutionMode=False, preCas=1707493668540579840, postCas=1707493669191352320", "[2024-02-09 15:47:49.30] [Information] Removed ATR _txn:atr-324-#b79/attempts.6ffdc709-56ab-495b-add3-de9aabfda6dd on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:49.30] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-324-#b79\u003c/ud\u003e (attempt=6ffdc709-56ab-495b-add3-de9aabfda6dd)", "[2024-02-09 15:47:49.30] [Information] Attempt 6ffdc709-56ab-495b-add3-de9aabfda6dd completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "5c7b1872-56aa-4474-ae52-039dae1ab8c2", "unstagingComplete": true }, unstagingComplete = True {} [15:47:49.307 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:50.819 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:50.819 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:50.819 DBG] [] : Done with background tasks {} [15:47:50.819 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:51.188 DBG] [] transactionStream: requestStream {} [15:47:51.188 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:51.188 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80" }, "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:51.188 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:51.188 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:51.189 DBG] [] : Create Task enqueued {} [15:47:51.189 INF] [] : Created, waiting until told to start {} [15:47:51.189 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80" }, "expectedResult": [ { "success": true } ] } }, { "insert": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80" }, "contentJson": "{\"content\":\"initial\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:51.240 DBG] [] : MoveNext took 51ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:51.240 DBG] [] : Request: { "start": { } } {} [15:47:51.240 DBG] [] : Start triggered: { } {} [15:47:51.240 DBG] [] : END: { "start": { } } {} [15:47:51.241 INF] [] : Starting {} [15:47:51.241 DBG] [] Starting Attempt 0 {} [15:47:51.241 DBG] [] Performing TransactionCommand Remove {} [15:47:51.241 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Performing command: remove {} [15:47:51.397 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attemptId=a311f998-4314-45af-a0b2-630616822974, postCas=1707493671243612160 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:51.397 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attempt=a311f998-4314-45af-a0b2-630616822974 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:51.397 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attempt=a311f998-4314-45af-a0b2-630616822974 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:51.397 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:47:51.558 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 (cas = 1707493671611269120) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:51.558 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-691-#186 (attempt=a311f998-4314-45af-a0b2-630616822974) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:47:51.720 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attemptId=a311f998-4314-45af-a0b2-630616822974, preCas=1707493671243612160, postCas=1707493671774846976 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:51.720 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Command Succeeded {} [15:47:51.720 DBG] [] Performing TransactionCommand Insert {} [15:47:51.720 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Performing command: insert {} [15:47:51.883 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedReplace for 5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attemptId=a311f998-4314-45af-a0b2-630616822974, preCase=1707493671774846976, postCas=1707493671937376256, accessDeleted=True {"Scope": ["InsertWithKv", "InsertWithKv", "CreateStagedReplace"]} [15:47:51.883 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Command Succeeded {} [15:47:51.883 DBG] [] Performing TransactionCommand SetLatch {} [15:47:51.883 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Performing command: set latch beforeExecutingDriverCode {} [15:47:51.883 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Command Succeeded {} [15:47:51.883 DBG] [] Performing TransactionCommand WaitOnLatch {} [15:47:51.883 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Performing command: wait on latch afterExecutingDriverCode {} [15:47:52.201 DBG] [] : MoveNext took 960ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:52.201 DBG] [] : Request: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:52.201 DBG] [] : Broadcast triggered: { "latchSet": { "latchName": "afterExecutingDriverCode" } } {} [15:47:52.201 DBG] [] Signalling latch: afterExecutingDriverCode {} [15:47:52.201 DBG] [] : END: { "broadcast": { "latchSet": { "latchName": "afterExecutingDriverCode" } } } {} [15:47:52.201 DBG] [] Passed latch afterExecutingDriverCode {} [15:47:52.201 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Command Succeeded {} [15:47:52.201 DBG] [] Performing TransactionCommand Commit {} [15:47:52.201 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Performing command: commit {} [15:47:52.364 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to COMMITTED ATR _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 (cas = 1707493672417755136) {"Scope": ["CommitWithKv", "SetAtrCommit", "MutateAtrCommit"]} [15:47:52.364 DBG] [Couchbase.Transactions.AttemptContext] SetAtrCommit for default._default._default::_txn:atr-691-#186 (attempt=a311f998-4314-45af-a0b2-630616822974) {"Scope": ["CommitWithKv", "SetAtrCommit"]} [15:47:52.526 INF] [Couchbase.Transactions.AttemptContext] Unstaged mutation successfully on default::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80, attempt=a311f998-4314-45af-a0b2-630616822974, insertMode=False, ambiguityResolutionMode=False, preCas=1707493671937376256, postCas=1707493672580481024 {"Scope": ["CommitWithKv", "UnstageDocs", "UnstageInsertOrReplace"]} [15:47:52.687 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 on default:`default`.`_default`.`_default` {"Scope": ["CommitWithKv", "SetAtrComplete", "MutateAtrComplete"]} [15:47:52.687 DBG] [Couchbase.Transactions.AttemptContext] SetAtrComplete for default._default._default::_txn:atr-691-#186 (attempt=a311f998-4314-45af-a0b2-630616822974) {"Scope": ["CommitWithKv", "SetAtrComplete"]} [15:47:52.687 DBG] [] 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7.a311f998-4314-45af-a0b2-630616822974: Command Succeeded {} [15:47:52.687 DBG] [] Completed Attempt 0 {} [15:47:52.687 INF] [ExecuteApplicationLambda] Attempt a311f998-4314-45af-a0b2-630616822974 completed. CleanupClient=False, LostCleanup=False {} [15:47:52.687 DBG] [] Transaction with ID 62d52df1-86ed-4a78-8ca8-cb807c0cc8b7 Completed without Failure {} [15:47:52.687 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "log": [ "[2024-02-09 15:47:51.39] [Debug] GetWithMav for \u003cud\u003e5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attemptId=a311f998-4314-45af-a0b2-630616822974, postCas=1707493671243612160", "[2024-02-09 15:47:51.39] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attempt=a311f998-4314-45af-a0b2-630616822974", "[2024-02-09 15:47:51.39] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attempt=a311f998-4314-45af-a0b2-630616822974", "[2024-02-09 15:47:51.39] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:51.55] [Information] Upserted ATR to PENDING _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 (cas = 1707493671611269120)", "[2024-02-09 15:47:51.55] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-691-#186\u003c/ud\u003e (attempt=a311f998-4314-45af-a0b2-630616822974)", "[2024-02-09 15:47:51.72] [Debug] CreateStagedRemove for \u003cud\u003e5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attemptId=a311f998-4314-45af-a0b2-630616822974, preCas=1707493671243612160, postCas=1707493671774846976", "[2024-02-09 15:47:51.88] [Debug] CreateStagedReplace for \u003cud\u003e5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attemptId=a311f998-4314-45af-a0b2-630616822974, preCase=1707493671774846976, postCas=1707493671937376256, accessDeleted=True", "[2024-02-09 15:47:52.36] [Debug] Updated to COMMITTED ATR _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 (cas = 1707493672417755136)", "[2024-02-09 15:47:52.36] [Debug] SetAtrCommit for \u003cud\u003edefault._default._default::_txn:atr-691-#186\u003c/ud\u003e (attempt=a311f998-4314-45af-a0b2-630616822974)", "[2024-02-09 15:47:52.52] [Information] Unstaged mutation successfully on \u003cud\u003edefault::_default::_default::5f12cfbf-b10e-43f4-8ec3-dfbc0cf12c80\u003c/ud\u003e, attempt=a311f998-4314-45af-a0b2-630616822974, insertMode=False, ambiguityResolutionMode=False, preCas=1707493671937376256, postCas=1707493672580481024", "[2024-02-09 15:47:52.68] [Information] Removed ATR _txn:atr-691-#186/attempts.a311f998-4314-45af-a0b2-630616822974 on default:`default`.`_default`.`_default` ", "[2024-02-09 15:47:52.68] [Debug] SetAtrComplete for \u003cud\u003edefault._default._default::_txn:atr-691-#186\u003c/ud\u003e (attempt=a311f998-4314-45af-a0b2-630616822974)", "[2024-02-09 15:47:52.68] [Information] Attempt a311f998-4314-45af-a0b2-630616822974 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "62d52df1-86ed-4a78-8ca8-cb807c0cc8b7", "unstagingComplete": true }, unstagingComplete = True {} [15:47:52.688 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:54.202 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:54.202 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:47:54.202 DBG] [] : Done with background tasks {} [15:47:54.202 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:55.819 DBG] [] transactionStream: requestStream {} [15:47:55.820 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:55.820 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "bcab15eb-0c2c-4d77-9963-3de660e8ef0c" }, "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "bcab15eb-0c2c-4d77-9963-3de660e8ef0c" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:55.820 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:55.820 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:55.821 DBG] [] : Create Task enqueued {} [15:47:55.821 INF] [] : Created, waiting until told to start {} [15:47:55.821 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "bcab15eb-0c2c-4d77-9963-3de660e8ef0c" }, "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "bcab15eb-0c2c-4d77-9963-3de660e8ef0c" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:55.874 DBG] [] : MoveNext took 52ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:55.874 DBG] [] : Request: { "start": { } } {} [15:47:55.874 DBG] [] : Start triggered: { } {} [15:47:55.874 DBG] [] : END: { "start": { } } {} [15:47:55.875 INF] [] : Starting {} [15:47:55.875 DBG] [] Starting Attempt 0 {} [15:47:55.875 DBG] [] Performing TransactionCommand Remove {} [15:47:55.875 DBG] [] dc2baabe-f5cb-4965-b268-06ba2c2e5883.16368c8d-f74f-4219-9469-6174f34d95fc: Performing command: remove {} [15:47:56.031 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for bcab15eb-0c2c-4d77-9963-3de660e8ef0c, attemptId=16368c8d-f74f-4219-9469-6174f34d95fc, postCas=1707493675873468416 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:56.032 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c, attempt=16368c8d-f74f-4219-9469-6174f34d95fc {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:56.032 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c, attempt=16368c8d-f74f-4219-9469-6174f34d95fc {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:56.032 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:47:56.202 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676255543296) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:56.203 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-419-#c3 (attempt=16368c8d-f74f-4219-9469-6174f34d95fc) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:47:56.369 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for bcab15eb-0c2c-4d77-9963-3de660e8ef0c, attemptId=16368c8d-f74f-4219-9469-6174f34d95fc, preCas=1707493675873468416, postCas=1707493676419645440 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:56.369 DBG] [] dc2baabe-f5cb-4965-b268-06ba2c2e5883.16368c8d-f74f-4219-9469-6174f34d95fc: Command Succeeded {} [15:47:56.369 DBG] [] Performing TransactionCommand Replace {} [15:47:56.369 DBG] [] dc2baabe-f5cb-4965-b268-06ba2c2e5883.16368c8d-f74f-4219-9469-6174f34d95fc: Performing command: replace {} [15:47:56.375 DBG] [] Got Error {"ExceptionNumber": 31, "CausingErrorClass": "FailDocNotFound", "AutoRollbackAttempt": true, "RetryTransaction": false, "Cause": {"Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152", "$type": "DocumentNotFoundException"}, "FinalErrorToRaise": "TransactionFailed", "Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions.FitPerformer", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 156\n--- End of stack trace from previous location ---\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410", "$type": "TransactionOperationFailedException"}, but anything allowed so not failing the test. doNotPropagateError=False {} [15:47:56.376 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:56.376 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:56.537 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676588793856) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:56.537 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-419-#c3 (attempt=16368c8d-f74f-4219-9469-6174f34d95fc) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:56.537 DBG] [Couchbase.Transactions.AttemptContext] [16368c8d-f74f-4219-9469-6174f34d95fc] rolling back staged replace or remove for default::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:56.701 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Remove for bcab15eb-0c2c-4d77-9963-3de660e8ef0c {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:56.864 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676918243328) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:56.864 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-419-#c3 (attempt=16368c8d-f74f-4219-9469-6174f34d95fc) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:56.864 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed) {} [15:47:56.864 INF] [ExecuteApplicationLambda] Attempt 16368c8d-f74f-4219-9469-6174f34d95fc completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:56.865 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152 -----------------------Context Info--------------------------- {} [15:47:56.865 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:56.03] [Debug] GetWithMav for \u003cud\u003ebcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e, attemptId=16368c8d-f74f-4219-9469-6174f34d95fc, postCas=1707493675873468416", "[2024-02-09 15:47:56.03] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e, attempt=16368c8d-f74f-4219-9469-6174f34d95fc", "[2024-02-09 15:47:56.03] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e, attempt=16368c8d-f74f-4219-9469-6174f34d95fc", "[2024-02-09 15:47:56.03] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:56.20] [Information] Upserted ATR to PENDING _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676255543296)", "[2024-02-09 15:47:56.20] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-419-#c3\u003c/ud\u003e (attempt=16368c8d-f74f-4219-9469-6174f34d95fc)", "[2024-02-09 15:47:56.36] [Debug] CreateStagedRemove for \u003cud\u003ebcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e, attemptId=16368c8d-f74f-4219-9469-6174f34d95fc, preCas=1707493675873468416, postCas=1707493676419645440", "[2024-02-09 15:47:56.37] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:56.37] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:56.53] [Debug] Updated to ABORTED ATR _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676588793856)", "[2024-02-09 15:47:56.53] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-419-#c3\u003c/ud\u003e (attempt=16368c8d-f74f-4219-9469-6174f34d95fc)", "[2024-02-09 15:47:56.53] [Debug] [16368c8d-f74f-4219-9469-6174f34d95fc] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::bcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e", "[2024-02-09 15:47:56.70] [Debug] Rolled back staged Remove for \u003cud\u003ebcab15eb-0c2c-4d77-9963-3de660e8ef0c\u003c/ud\u003e", "[2024-02-09 15:47:56.86] [Debug] Removed ATR _txn:atr-419-#c3/attempts.16368c8d-f74f-4219-9469-6174f34d95fc (cas = 1707493676918243328)", "[2024-02-09 15:47:56.86] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-419-#c3\u003c/ud\u003e (attempt=16368c8d-f74f-4219-9469-6174f34d95fc)", "[2024-02-09 15:47:56.86] [Debug] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:56.86] [Information] Attempt 16368c8d-f74f-4219-9469-6174f34d95fc completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "dc2baabe-f5cb-4965-b268-06ba2c2e5883", "exceptionCause": "DocumentNotFoundException" }, unstagingComplete = False {} [15:47:56.866 INF] [] : Transaction has finished, completing stream and ending thread {} [15:47:57.875 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:47:57.875 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:47:57.875 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:47:57.875 DBG] [] : Done with background tasks {} [15:47:57.875 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:47:58.277 DBG] [] transactionStream: requestStream {} [15:47:58.277 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:47:58.277 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0" }, "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:58.277 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:47:58.277 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:47:58.277 DBG] [] : Create Task enqueued {} [15:47:58.278 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0" }, "expectedResult": [ { "success": true } ] } }, { "replace": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0" }, "contentJson": "{\"content\":\"updated_again\"}", "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:47:58.278 INF] [] : Created, waiting until told to start {} [15:47:58.329 DBG] [] : MoveNext took 51ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:47:58.329 DBG] [] : Request: { "start": { } } {} [15:47:58.329 DBG] [] : Start triggered: { } {} [15:47:58.329 DBG] [] : END: { "start": { } } {} [15:47:58.330 INF] [] : Starting {} [15:47:58.330 DBG] [] Starting Attempt 0 {} [15:47:58.330 DBG] [] Performing TransactionCommand Remove {} [15:47:58.330 DBG] [] d84826d4-3225-4648-a1f7-d77f10497ee2.c23ae570-2edd-47c8-8ee1-022adc2ceab6: Performing command: remove {} [15:47:58.491 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0, attemptId=c23ae570-2edd-47c8-8ee1-022adc2ceab6, postCas=1707493678331461632 {"Scope": ["GetWithKv", "GetWithMav"]} [15:47:58.492 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0, attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:58.492 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0, attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:47:58.492 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:47:58.654 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493678707376128) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:47:58.654 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-431-#1cb (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:47:58.813 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0, attemptId=c23ae570-2edd-47c8-8ee1-022adc2ceab6, preCas=1707493678331461632, postCas=1707493678866366464 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:47:58.813 DBG] [] d84826d4-3225-4648-a1f7-d77f10497ee2.c23ae570-2edd-47c8-8ee1-022adc2ceab6: Command Succeeded {} [15:47:58.813 DBG] [] Performing TransactionCommand Replace {} [15:47:58.813 DBG] [] d84826d4-3225-4648-a1f7-d77f10497ee2.c23ae570-2edd-47c8-8ee1-022adc2ceab6: Performing command: replace {} [15:47:58.816 DBG] [] Got Error {"ExceptionNumber": 32, "CausingErrorClass": "FailDocNotFound", "AutoRollbackAttempt": true, "RetryTransaction": false, "Cause": {"Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152", "$type": "DocumentNotFoundException"}, "FinalErrorToRaise": "TransactionFailed", "Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions.FitPerformer", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 156\n--- End of stack trace from previous location ---\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410", "$type": "TransactionOperationFailedException"}, but anything allowed so not failing the test. doNotPropagateError=False {} [15:47:58.817 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:47:58.817 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:58.976 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493679030206464) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:47:58.976 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-431-#1cb (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:47:58.976 DBG] [Couchbase.Transactions.AttemptContext] [c23ae570-2edd-47c8-8ee1-022adc2ceab6] rolling back staged replace or remove for default::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:59.145 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Remove for 0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:47:59.320 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493679372959744) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:47:59.320 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-431-#1cb (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:47:59.320 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed) {} [15:47:59.320 INF] [ExecuteApplicationLambda] Attempt c23ae570-2edd-47c8-8ee1-022adc2ceab6 completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:47:59.321 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_2.<b__1>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 152 -----------------------Context Info--------------------------- {} [15:47:59.321 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:47:58.49] [Debug] GetWithMav for \u003cud\u003e0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e, attemptId=c23ae570-2edd-47c8-8ee1-022adc2ceab6, postCas=1707493678331461632", "[2024-02-09 15:47:58.49] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e, attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6", "[2024-02-09 15:47:58.49] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e, attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6", "[2024-02-09 15:47:58.49] [Debug] Requested Durability = Majority", "[2024-02-09 15:47:58.65] [Information] Upserted ATR to PENDING _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493678707376128)", "[2024-02-09 15:47:58.65] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-431-#1cb\u003c/ud\u003e (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6)", "[2024-02-09 15:47:58.81] [Debug] CreateStagedRemove for \u003cud\u003e0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e, attemptId=c23ae570-2edd-47c8-8ee1-022adc2ceab6, preCas=1707493678331461632, postCas=1707493678866366464", "[2024-02-09 15:47:58.81] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:47:58.81] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:47:58.97] [Debug] Updated to ABORTED ATR _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493679030206464)", "[2024-02-09 15:47:58.97] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-431-#1cb\u003c/ud\u003e (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6)", "[2024-02-09 15:47:58.97] [Debug] [c23ae570-2edd-47c8-8ee1-022adc2ceab6] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e", "[2024-02-09 15:47:59.14] [Debug] Rolled back staged Remove for \u003cud\u003e0fdf6a7d-2154-4dd5-aac1-6851bb64e2e0\u003c/ud\u003e", "[2024-02-09 15:47:59.32] [Debug] Removed ATR _txn:atr-431-#1cb/attempts.c23ae570-2edd-47c8-8ee1-022adc2ceab6 (cas = 1707493679372959744)", "[2024-02-09 15:47:59.32] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-431-#1cb\u003c/ud\u003e (attempt=c23ae570-2edd-47c8-8ee1-022adc2ceab6)", "[2024-02-09 15:47:59.32] [Debug] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:47:59.32] [Information] Attempt c23ae570-2edd-47c8-8ee1-022adc2ceab6 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "d84826d4-3225-4648-a1f7-d77f10497ee2", "exceptionCause": "DocumentNotFoundException" }, unstagingComplete = False {} [15:47:59.321 INF] [] : Transaction has finished, completing stream and ending thread {} [15:48:00.330 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=True, allFinished=True {} [15:48:00.330 DBG] [] : Done with requestStream. (moveNext = False, cancelled=True} {} [15:48:00.330 DBG] [] : Done with background tasks {} [15:48:00.330 DBG] [] : Reached end of transactionStream with cancellation=True, status=Status(StatusCode="OK", Detail="") {} [15:48:00.870 DBG] [] transactionStream: requestStream {} [15:48:00.870 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:48:00.870 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "257780f2-58de-4e33-965c-a75e75368ef1" }, "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "257780f2-58de-4e33-965c-a75e75368ef1" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:48:00.870 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:48:00.870 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:48:00.871 DBG] [] : Create Task enqueued {} [15:48:00.871 INF] [] : Created, waiting until told to start {} [15:48:00.871 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "257780f2-58de-4e33-965c-a75e75368ef1" }, "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "257780f2-58de-4e33-965c-a75e75368ef1" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { "hook": [ { "hookPoint": "AFTER_ATR_COMMIT" } ] }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:48:00.925 DBG] [] : MoveNext took 53ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:48:00.925 DBG] [] : Request: { "start": { } } {} [15:48:00.925 DBG] [] : Start triggered: { } {} [15:48:00.925 DBG] [] : END: { "start": { } } {} [15:48:00.926 INF] [] : Starting {} [15:48:00.926 DBG] [] Starting Attempt 0 {} [15:48:00.926 DBG] [] Performing TransactionCommand Remove {} [15:48:00.926 DBG] [] 68dc948f-5356-4558-b47e-56eeef48f5a5.b6d15ee4-1d1d-49be-a302-4f43972e9116: Performing command: remove {} [15:48:01.088 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 257780f2-58de-4e33-965c-a75e75368ef1, attemptId=b6d15ee4-1d1d-49be-a302-4f43972e9116, postCas=1707493680926097408 {"Scope": ["GetWithKv", "GetWithMav"]} [15:48:01.089 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1, attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:48:01.089 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1, attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116 {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:48:01.089 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:48:01.248 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681302274048) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:48:01.248 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-675-#12b3 (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:48:01.418 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 257780f2-58de-4e33-965c-a75e75368ef1, attemptId=b6d15ee4-1d1d-49be-a302-4f43972e9116, preCas=1707493680926097408, postCas=1707493681470832640 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:48:01.419 DBG] [] 68dc948f-5356-4558-b47e-56eeef48f5a5.b6d15ee4-1d1d-49be-a302-4f43972e9116: Command Succeeded {} [15:48:01.419 DBG] [] Performing TransactionCommand Remove {} [15:48:01.419 DBG] [] 68dc948f-5356-4558-b47e-56eeef48f5a5.b6d15ee4-1d1d-49be-a302-4f43972e9116: Performing command: remove {} [15:48:01.420 DBG] [] Got Error {"ExceptionNumber": 33, "CausingErrorClass": "FailDocNotFound", "AutoRollbackAttempt": true, "RetryTransaction": false, "Cause": {"Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177", "$type": "DocumentNotFoundException"}, "FinalErrorToRaise": "TransactionFailed", "Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions.FitPerformer", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 183\n--- End of stack trace from previous location ---\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410", "$type": "TransactionOperationFailedException"}, but anything allowed so not failing the test. doNotPropagateError=False {} [15:48:01.420 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:48:01.420 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:48:01.585 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681638014976) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:48:01.585 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-675-#12b3 (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:48:01.585 DBG] [Couchbase.Transactions.AttemptContext] [b6d15ee4-1d1d-49be-a302-4f43972e9116] rolling back staged replace or remove for default::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:48:01.746 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Remove for 257780f2-58de-4e33-965c-a75e75368ef1 {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:48:01.909 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681961762816) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:48:01.909 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-675-#12b3 (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:48:01.909 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed) {} [15:48:01.909 INF] [ExecuteApplicationLambda] Attempt b6d15ee4-1d1d-49be-a302-4f43972e9116 completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:48:01.910 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177 -----------------------Context Info--------------------------- {} [15:48:01.910 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:48:01.08] [Debug] GetWithMav for \u003cud\u003e257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e, attemptId=b6d15ee4-1d1d-49be-a302-4f43972e9116, postCas=1707493680926097408", "[2024-02-09 15:48:01.08] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e, attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116", "[2024-02-09 15:48:01.08] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e, attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116", "[2024-02-09 15:48:01.08] [Debug] Requested Durability = Majority", "[2024-02-09 15:48:01.24] [Information] Upserted ATR to PENDING _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681302274048)", "[2024-02-09 15:48:01.24] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-675-#12b3\u003c/ud\u003e (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116)", "[2024-02-09 15:48:01.41] [Debug] CreateStagedRemove for \u003cud\u003e257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e, attemptId=b6d15ee4-1d1d-49be-a302-4f43972e9116, preCas=1707493680926097408, postCas=1707493681470832640", "[2024-02-09 15:48:01.42] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:48:01.42] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:48:01.58] [Debug] Updated to ABORTED ATR _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681638014976)", "[2024-02-09 15:48:01.58] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-675-#12b3\u003c/ud\u003e (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116)", "[2024-02-09 15:48:01.58] [Debug] [b6d15ee4-1d1d-49be-a302-4f43972e9116] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e", "[2024-02-09 15:48:01.74] [Debug] Rolled back staged Remove for \u003cud\u003e257780f2-58de-4e33-965c-a75e75368ef1\u003c/ud\u003e", "[2024-02-09 15:48:01.90] [Debug] Removed ATR _txn:atr-675-#12b3/attempts.b6d15ee4-1d1d-49be-a302-4f43972e9116 (cas = 1707493681961762816)", "[2024-02-09 15:48:01.90] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-675-#12b3\u003c/ud\u003e (attempt=b6d15ee4-1d1d-49be-a302-4f43972e9116)", "[2024-02-09 15:48:01.90] [Debug] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:48:01.91] [Information] Attempt b6d15ee4-1d1d-49be-a302-4f43972e9116 completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "68dc948f-5356-4558-b47e-56eeef48f5a5", "exceptionCause": "DocumentNotFoundException" }, unstagingComplete = False {} [15:48:01.911 INF] [] : Transaction has finished, completing stream and ending thread {} [15:48:02.926 DBG] [] : MoveNext took 2001ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:48:02.927 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:48:02.927 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:48:02.927 DBG] [] : Done with background tasks {} [15:48:02.927 DBG] [] : Reached end of transactionStream with cancellation=False, status=Status(StatusCode="OK", Detail="") {} [15:48:03.462 DBG] [] transactionStream: requestStream {} [15:48:03.462 DBG] [] transactionStream: Grpc.Core.DefaultServerCallContext {} [15:48:03.462 DBG] [] NotSetRequest: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "56b98be3-55ee-4f35-bd16-b53099cbb44e" }, "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "56b98be3-55ee-4f35-bd16-b53099cbb44e" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:48:03.462 DBG] [] clusterConnectionId:defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e {} [15:48:03.462 DBG] [] Using custom connection at host : couchbase://172.23.111.133 and with username Administrator {} [15:48:03.462 DBG] [] : Create Task enqueued {} [15:48:03.463 INF] [] : Created, waiting until told to start {} [15:48:03.463 DBG] [] : END: { "create": { "transactionsFactoryRef": "eabe2729-5ba4-4803-8407-061a0958a8c2", "attempts": [ { "commands": [ { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "56b98be3-55ee-4f35-bd16-b53099cbb44e" }, "expectedResult": [ { "success": true } ] } }, { "remove": { "docId": { "bucketName": "default", "scopeName": "_default", "collectionName": "_default", "docId": "56b98be3-55ee-4f35-bd16-b53099cbb44e" }, "expectedResult": [ { "anythingAllowed": true } ] } }, { "setLatch": { "latchName": "beforeExecutingDriverCode" } }, { "waitOnLatch": { "latchName": "afterExecutingDriverCode" } }, { "commit": { "expectedResult": [ { "anythingAllowed": true } ] } } ] } ], "options": { }, "latches": [ { "initialCount": 1, "name": "beforeExecutingDriverCode" }, { "initialCount": 1, "name": "afterExecutingDriverCode" } ], "clusterConnectionId": "defaultClusterConnection_71d3074a-a93f-4c28-810e-29f7024dde7e" } } {} [15:48:03.515 DBG] [] : MoveNext took 52ms with MoveNext=True, context.IsCancelled=False, allFinished=False {} [15:48:03.516 DBG] [] : Request: { "start": { } } {} [15:48:03.516 DBG] [] : Start triggered: { } {} [15:48:03.516 DBG] [] : END: { "start": { } } {} [15:48:03.516 INF] [] : Starting {} [15:48:03.516 DBG] [] Starting Attempt 0 {} [15:48:03.516 DBG] [] Performing TransactionCommand Remove {} [15:48:03.516 DBG] [] 68ed3801-ae0b-4fe0-bb14-64eb8844f58d.85fb9512-333e-4da9-b219-7e9707c2c5ab: Performing command: remove {} [15:48:03.673 DBG] [Couchbase.Transactions.AttemptContext] GetWithMav for 56b98be3-55ee-4f35-bd16-b53099cbb44e, attemptId=85fb9512-333e-4da9-b219-7e9707c2c5ab, postCas=1707493683516801024 {"Scope": ["GetWithKv", "GetWithMav"]} [15:48:03.673 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict@WW_RM for default::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e, attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:48:03.673 DBG] [Couchbase.Transactions.AttemptContext] CheckWriteWriteConflict no other txn for default::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e, attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab {"Scope": ["RemoveWithKv", "CheckWriteWriteConflict"]} [15:48:03.673 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Requested Durability = Majority {"Scope": ["RemoveWithKv", "InitAtrIfNeeded"]} [15:48:03.836 INF] [Couchbase.Transactions.DataAccess.AtrRepository] Upserted ATR to PENDING _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493683889307648) {"Scope": ["RemoveWithKv", "SetAtrPending", "MutateAtrPending"]} [15:48:03.836 DBG] [Couchbase.Transactions.AttemptContext] SetAtrPending for default._default._default::_txn:atr-994-#9f (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab) {"Scope": ["RemoveWithKv", "SetAtrPending"]} [15:48:03.997 DBG] [Couchbase.Transactions.AttemptContext] CreateStagedRemove for 56b98be3-55ee-4f35-bd16-b53099cbb44e, attemptId=85fb9512-333e-4da9-b219-7e9707c2c5ab, preCas=1707493683516801024, postCas=1707493684052230144 {"Scope": ["RemoveWithKv", "CreateStagedRemove"]} [15:48:03.997 DBG] [] 68ed3801-ae0b-4fe0-bb14-64eb8844f58d.85fb9512-333e-4da9-b219-7e9707c2c5ab: Command Succeeded {} [15:48:03.997 DBG] [] Performing TransactionCommand Remove {} [15:48:03.997 DBG] [] 68ed3801-ae0b-4fe0-bb14-64eb8844f58d.85fb9512-333e-4da9-b219-7e9707c2c5ab: Performing command: remove {} [15:48:03.998 DBG] [] Got Error {"ExceptionNumber": 34, "CausingErrorClass": "FailDocNotFound", "AutoRollbackAttempt": true, "RetryTransaction": false, "Cause": {"Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177", "$type": "DocumentNotFoundException"}, "FinalErrorToRaise": "TransactionFailed", "Context": null, "TargetSite": "Void MoveNext()", "Message": "Exception of type 'Couchbase.Transactions.Error.External.TransactionOperationFailedException' was thrown.", "Data": [], "InnerException": null, "HelpLink": null, "Source": "Couchbase.Transactions.FitPerformer", "HResult": -2146233088, "StackTrace": " at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 183\n--- End of stack trace from previous location ---\n at Couchbase.Transactions.FitPerformer.TwoWayTransaction.PerformOperation(String testName, String opDebug, AttemptContext ctx, Boolean doNotPropagateError, ICollection`1 expectedResults, Func`1 op) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 410", "$type": "TransactionOperationFailedException"}, but anything allowed so not failing the test. doNotPropagateError=False {} [15:48:03.998 WRN] [ExecuteApplicationLambda] Attempt failed, attempting automatic rollback... {} [15:48:03.998 INF] [Couchbase.Transactions.AttemptContext] Setting Aborted status. isAppRollback=False {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:48:04.160 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Updated to ABORTED ATR _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493684214693888) {"Scope": ["RollbackWithKv", "SetAtrAborted", "MutateAtrAborted"]} [15:48:04.160 DBG] [Couchbase.Transactions.AttemptContext] SetAtrAborted for default._default._default::_txn:atr-994-#9f (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab) {"Scope": ["RollbackWithKv", "SetAtrAborted"]} [15:48:04.160 DBG] [Couchbase.Transactions.AttemptContext] [85fb9512-333e-4da9-b219-7e9707c2c5ab] rolling back staged replace or remove for default::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:48:04.322 DBG] [Couchbase.Transactions.AttemptContext] Rolled back staged Remove for 56b98be3-55ee-4f35-bd16-b53099cbb44e {"Scope": ["RollbackWithKv", "RollbackStagedReplaceOrRemove"]} [15:48:04.483 DBG] [Couchbase.Transactions.DataAccess.AtrRepository] Removed ATR _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493684538048512) {"Scope": ["RollbackWithKv", "SetAtrRolledBack", "MutateAtrRolledBack"]} [15:48:04.483 DBG] [Couchbase.Transactions.AttemptContext] SetAtrRolledBack for default._default._default::_txn:atr-994-#9f (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab) {"Scope": ["RollbackWithKv", "SetAtrRolledBack"]} [15:48:04.483 DBG] [ExecuteApplicationLambda] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed) {} [15:48:04.483 INF] [ExecuteApplicationLambda] Attempt 85fb9512-333e-4da9-b219-7e9707c2c5ab completed. CleanupClient=False, LostCleanup=False {} Transaction Failed with: Couchbase.Transactions.Error.TransactionFailedException: Transaction failed. ---> Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177 -----------------------Context Info--------------------------- --- End of inner exception stack trace --- at Couchbase.Transactions.Transactions.RunAsync(Func`2 transactionLogic, PerTransactionConfig perConfig, Boolean singleQueryTransactionMode) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/Transactions.cs:line 229 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.Run(Transactions transactions, TransactionCreateRequest request, ClusterConnection connection, IServerStreamWriter`1 responseStream) in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 68 -----------------------Context Info--------------------------- [15:48:04.484 DBG] [] UNKNOWN due to Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException: Exception of type 'Couchbase.Core.Exceptions.KeyValue.DocumentNotFoundException' was thrown. at Couchbase.Transactions.AttemptContext.GetAsync(ICouchbaseCollection collection, String id) in /app/transactions-fit-performer/performers/dotnet/couchbase-net-client/src/Couchbase.Transactions/AttemptContext.cs:line 136 at Couchbase.Transactions.FitPerformer.TwoWayTransaction.<>c__DisplayClass7_3.<b__2>d.MoveNext() in /app/transactions-fit-performer/performers/dotnet/Couchbase.Transactions.FitPerformer/TwoWayTransaction.cs:line 177 -----------------------Context Info--------------------------- {} [15:48:04.484 DBG] [] : TwoWay.Run completed. Writing FinalResult: { "exception": "EXCEPTION_FAILED", "log": [ "[2024-02-09 15:48:03.67] [Debug] GetWithMav for \u003cud\u003e56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e, attemptId=85fb9512-333e-4da9-b219-7e9707c2c5ab, postCas=1707493683516801024", "[2024-02-09 15:48:03.67] [Debug] CheckWriteWriteConflict@WW_RM for \u003cud\u003edefault::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e, attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab", "[2024-02-09 15:48:03.67] [Debug] CheckWriteWriteConflict no other txn for \u003cud\u003edefault::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e, attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab", "[2024-02-09 15:48:03.67] [Debug] Requested Durability = Majority", "[2024-02-09 15:48:03.83] [Information] Upserted ATR to PENDING _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493683889307648)", "[2024-02-09 15:48:03.83] [Debug] SetAtrPending for \u003cud\u003edefault._default._default::_txn:atr-994-#9f\u003c/ud\u003e (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab)", "[2024-02-09 15:48:03.99] [Debug] CreateStagedRemove for \u003cud\u003e56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e, attemptId=85fb9512-333e-4da9-b219-7e9707c2c5ab, preCas=1707493683516801024, postCas=1707493684052230144", "[2024-02-09 15:48:03.99] [Warning] Attempt failed, attempting automatic rollback...", "[2024-02-09 15:48:03.99] [Information] Setting Aborted status. isAppRollback=False", "[2024-02-09 15:48:04.16] [Debug] Updated to ABORTED ATR _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493684214693888)", "[2024-02-09 15:48:04.16] [Debug] SetAtrAborted for \u003cud\u003edefault._default._default::_txn:atr-994-#9f\u003c/ud\u003e (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab)", "[2024-02-09 15:48:04.16] [Debug] [85fb9512-333e-4da9-b219-7e9707c2c5ab] rolling back staged replace or remove for \u003cud\u003edefault::_default::_default::56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e", "[2024-02-09 15:48:04.32] [Debug] Rolled back staged Remove for \u003cud\u003e56b98be3-55ee-4f35-bd16-b53099cbb44e\u003c/ud\u003e", "[2024-02-09 15:48:04.48] [Debug] Removed ATR _txn:atr-994-#9f/attempts.85fb9512-333e-4da9-b219-7e9707c2c5ab (cas = 1707493684538048512)", "[2024-02-09 15:48:04.48] [Debug] SetAtrRolledBack for \u003cud\u003edefault._default._default::_txn:atr-994-#9f\u003c/ud\u003e (attempt=85fb9512-333e-4da9-b219-7e9707c2c5ab)", "[2024-02-09 15:48:04.48] [Debug] Propagating error up. (ec = FailDocNotFound, retry = False, finalError = TransactionFailed)", "[2024-02-09 15:48:04.48] [Information] Attempt 85fb9512-333e-4da9-b219-7e9707c2c5ab completed. CleanupClient=False, LostCleanup=False" ], "transactionId": "68ed3801-ae0b-4fe0-bb14-64eb8844f58d", "exceptionCause": "DocumentNotFoundException" }, unstagingComplete = False {} [15:48:04.485 INF] [] : Transaction has finished, completing stream and ending thread {} [15:48:05.516 DBG] [] : MoveNext took 2000ms with MoveNext=False, context.IsCancelled=False, allFinished=True {} [15:48:05.516 DBG] [] {req}Iteration ended successfully before context was cancelled. {} [15:48:05.516 DBG] [] : Done with requestStream. (moveNext = False, cancelled=False} {} [15:48:05.516 DBG] [] : Done with background tasks {} [15:48:05.516 DBG] [] : Reached end of transactionStream with cancellation=False, status=Status(StatusCode="OK", Detail="") {} [15:48:05.867 INF] [] ======== java.util.stream.Stream com.couchbase.transactions.SameDocTwiceTest.allPermutations():allPermutations(): testEnd ======= {} [15:48:05.875 INF] [] ======== Test file: End ======= {}