Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-4515

Investigate sporadic failures of MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Unknown Unknown
    • None
    • None
    • None
    • None

    Description

      MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction failed in this task with the following error:

      [2022/03/03 21:21:15.298] FAILURE: Expected no exception to be thrown, but got 'com.mongodb.MongoCommandException' (org.spockframework.runtime.UnallowedExceptionThrownError)
      ...
      [2022/03/03 21:21:15.298] Caused by: com.mongodb.MongoCommandException: Command failed with error 246 (SnapshotUnavailable): 'Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1646342452, 0). Collection minimum is Timestamp(1646342452, 2)' on server localhost:27018. The full response is {"errorLabels": ["TransientTransactionError"], "ok": 0.0, "errmsg": "Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1646342452, 0). Collection minimum is Timestamp(1646342452, 2)", "code": 246, "codeName": "SnapshotUnavailable", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1646342452, "i": 3}}, "signature": {"hash": {"$binary": {"base64": "7dBd9uzkxPzKkb4CkVRMjQP3iFw=", "subType": "00"}}, "keyId": 7070982818943205380}}, "operationTime": {"$timestamp": {"t": 1646342452, "i": 3}}}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            valentin.kovalenko@mongodb.com Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: