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

batched_multi_deletes_failover.js hangs on stepup failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.0.0-rc6, 6.1.0-rc0
    • None
    • Fully Compatible
    • ALL
    • v6.0
    • Execution Team 2022-05-16
    • 61

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: