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

Create new error for remove shard draining in progress during commit

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-02-17

      There are some cases in which the commit coordinator fails but the removeShard command should not return an error. These cases are when the config server believes the shard to be fully drained and so establishes the commit coordinator but, after blocking migrations and DDLs, the shard is found to not actually be fully drained. In this case, though the coordinator will throw an exception, the config server command will need to handle that error and transform it into the correct status report.

      This ticket is to introduce a new error code with extra info containing the draining progress of the shard to facilitate this behavior.

            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: