Fix internal_transactions_sharded_from_mongod.js's handling of causal consistency across sessions

XMLWordPrintableJSON

    • Server Security
    • Fully Compatible
    • v8.0, v7.0
    • Security 2024-06-24, Security 2024-07-22, Security 2024-08-05
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      internal_transactions_sharded_from_mongod.js uses different sessions within the same FSM thread, and its logic requires read-your-own-writes guarantees even across different sessions.
      The way the test implements is flawed and does not conform to the specifications.

      Therefore, verifyDocuments should use a causal consistent session and call 'advanceClusterTime(max cluster time of this.sessions)' and advanceOperationTime(max operation time of this.sessions). The bumpClusterTime should then be removed altogether.

              Assignee:
              Niaz Pavel (Inactive)
              Reporter:
              Jordi Serra Torrens
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: