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

Resharding coordinator returns generic abort error after recovery from stepdown

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0, v7.3, v7.0, v6.0
    • Cluster Scalability 2024-4-29, Cluster Scalability 2024-5-13, Cluster Scalability 2024-5-27
    • 0

      When resharding aborts, it stores the abort reason in the coordinator document. If it steps down and restarts again, it will abort the cancel token when it sees that the state is aborting. This in turn will cause it to get callback cancelled error later (I suspect from here) and the resharding coordinator will treat it like the user aborted resharding and return the generic ReshardingAborted error code instead of the original error code.

            Assignee:
            ben.gawel@mongodb.com Ben Gawel
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: