-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Replication
-
None
-
ALL
If an initial sync encounters a problem any time after the first oplog sync phase, it can leave data behind in the oplog. When the node is restarted, another initial sync begins automatically, but the code isn't set up to work properly in the presence of data preexisting in the oplog. We need to clear out the old data before beginning a new initial sync.