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

batched_multi_deletes_failover.js hangs on stepup failures

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc6, 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-16
    • 61

      The batched_multi_deletes_failover.js might get hung if all step ups fail. This test relies on the fact that a step down aborts the operation context, which in turn cancels a sleep done by the failpoint on which this test relies. If for some reason all step ups fail and thus there is no step down, the sleep within the failpoint is never cancelled and the test gets stuck due to the huge value for sleep (1 hour) until evergreen kills the task.

      Let's also lower the number of documents in the collection so as to prevent the batchedDeleteStageSleepAfterNDocuments from failpoint from timing out on slower instances, like on debug builds.

            haley.connelly@mongodb.com Haley Connelly
            yujin.kang@mongodb.com Yujin Kang Park
            0 Vote for this issue
            4 Start watching this issue