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

Test cases in txn_commit_optimizations_for_read_only_shards.js are not isolated from each other

    • Cluster Scalability
    • Repl 2024-09-30, Repl 2024-10-14, Repl 2024-10-28, Repl 2024-11-11, Repl 2024-11-25
    • 0
    • 4

      Each of the test case touches different documents which in theory should not conflict with each other. However, due to SERVER-40176, it can cause new test cases to hit prepare conflict if transactions from older test cases are still alive. This jstest also sets the coordinateCommitReturnImmediatelyAfterPersistingDecision to true, which allows returning early and if combined with stop replication for certain test cases, can cause the older transaction to stay alive longer than expected. The combination SERVER-40176 and prepare transactions living longer than expected can cause spurious failures in the test.

            Assignee:
            Unassigned Unassigned
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: