Re: Slave cannot be registered while masters keep switching to another one.

2015-01-28 Thread xiaokun
hi, I changed the quorum to 1. Slave can be displayed now! Thanks! 2015-01-28 16:19 GMT+08:00 xiaokun xiaokun...@gmail.com: Thanks for your reply. I will try to modify quorum to 1. Here is log from server side. Attachment is added. I0128 03:15:36.608562 15350 replica.cpp:638] Replica in

Re: Slave cannot be registered while masters keep switching to another one.

2015-01-28 Thread xiaokun
Thanks for your reply. I will try to modify quorum to 1. Here is log from server side. Attachment is added. I0128 03:15:36.608562 15350 replica.cpp:638] Replica in VOTING status received a broadcasted recover request I0128 03:15:37.552141 15346 replica.cpp:638] Replica in VOTING status received a

Re: Slave cannot be registered while masters keep switching to another one.

2015-01-28 Thread Dick Davies
Be careful, there's now nothing stopping those 2 masters from forming 2 clusters. Add a third asap. On 28 January 2015 at 08:25, xiaokun xiaokun...@gmail.com wrote: hi, I changed the quorum to 1. Slave can be displayed now! Thanks! 2015-01-28 16:19 GMT+08:00 xiaokun xiaokun...@gmail.com:

Re: Slave cannot be registered while masters keep switching to another one.

2015-01-27 Thread Adam Bordelon
First thing I see is that you have a quorum of 2, but only 2 masters. For a quorum of 2, you should have 3 masters. Logic: for an odd number of M masters, a quorum/majority of ceiling(M/2) is necessary to win a vote. For quorum Q, you should launch (2*Q)-1 masters. What you are showing is expected