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

Attach term metadata to UpdatePosition command

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.12, 3.3.8
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      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

      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.

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

              Created:
              Updated:
              Resolved: