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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Do
    • Icon: Major - P3 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

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: