Hi, As far as I have read, Paxos is not related to mesos master election. It is used to implement the "replicated logs", as the storage backend of the registry where information like slaves, quota, and maintenance schedules are persisted (check https://github.com/apache/mesos/blob/0.27.0/src/master/registry.proto#L27 ).
I think https://issues.apache.org/jira/browse/MESOS-1471 would make this more clear. For more on the replicated logs, check https://issues.apache.org/jira/browse/MESOS-1471?jql=project%20%3D%20MESOS%20AND%20text%20~%20%22replicated%20log%22 Regards, Shuai On Mon, Feb 15, 2016 at 4:15 AM, Elias Levy <[email protected]> wrote: > Good day, > > Apologies if this question has been answered elsewhere, but I've not come > across an answer to it. Mesos masters use Zookeeper to master election. > Mesos also appears to make use of Paxos, although I am less clear on its > intended purpose. > > Why the use of two distinct consensus systems? > > The two should be largely equivalent. I would imagine selecting a single > one would be preferable to lower the complexity of the system and to avoid > mismatched states (e.g. Zookeeper and Paxos disagreeing about the > visibility of Mesos masters if ZK members are not colocated with them). > > Also, what is Paxos used for within Mesos? > > >

