[JAVA-2441] Error in comment Created: 02/Feb/17  Updated: 08/Feb/17  Resolved: 08/Feb/17

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 3.5.0

Type: Bug Priority: Trivial - P5
Reporter: Lorne Schachter Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

On the page http://api.mongodb.com/java/current/com/mongodb/WriteConcern.html

w

0: Don't wait for acknowledgement from the server
1: Wait for acknowledgement, but don't wait for secondaries to replicate
>=2: Wait for one or more secondaries to also acknowledge
"majority": Wait for a majority of secondaries to also acknowledge
"<tag set name>": Wait for one or more secondaries to also acknowledge based on a tag set name

majority - should specify majority of data-bearing nodes, not secondaries, since majority with a PSS replica set only needs data written to one secondary



 Comments   
Comment by Githook User [ 07/Feb/17 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Javadoc: Update the WriteConcern majority definition (#389)

JAVA-2441
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2097079ce4aad3b0e14975c01fd7f6020317fc41

Comment by Ross Lawley [ 03/Feb/17 ]

PR: https://github.com/mongodb/mongo-java-driver/pull/389

Generated at Thu Feb 08 08:57:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.