-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.0.0
-
Component/s: Replication
-
Labels:None
-
ALL
-
Repl 2018-12-03
Starting in 4.0 we do recovery at startup (for everything but the oplog) by replaying the oplog instead of by journaling. However this is not done by default if a replica set member is started standalone, so we can lose committed writes in this case. Restarting a replica set member standalone is a common documented maintenance procedure, so losing committed writes in this case seems possibly problematic. This is also a change in behavior from 3.6.
There is an undocumented parameter to do oplog replay when started as standalone; suggest that this should be enabled by default.
- is documented by
-
DOCS-12213 Clarify when and how to put replica set members into standalone mode for maintenance
- Closed
- is related to
-
DOCS-12230 Manual oplog resize in 4.0 after unclean shutdown can lose committed writes
- Closed
-
SERVER-38356 Forbid dropping oplog in standalone mode on storage engines that support replSetResizeOplog
- Closed