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

Attach term metadata to UpdatePosition command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.12, 3.3.8
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • Repl F (01/29/16), Repl 10 (02/19/16), Repl 11 (03/11/16), Repl 12 (04/01/16), Repl 14 (05/13/16), Repl 15 (06/03/16), Repl 2016-10-31

    Description

      MongoDB replication protocol differs from Raft in that voters of the new primary doesn't reject fetched oplog entries from the old primary. Those stale entries will be rolled back eventually. However, if that voter reports its progress of the stale entries to the old primary before the rollback, even very rarely, the stale entries may be considered as committed. This ticket is to forward voter's current term to the old primary, making it step down.

      Attachments

        Activity

          People

            siyuan.zhou@mongodb.com Siyuan Zhou
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: