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

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • 5

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

              Created:
              Updated: