Make resumable_index_build_drain_writes_phase_secondary.js more robust to PrimarySteppedDown errors

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-10-17, Execution Team 2022-10-31
    • 5
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Pavithra Vetriselvan
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: