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

SessionCatalogMigrationDestinationTest with calls to returnOplog & insertDocWithSessionInfo can be executed in undeterministic ordering

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc1
    • None
    • None
    • Sharding
    • Fully Compatible
    • ALL
    • 0

    Description

      And causing the test to fail since the was expecting a certain order to happen. An easy fix to make it more deterministic is to just call returnOplog({}) to make sure that the session migrate thread has already processed the older oplog before calling insertDocWithSessionInfo.

      Attachments

        Activity

          People

            backlog-server-sharding Backlog - Sharding Team
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: