A router can target a CSRS secondary while retrying a command

XMLWordPrintableJSON

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

      In https://jira.mongodb.org/browse/BF-41997 we have the case of a CSRS Primary which fails a retryable command (setFCV) due to a step-down request. If the router is quick enough to retry the command before it completes the transition, it can get get into a window where the node is still transitioning.

      The node will accept the request, and complete the request. Because of this, the call to waitForCoordinatorsofGivenOfcvToComplete (called by the Config Server as part of the Shard Protocol) will never complete.

            Assignee:
            Marco Bizzarri
            Reporter:
            Marco Bizzarri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: