Create a new internal command that allows nodes to vote for committing or aborting the restore procedure

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: