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

Clarify that write concern majority includes all members

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • v1.3.12, v1.3.14
    • None
    • manual
    • None

    Description

      In PHP-1222, a user expected that the "majority" write concern would only consider data-bearing nodes. scotthernandez provided me with a helpful explanation for why it needs to count all nodes, as the goal is to avoid data loss due to roll-back. It would be helpful if we explained this with a blurb in the documentation.

      http://docs.mongodb.org/manual/core/write-concern/ talks about "majority" persisting data to storage nodes, but it doesn't address arbiters at all. Obviously, they don't hold data, but they are counted in determining the "majority".

      He also clarified that "majority" means something else when referring to election voting (it depends more on voters and vote weights than physical nodes), but I don't think we need to clarify that with this ticket.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

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