arbiter should use commit level for its optime in elections

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.9
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • RPL 8 08/31/15, RPL A (10/09/15)
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Since arbiters do not sync data, they should use the commit level when responding to requestVote commands.
      This means that they should respond 'nay' to a requestVote when the candidate's optime is behind the commit level. For non-arbiters, the usual logic is to respond 'nay' if the candidate's optime is behind the last op committed on the non-arbiter.
      As part of this work, we need to ensure that an arbiter's heartbeats are properly updating its commit level.

            Assignee:
            Scott Hernandez (Inactive)
            Reporter:
            Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: