Investigate sporadic failures of MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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}}}
      

            Assignee:
            Unassigned
            Reporter:
            Valentin Kavalenka
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: