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

Ensure causal consistency between read_committed test operations

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 7.0.13, 8.0.0-rc17
    • Affects Version/s: 7.0.0, 8.0.0-rc0, 8.1.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • CAR Team 2024-08-05, CAR Team 2024-08-19
    • 200

      The jstests/libs/read_committed_lib.js and jstests/sharding/read_committed_lookup.js tests run operations using Database objects associated to two different Mongo objects:

      As a consequence, some operations that are expected to be causally consistent are concurrent in logical time and fail to produce the expected results. In particular, the operations introduced by SERVER-91703 are concurrent with other operations and the test can still fail under the config server stepdown test suites.

      Ensure causal consistency by using the same session for all operations (i.e. use db everywhere).

            Assignee:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: