Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-967

Cannot resize oplog via mongosh

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Shell
    • Labels:
      None
    • Story Points:
      2
    • Documentation Changes:
      Not Needed
    • Sprint:
      Iteration Lutz

      Description

      Steps to reproduce:

      1. setup a new 5.0.2-ent replica set
      2. mongosh into the PRIMARY
      3. run db.adminCommand(

      { replSetResizeOplog: 1, size: 990 }

      )

      Note the same command succeeds via mongo shell.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              anna.henningsen Anna Henningsen
              Reporter:
              alex.bevilacqua Alex Bevilacqua
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: