Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-2608

Add replSetRecreateOplog(size) command

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • 1.7.6
    • Admin, Replication
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: