[SERVER-62629] Create a new internal command that allows nodes to vote for committing or aborting the restore procedure Created: 13/Jan/22  Updated: 06/Dec/22  Resolved: 24/Jan/22

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

Type: Task Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Backlog - Storage Execution Team
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-62628 Implement the abort logic during a fa... Closed
is depended on by SERVER-62631 Implement the abort logic during a fa... Closed
is depended on by SERVER-62632 Implement the second phase of the res... Closed
is depended on by SERVER-62634 Implement the final steps of the firs... Closed
Assigned Teams:
Storage Execution
Participants:

 Description   

The voting will be done through a new internal command executed against the primary, VoteRestoreCommand, similar to this. The primary will record the votes in the config.system.restore collection.

Command parameters:

  • restoreId: <UUID>
  • from: <hostAndPort>
  • vote: <string>, "commit" or "abort"
  • reason: <optional<string>>

If a node votes to abort, the primary will need to coordinate the abort across the replica set.
If all data-bearing nodes voted to commit, the primary will need to coordinate the commit across the replica set.


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