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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding
    • Fully Compatible
    • ALL
    • 0

      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.

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: