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

Cannot resize oplog via mongosh

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.1.0
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • None
    • 2
    • Not Needed
    • Iteration Lutz

      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.

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

              Created:
              Updated:
              Resolved: