resync command should clear lastOpTimeWritten in oplog.cpp

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.6.0-rc0
    • Affects Version/s: 2.5.5
    • Component/s: Replication
    • None
    • ALL
    • Hide

      Run the resync command and during initial sync you will see the "replication oplog stream went back in time." message in the server log, and it will redirect syncing back to the primary.

      Show
      Run the resync command and during initial sync you will see the "replication oplog stream went back in time." message in the server log, and it will redirect syncing back to the primary.
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Otherwise, logOp gets annoyed because it thinks we are logging the same op as last time, even though we have cleared out the oplog so it's a non-issue.

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

                Created:
                Updated:
                Resolved: