[SERVER-5218] Add a write concern to wait for journal on all 'w' servers Created: 06/Mar/12 Updated: 25/Jan/17 Resolved: 01/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Glenn Maynard | Assignee: | Siyuan Zhou |
| Resolution: | Done | Votes: | 3 |
| Labels: | elections | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Minor Change | ||||||||||||||||||||||||||||
| Sprint: | RPL 1 04/03/15, RPL 3 05/15/15 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| 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. |
| Comments |
| Comment by Githook User [ 30/Apr/15 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |
| Comment by Githook User [ 30/Apr/15 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: Revert " This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f. |
| Comment by Githook User [ 29/Apr/15 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |
| Comment by Eric Milkie [ 22/Apr/15 ] |
|
The Election Enhancements project requires that operations are durably written before reporting upstream. |
| Comment by Githook User [ 01/Apr/15 ] |
|
Author: {u'username': u'visualzhou', u'name': u'Siyuan Zhou', u'email': u'siyuan.zhou@mongodb.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 06/Mar/12 ] |
|
I don't think we'll change the behavior of j, but could add a new option. |