zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ibrahim <i.s.el-san...@newcastle.ac.uk>
Subject RE: Strange behaviour in Leader election
Date Tue, 28 Oct 2014 16:43:28 GMT
Hi Flavio,

Do you mean by “making the configuration and the server logs available” I try not to remove
them between two runs?

Sorry for misunderstanding

Ibrahim


From: Flavio Junqueira-2 [via zookeeper-user] [mailto:ml-node+s578899n7580485h59@n2.nabble.com]
Sent: Tuesday, October 28, 2014 04:37 م
To: Ibrahim El-sanosi (PGR)
Subject: Re: Strange behaviour in Leader election

Consider making the configuration and the server logs available somewhere so that we can have
a look.
-Flavio

     On Tuesday, October 28, 2014 4:29 PM, Ibrahim <[hidden email]</user/SendEmail.jtp?type=node&node=7580485&i=0>>
wrote:



 Hi bit1129,

I went back to my cluster to run it again to monitor and confirm your
thought. Unfortunately your answer wasn't what I have seen.

Assume we have servers 1,2,3,4, and 5. I tried the following tests:
Run1: If the start order is  1,2,3,4,5, then server 2 is elected.
Run2: If the start order is  2,1,3,4,5, then server 2 is elected.
Run3: If the start order is  3,2,1,4,5, then server 2 is elected.
Run4: If the start order is  3,1,2,4,5, then server 2 is elected.
Run5: If the start order is 1,2,4,3,5, then server 2 is elected.
Run6: If the start order is 1,2,5,3,4, then server 2 is elected.
-
-

You see, whatever the start order is, always server 2 is elected.  Except if
the server 2 is not one of the three first starter servers. For example, If
the start order is 1,3,4,2,5, then server 2 will not elect as leader. I
understand that because the leader will elect as soon as we have a quorum
(at least 3 server).

Thank you


Ibrahim








--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Strange-behaviour-in-Leader-election-tp7580475p7580483.html
Sent from the zookeeper-user mailing list archive at Nabble.com.




________________________________
If you reply to this email, your message will be added to the discussion below:
http://zookeeper-user.578899.n2.nabble.com/Strange-behaviour-in-Leader-election-tp7580475p7580485.html
To unsubscribe from Strange behaviour in Leader election, click here<http://zookeeper-user.578899.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580475&code=aS5zLmVsLXNhbm9zaUBuZXdjYXN0bGUuYWMudWt8NzU4MDQ3NXw1NTE4MjI0Njk=>.
NAML<http://zookeeper-user.578899.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://zookeeper-user.578899.n2.nabble.com/Strange-behaviour-in-Leader-election-tp7580475p7580486.html
Sent from the zookeeper-user mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message