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

Comment on: "manual/reference/method/rs.add.txt"

    XMLWordPrintable

Details

    • true

    Description

      The "Behavior" section says:

      rs.add() can, in some cases, trigger an election for primary which will disconnect the shell. In such cases, the mongo shell displays an error even if the operation succeeds.

      It is unclear what event could trigger an election, but a quick JIRA search seem to indicate that rs.add() that leads to reconfig with different priorities will trigger an election, while a pure additive action (e.g. adding a new member with default priority) will not trigger an election.

      It may be helpful to include a summary of that situation into the docs to make the Behavior section more definitive and clearer.

      Attachments

        Activity

          People

            kevin.adistambha@mongodb.com Kevin Adistambha
            kevin.adistambha@mongodb.com Kevin Adistambha
            Jonathan Dahl Jonathan Dahl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 20 weeks ago