Create new error for remove shard draining in progress during commit

XMLWordPrintableJSON

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

      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
            Reporter:
            Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: