Fix the status assertions on topology commands

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-01-05
    • 200
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      The following commands:

      • src/mongo/db/topology/cluster_start_shard_draining_cmd.cpp
      • src/mongo/db/topology/cluster_start_transition_to_dedicated_config_server_cmd.cpp
      • src/mongo/db/topology/cluster_stop_shard_draining_cmd.cpp

      Assert that the status of the command is successful, without asserting that the request had succeeded in the first place. This ticket is to prepend the following to the existing uassert:

      uassertStatusOK(cmdResponseWithStatus)
      

            Assignee:
            Josef Ahmad
            Reporter:
            Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: