Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70752

Initial sync could crash on a node with unclean data if an oplog replay is triggered

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • ALL

      When making a node with existing data to rejoin a replset with initial sync, triggering an oplog replay can crash the sync because writing down the top of the oplog entry which was already replicated to the sync node can have a conflicting timestamp with the stable timestamp. 

      This is however an edge case and should not be done by the users. A crash is expected in this case. As a result, we would just want to fix the test. We can potentially prevent the sync source from writing down extra oplog entries during the initial sync.

            Assignee:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: