[SERVER-17500] JournalCommitInterval validation doesn't match the error message Created: 06/Mar/15  Updated: 07/Mar/15  Resolved: 07/Mar/15

Status: Closed
Project: Core Server
Component/s: MMAPv1, Storage
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Trivial - P5
Reporter: Steve Briskin (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-3644 cmdLine.journalCommitInterval checks ... Closed
Operating System: ALL
Participants:

 Description   

The error message says "--journalCommitInterval out of allowed range (0-300ms)", but the if-statement checks for (2-300).

https://github.com/mongodb/mongo/blob/master/src/mongo/db/mongod_options.cpp#L982


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