Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2264

Intermittent failure of MongoDbConnectorIT.shouldConsumeTransaction

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 1.2.1.Final
    • None
    • mongodb-connector
    • None

    Description

      Error Message
      
      Unable to connect to primary after 3 errors trying to storing documents: com.mongodb.MongoCommandException: Command failed with error 24 (LockTimeout): 'Unable to acquire lock '{8276363597614759335: Database, 1358834569973677479}' within a max lock request timeout of '5ms' milliseconds.' on server localhost:27017. The full response is {"errorLabels": ["TransientTransactionError"], "operationTime": {"$timestamp": {"t": 1592886113, "i": 2}}, "ok": 0.0, "errmsg": "Unable to acquire lock '{8276363597614759335: Database, 1358834569973677479}' within a max lock request timeout of '5ms' milliseconds.", "code": 24, "codeName": "LockTimeout", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1592886113, "i": 2}}, "signature": {"hash": {"$binary": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "$type": "00"}, "keyId": {"$numberLong": "0"}}}}
      
      Stacktrace
      
      java.lang.AssertionError: Unable to connect to primary after 3 errors trying to storing documents: com.mongodb.MongoCommandException: Command failed with error 24 (LockTimeout): 'Unable to acquire lock '{8276363597614759335: Database, 1358834569973677479}' within a max lock request timeout of '5ms' milliseconds.' on server localhost:27017. The full response is {"errorLabels": ["TransientTransactionError"], "operationTime": {"$timestamp": {"t": 1592886113, "i": 2}}, "ok": 0.0, "errmsg": "Unable to acquire lock '{8276363597614759335: Database, 1358834569973677479}' within a max lock request timeout of '5ms' milliseconds.", "code": 24, "codeName": "LockTimeout", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1592886113, "i": 2}}, "signature": {"hash": {"$binary": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "$type": "00"}, "keyId": {"$numberLong": "0"}}}}
      	at io.debezium.connector.mongodb.MongoDbConnectorIT.lambda$connectionErrorHandler$36(MongoDbConnectorIT.java:1068)
      	at io.debezium.connector.mongodb.MongoDbConnectorIT.storeDocumentsInTx(MongoDbConnectorIT.java:1021)
      	at io.debezium.connector.mongodb.MongoDbConnectorIT.shouldConsumeTransaction(MongoDbConnectorIT.java:765) 

      Attachments

        Activity

          People

            ccranfor@redhat.com Chris Cranford
            jpechane Jiri Pechanec
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: