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

Insert no-op oplog entry with higher term in magic restore

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Replication

    Description

      We need to insert a dummy oplog entry that contains a fake higher term. The term should follow this algorithm:

      term = lastOplogEntry.getTerm()
      if !term
      	term = 1
      maxTerm = max(restoreToHigherTermThan, term)
      Return maxTerm + 100
      

      Attachments

        Activity

          People

            backlog-server-repl Backlog - Replication Team
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: