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

Wait for stepdown to finish before continuing index build in index_build_unregisters_after_stepdown.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.0-rc3, 7.0.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.3, v7.2, v7.0
    • Execution Team 2024-02-05
    • 5

      In index_build_unregisters_after_stepdown.js, we force a stepdown and quickly attempt to run createIndex after. If the shell has not been updated with the new topology info with the new primary, we may run into a "NotWritablePrimary" error.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: