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

Fix checkLog race in salvage_incomplete_rolling_index_builds.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.7, 5.0.0-rc1, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v5.0, v4.4
    • Execution Team 2021-05-31
    • 35

      The test looks for log number 3856203 which can appear 1-2 times, depending on the interleaving of the first index created. If 3856203 happens to print during the first index build, we might not have a drain phase on the second index build based on how the test is set up. To fix this, we should just avoid building the first index as it doesn't have any significance in this test scenario.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: