Re: Mesos 0.19 registrar upgrade

2014-07-23 Thread Tomas Barton
Ok, thanks Ben! In would be nice to update documentation accordingly. So, in 0.20 there might be a flag specifying total number of masters? On 23 July 2014 00:13, Benjamin Mahler benjamin.mah...@gmail.com wrote: At the current time, you need an odd number of masters as there is an assumption

Mesos 0.19 registrar upgrade

2014-07-22 Thread Tomas Barton
Hi, what is the best way to upgrade Mesos cluster from 0.18 to 0.19? I've tried to read all documentation before doing actual upgrade, but I still don't understand a few things. What should be the quorum size? The --help says that It is imperative to set this value to be a majority of masters

Re: Mesos 0.19 registrar upgrade

2014-07-22 Thread Dick Davies
On 22 July 2014 10:40, Tomas Barton barton.to...@gmail.com wrote: I have 4 Mesos masters, which would mean that quorum 2 - quorum=3, right? Yes, that's right. 2 won't be enough. quorum=1, mesos-masters=1 quorum=2, mesos-masters=3 quorum=3, mesos-masters=5 quorum=4, mesos-masters=7 Is

Re: Mesos 0.19 registrar upgrade

2014-07-22 Thread Benjamin Mahler
At the current time, you need an odd number of masters as there is an assumption built into the replicated that the number of masters = 2*quorum - 1. This assumption is present when bootstrapping the log from no data. To recover from this, you need to run an odd number of masters, and set your