Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11938

Description and example for waitForSecondaryBeforeNoopWriteMS do not match

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major - P3
    • Resolution: Fixed
    • None
    • None
    • manual, Server
    • None
    • true

    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)

      Attachments

        Activity

          People

            isabella.siu@mongodb.com Isabella Siu (Inactive)
            oleg.pudeyev@mongodb.com Oleg Pudeyev
            Isabella Siu Isabella Siu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3 years, 44 weeks, 1 day ago