|
There is a reason strong enough now since mongo-v3.5.10
the replResizeOplog command is to sizing oplogs online, however, if we use this command to shrink oplog size smalller, wiredtiger won't purge automaticlly.
A manual compact to local.oplog.rs is needed but it will block
It is nice to support this feature and people can change oplog size without blocking reads/writes.
|
|
martin.bligh can we discuss this ticket in the 3.1.6 cycle? I think the basic code change is pretty straightforward.
andrew.ryder@10gen.com points out in SERVER-19062 that there are user-visible impacts for replication (i.e., if this change is completely transparent, it may not be obvious to an admin whether a compact command will take down a secondary in a mixed replicaset).
|