[SERVER-2608] Add replSetRecreateOplog(size) command Created: 22/Feb/11  Updated: 22/Feb/11  Resolved: 22/Feb/11

Status: Closed
Project: Core Server
Component/s: Admin, Replication
Affects Version/s: 1.7.6
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 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.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 22/Feb/11 ]

See SERVER-2603

Generated at Thu Feb 08 03:00:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.