[JAVA-2840] Unacknowledged write concern with journal = true should be an error Created: 24/Apr/18  Updated: 28/Oct/23  Resolved: 24/Apr/18

Status: Closed
Project: Java Driver
Component/s: Write Operations
Affects Version/s: None
Fix Version/s: 3.8.0

Type: Bug Priority: Trivial - P5
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related

 Description   

As per the read and write concern specification, it should be an error to request a journaled, unacknowledged write concern, as that combination makes no sense.



 Comments   
Comment by Githook User [ 24/Apr/18 ]

Author:

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

Message: JAVA-2840: Throw IllegalArgumentException if w = 0 and journal or fsync is true
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/a0c8123ed85ab8fffa7813349e8497aec648516d

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