Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-57227

Relax retry assertions in txn_override_causal_consistency.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • ALL
    • Sharding 2021-09-20, Sharding 2021-10-04, Sharding 2021-10-18, Sharding 2021-11-01, Sharding 2021-11-15
    • 0

    Description

      txn_override_causal_consistency.js verifies that commands run by the network_error_and_txn_override.js logic only includes afterClusterTime when the client's session enabled causal consistency. The test requires each test case to declare if it expects retries on transient errors and will fail if retries occur unexpectedly. Transient errors can be triggered by unrelated background activity (e.g. an automatically created index triggering SnapshotUnavailable errors), so instead the test should allow retries in all cases, since this doesn't affect its intended coverage.

      Attachments

        Activity

          People

            israel.hsu@mongodb.com Israel Hsu
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: