incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Mahler (JIRA)" <>
Subject [jira] [Updated] (MESOS-422) Master leader election should be more robust to stale ephemeral nodes
Date Thu, 20 Jun 2013 19:14:20 GMT


Benjamin Mahler updated MESOS-422:

    Fix Version/s:     (was: 0.12.0)
> Master leader election should be more robust to stale ephemeral nodes
> ---------------------------------------------------------------------
>                 Key: MESOS-422
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>          Components: master
>            Reporter: Bill Farner
>            Assignee: Benjamin Mahler
>            Priority: Minor
>             Fix For: 0.14.0
> When a leading master exits abruptly, it may fatefully restart and think it's the leader.
 If particularly unlucky, this could result in a set of masters that are indefinitely unstable.
> Sequence of events:
> - Master process becomes leader
> - Master process exits, session expiration counter begins
> - Master process restarts, reads leader node contents, and decides it's the leader (based
on PID equality)
> - Previous master session expires, node is deleted
> - Master decides a different master is leader, commits suicide
> - Rinse, repeat for newly-created master node
> The salient fact here is that leaders should be concerned with "did i create the leader
node" (ignoring node data) while clients want to be apprised of leader's node data.
> Relevant code:
> ZK leader election recipe, for reference:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message