0

mongodb已经配置了:maxTransactionLockRequestTimeoutMillis 3000,  transactionLifetimeLimitSeconds 60

Command failed with error 112 (WriteConflict): ‘WriteConflict’ on server 192.168.1.233:27020. The full response is {“errorLabels”: [“TransientTransactionError”], “ok”: 0.0, “errmsg”: “WriteConflict”, “code”: 112, “codeName”: “WriteConflict”, “operationTime”: {“$timestamp”: {“t”: 1619511098, “i”: 66}}, “$clusterTime”: {“clusterTime”: {“$timestamp”: {“t”: 1619511098, “i”: 67}}, “signature”: {“hash”: {“$binary”: “AAAAAAAAAAAAAAAAAAAAAAAAAAA=”, “$type”: “00”}, “keyId”: {“$numberLong”: “0”}}}, “recoveryToken”: {“recoveryShardId”: “shard0”}}; nested exception is com.mongodb.MongoCommandException: Command failed with error 112 (WriteConflict): ‘WriteConflict’ on server 192.168.1.233:27020. The full response is {“errorLabels”: [“TransientTransactionError”], “ok”: 0.0, “errmsg”: “WriteConflict”, “code”: 112, “codeName”: “WriteConflict”, “operationTime”: {“$timestamp”: {“t”: 1619511098, “i”: 66}}, “$clusterTime”: {“clusterTime”: {“$timestamp”: {“t”: 1619511098, “i”: 67}}, “signature”: {“hash”: {“$binary”: “AAAAAAAAAAAAAAAAAAAAAAAAAAA=”, “$type”: “00”}, “keyId”: {“$numberLong”: “0”}}}, “recoveryToken”: {“recoveryShardId”: “shard0”}}

已回答的问题