clear oplog before starting initial sync

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.8.0-rc1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Eric Milkie
              Reporter:
              Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: