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

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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
    • 0
    • 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@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: