[SERVER-53687] Rename resharding CoordinatorStateEnum kCommitted to kDecisionPersisted and remove kRenaming Created: 11/Jan/21  Updated: 29/Oct/23  Resolved: 20/Jan/21

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Haley Connelly Assignee: Haley Connelly
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-T-error-flow
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-01-25
Participants:

 Description   

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. 



 Comments   
Comment by Githook User [ 20/Jan/21 ]

Author:

{'name': 'Haley Connelly', 'email': 'haley.connelly@mongodb.com', 'username': 'haleyConnelly'}

Message: SERVER-53687 Rename resharding CoordinatorStateEnum kCommitted to kDecisionPersisted

SERVER-53687 Remove resharding CoordinatorStateEnum::kRenaming
Branch: master
https://github.com/mongodb/mongo/commit/3681d3ae3a6eec2ce9aa1dd9a6f5b3ec68bcd80b

Generated at Thu Feb 08 05:31:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.