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

Rename resharding CoordinatorStateEnum kCommitted to kDecisionPersisted and remove kRenaming

    • Fully Compatible
    • Sharding 2021-01-25

      CoordinatorStateEnum::kRenaming and the current CoordinatorStateEnum::kCommit can be merged into one state.

      Additionally, as foundation for error handling in resharding, CoordinatorStateEnum::kCommit should be renamed to CoordinatorStateEnum::kDecisionPersisted. Once the coordinator is in the new state, the resharding operation finalizes whether it will commit or abort - the decision may not be changed while the rest of the operation completes. 

            Assignee:
            haley.connelly@mongodb.com Haley Connelly
            Reporter:
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: