Wait for initial sync to complete during rolling restarts in `replica_set_promotion_demotion.js`

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-07-06
    • 200
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-125964 initial syncs now perform a wait for their sync source to have a checkpoint timestamp. If we end up restarting both secondaries during a rolling restart and have them enter initial sync they will never make progress because the primary cannot advance due to lacking a majority quorum.

      We need to apply the same fix as SERVER-128503 for `jstests/sharding/replica_set_promotion_demotion.js`.

            Assignee:
            Pol Pinol
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: