Details
-
Task
-
Resolution: Won't Do
-
Major - P3
-
None
-
None
-
None
-
None
-
Storage Execution
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.
Attachments
Issue Links
- is depended on by
-
SERVER-62628 Implement the abort logic during a failure where the storage engine is preparing the backup in the first phase
-
- Closed
-
-
SERVER-62631 Implement the abort logic during a failure where the backup is imported into the server in the first phase
-
- Closed
-
-
SERVER-62632 Implement the second phase of the restore algorithm
-
- Closed
-
-
SERVER-62634 Implement the final steps of the first phase restore algorithm
-
- Closed
-