Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-4382

Automation cluster configuration: replicaSets elements can now take an optional "force" field

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Cloud Manager
    • None

    Description

      Each "replicaSets" element in the automation cluster configuration can now take an optional "force" field (haha) which itself takes an object with a required "currentVersion" field. If specified, automation will force a reconfiguration of the replica set if and only if the current version of the replica set configuration equals that specified by "currentVersion". This is useful if a replica set has lost a majority of its members and the user wants to reconfigure the replica without the lost members.

      Example:

          "replicaSets": [
              {
                  "_id": "rs1",
                  "members": [
                      {
                          "_id": 0,
                          "host": "bar"
                      },
                      {
                          "_id": 1,
                          "host": "baz"
                      },
                      {
                          "_id": 2,
                          "host": "foo",
                          "arbiterOnly" : true 
                      }
                  ],
                   "force": { "currentVersion": 5 }
              }
          ],

      Attachments

        Activity

          People

            bgrabar Bob Grabar
            tim.olsen@mongodb.com Timothy Olsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              9 years, 13 weeks, 1 day ago