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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Pavithra Vetriselvan
            Reporter:
            pavithra.vetriselvan@mongodb.com Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: