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

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

    • Server Security
    • Fully Compatible
    • Security 2024-06-24, Security 2024-07-22, Security 2024-08-05
    • 200

      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@mongodb.com Niaz Pavel
            Reporter:
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: