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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.1.3
    • Affects Version/s: None
    • Component/s: Replication
    • Minor Change
    • RPL 1 04/03/15, RPL 3 05/15/15

      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.

            Assignee:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Reporter:
            glenn Glenn Maynard
            Votes:
            3 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              Resolved: