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

Make resumable_index_build_drain_writes_phase_secondary.js more robust to PrimarySteppedDown errors

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • Execution Team 2022-10-17, Execution Team 2022-10-31
    • 5

    Description

      There are two things we can do to improve the robustness of this test. Since it does not expect the primary to step down, we should increase the election timeout to prevent any flip flopping.

      Additionally, the index_build.js library allows InterruptedDueToReplStateChange errors on the primary while building an index and waiting for a majority. It should also allow PrimarySteppedDown errors since those result in the same behavior.

      Attachments

        Activity

          People

            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: