[JAVA-1033] update description of fsync write concern flag Created: 30/Oct/13  Updated: 03/Apr/14  Resolved: 27/Feb/14

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 2.12.0, 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Duraid Madina Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: rc1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to DRIVERS-125 update description of 'fsync' write c... Closed

 Description   

Update the description of fsync and j flags in WriteConcern Javadoc so that it accurately describes the current behavior, which is:

  • j: If true block until write operations have been committed to the journal. Cannot be used in combination with `fsync`. Prior to MongoDB 2.6 this option was ignored if the server was running without journaling. Starting with MongoDB 2.6 write operations will fail with an exception if this option is used when the server is running without journaling.
  • fsync: If true and the server is running without journaling, blocks until the server has synced all data files to disk. If the server is running with journaling, this acts the same as the `j` option, blocking until write operations have been committed to the journal. Cannot be used in combination with `j`.


 Comments   
Comment by Githook User [ 27/Feb/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1033: Updated description of fsync write concern flag to reflect 2.6 server behavior.
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/8291f9f51a74bf68b51a7c320c239a0024a2a462

Comment by Jeffrey Yemin [ 26/Feb/14 ]

Fixed in master, 3.0 next

Comment by Githook User [ 26/Feb/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-1033: Updated description of fsync write concern flag to reflect 2.6 server behavior.
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/97f19f302233c1f77df771666da880762b51d9c9

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