Make sure a stepping down node updates its term before it accepts a reconfig with that term

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Repl 2025-08-18, Repl 2025-09-01, Repl 2025-09-15, Repl 2025-09-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      InĀ SERVER-106552 we fixed an invariant failure when a node that got stuck in step down process due to term change had accepted a newer reconfig before it actually updated its own term. The invariant is a part of automatic reconfig that the node was scheduling for "newlyAdded" field removal while still considering itself a primary. We need to prevent this mismatch for a general case.

            Assignee:
            Solomon Lifshits
            Reporter:
            Solomon Lifshits
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: