[DOCS-11938] Description and example for waitForSecondaryBeforeNoopWriteMS do not match Created: 03/Aug/18  Updated: 30/Oct/23  Resolved: 08/Oct/18

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Oleg Pudeyev (Inactive) Assignee: Isabella Siu (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 5 years, 18 weeks, 2 days ago

 Description   

----------------------------

Original Description

https://docs.mongodb.com/manual/reference/parameters/#param.waitForSecondaryBeforeNoopWriteMS

The description for waitForSecondaryBeforeNoopWriteMS says:

"The length of time (in milliseconds) that a secondary must wait if the afterClusterTime is greater than the last applied time from the oplog."

However the example given is:

> The following example sets the waitForSecondaryBeforeNoopWriteMS to 20 seconds:

> mongod --setParameter waitForSecondaryBeforeNoopWriteMS=20

Wouldn't that set the wait to 20 milliseconds, not 20 seconds?
----------------------------

Description

https://docs.mongodb.com/manual/reference/parameters/#param.waitForSecondaryBeforeNoopWriteMS

The description for waitForSecondaryBeforeNoopWriteMS says:

"The length of time (in milliseconds) that a secondary must wait if the afterClusterTime is greater than the last applied time from the oplog."

However the example given is:

> The following example sets the waitForSecondaryBeforeNoopWriteMS to 20 seconds:

> mongod --setParameter waitForSecondaryBeforeNoopWriteMS=20

The example should be updated to read

 

mongod --setParameter waitForSecondaryBeforeNoopWriteMS=2000

 

Scope of changes (files that need work and how much)

Impact to other docs outside of this product

MVP (work and date?)

Resources (e.g. Scope Docs, Invision)



 Comments   
Comment by Githook User [ 08/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-11938 fix example for waitForSecondaryBeforeNoopWriteMS
Branch: v3.6
https://github.com/mongodb/docs/commit/f24cd236f896052eb2ce9b4f1f5cbd196f58625a

Comment by Githook User [ 08/Oct/18 ]

Author:

{'name': 'Isabella Siu', 'email': 'isabellasiu@Isabellas-MacBook.local'}

Message: DOCS-11938 fix example for waitForSecondaryBeforeNoopWriteMS
Branch: master
https://github.com/mongodb/docs/commit/621dacfda7eaf0df83592093f6321e5889be3220

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