Add replSetRecreateOplog(size) command

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.7.6
    • Component/s: Admin, Replication
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      By adding this command you can recreate the oplog without as much down time; no need for a shutdown – it can just go into recovery mode, drop the existing oplog, create the new one, and continue. It could copy the old data over if it is growing, but I think that could be a future improvement.

      The other, and probably better, option would be to put the oplogSize in the replset config for each node. Then you can just reconfigure a set to change the oplog;you would want to be careful not to do them all at the same time as it could take down your rs.

            Assignee:
            Unassigned
            Reporter:
            Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: