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

Update replSetResizeOplog type mismatch

    XMLWordPrintableJSON

Details

    Description

      Fixing known issue, replSetResizeOplog type verification. 

       

      There isn't a list of other parameters at present.  ( From parent https://jira.mongodb.org/browse/DOCSP-18647 )

       

      For example, the replSetResizeOplog command documentation lists db.adminCommand({ "replSetResizeOplog": 1, size: 16384 }) as an example. This does not currently work in mongosh, because mongosh does not send the size argument as a double; the server however only accepts doubles here.

      Examples like these should be updated to provide a version that runs in mongosh; i.e., db.adminCommand({ "replSetResizeOplog": 1, size: Double(16384) }) in this case.

      Unfortunately, we do not currently have an overview over which commands are affected exactly.

       

       

      Attachments

        Activity

          People

            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            dave.cuthbert@mongodb.com Dave Cuthbert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 21 weeks ago