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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Sharding NYC
    • 5

    Description

      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.

      Attachments

        Activity

          People

            cheahuychou.mao@mongodb.com Cheahuychou Mao
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: