[SERVER-10753] Please update the informative message for combination of fsync and j options for write concern Created: 12/Sep/13  Updated: 11/Jul/16  Resolved: 19/Sep/13

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: 2.4.3
Fix Version/s: 2.5.3

Type: Improvement Priority: Major - P3
Reporter: Ravi Shakya Assignee: Matt Dannenberg
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 12.04 64 bit


Participants:

 Description   

As evident from the code at https://github.com/mongodb/mongo/blob/master/src/mongo/db/write_concern.cpp#L58 , when the user tries to set fsync and j options together, the message is shown as "fsync and j options are not used together" which at times could be confusing to the users. (They might interpret the message to use fsync and j together)
Could you please update the message something similar to "fsync and j options must not be used together"? Thank you



 Comments   
Comment by auto [ 19/Sep/13 ]

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-10753 improve error message for using fsync with j for write concern
Branch: master
https://github.com/mongodb/mongo/commit/984168c52bd4d0469a807b3d76e6043409ce6f2f

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