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

[v6.0] Fix race condition in range_deletions_setFCV.js causing the test to hang

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.20
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-12-09
    • 200

      SERVER-94869 recently refactored the range_deletions_setFCV.js to introduce a new set of test cases. This new version is nevertheless exposed to potential data races due to the de/activation of failpoints from the test to control the execution of range deletions VS the evaluation of the state of the failpoint from the server, which occurs between the end of a test case and the beginning of the following one.

      The problem can be easily solved by adding a cleanupOrphaned command as part of the teardown of each test case.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: