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

Add a write concern to wait for journal on all 'w' servers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: Replication
    • Labels:
    • Backwards Compatibility:
      Minor Change
    • Epic Link:
    • Sprint:
      RPL 1 04/03/15, RPL 3 05/15/15

      Description

      https://groups.google.com/forum/#!topic/mongodb-user/PeJxfoH6RF4

      {w: 3, j: true}

      should wait for journaling on all waited nodes, in order to permit safe two-phase commit systems, and other high-resilience clients, to be sure that data has actually hit the disk on those replicas. This also seems like the natural behavior for this combination of options: w says how many replicas to wait for, and j says to wait for journalling on those nodes.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                25 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: