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

[SERVER] db.replicationInfo() page has typos on each command

    XMLWordPrintableJSON

Details

    Description

      Hi team

      in this page, OUTPUT section : https://www.mongodb.com/docs/manual/reference/method/db.getReplicationInfo/

       

      you read, for example:
      db.getReplicationInfo.logSizeMB

      Returns the total size of the oplog in megabytes.

      but in fact each command in bold is missing () so it doesn't work if you use the commands as in the manual.

      in this case it should be :

      db.getReplicationInfo().logSizeMB

      Attachments

        Activity

          People

            lindsey.moore@mongodb.com Lindsey Moore
            guillaume.meister@mongodb.com Guillaume Meister (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 8 weeks, 1 day ago