Wait for replication before attempting to step up a secondary in add_and_remove_shard_serializes_with_ddl.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-04-28
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-97828, a new test case was added to this test in which a secondary was stepped up during the removeShard. In the failing instance of this test, the secondary we chose to step up was not caught up and so failed to be elected. We can fix this by waiting for replication before we step up the secondary to ensure that it is electable.

            Assignee:
            Allison Easton
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: