failoverToMember in the ShardingStateTest should wait for primary to be writable

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-03-17
    • 0
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      failoverToMember in the ShardingStateTest incorrectly assumes that replSet.awaitNodesAgreeOnPrimary(..) will not only wait for the nodes to agree on a primary, but also that primary would be ready for the writes. This ticket will fix the test by extending the wait for the primary to be writable.

            Assignee:
            Sulabh Mahajan
            Reporter:
            Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: