Questions tagged [leader-election]
55 questions
0
votes
0 answers
Question about Apache Curator Leader Election
I am building a distributed app in which a set of processes (running on separate machines) are working together. Each process works on its own set of "resources" (and there is no sharing of resources among the processes). When the app starts, I need…

pnndesh
- 11
- 2
0
votes
1 answer
MONGO election primary
I had a replica set with 5 mongo nodes I shut 3 nodes for DR testing and add a new node to replica. however, even though one node has higher priority I still have 3 secondaries nodes and no primary.
do you know why, what should be done how can I fix…

NoamiA
- 521
- 4
- 19
0
votes
1 answer
Kafka leader election Zookeeper failure
The controller elects a new leader from the ISR for a partition when the current one dies. My understanding is that this data is persisted in Zookeeper. What happens when a Zookeeper node dies during this write? Can this mean that some brokers might…

frodo
- 1,561
- 3
- 21
- 36
0
votes
1 answer
Raft algorithm leader election when there is a partition
Let's say you have three servers A, B and C
There is a network partition between A and C.
During leader election the following steps might happen:
a) A encounters a timeout and start a new election with term 1. B responds to the vote request and A…

g. arshad
- 21
- 4
0
votes
1 answer
leader election when UID's are not integers
I'm new to distributed systems and I'm currently studying Nancy lynch's book for distributed algorithms. Now After Finishing the section about leader elections problem and learning algorithms like LCR, HS,.. one problem come a cross my mind:
What…

Farzin Nasiri
- 710
- 1
- 10
- 27
0
votes
1 answer
Apache zookeeper Leader Election: can it work with only two nodes?
I have a two node redhat system with an identical set of services on each. I am looking for a way to determine which service is "in charge" and which is a "running backup". So for example; service-A exists and is running on both nodes but only one…

MostlyAtNight
- 1
- 1
0
votes
0 answers
How to implement distributed algorithm of leader election using JBotsim library
i am trying to implement two Distributed algorithms of leader election using JBotSim lib but i don't have no idea this lib or how does it operate
someone can help me or have any example about it?
0
votes
1 answer
Master election with respect to Zookeeper and its clients
I am having difficultly in understanding how the leader , follower mechanism works , lets say i am building a distributed application with 2 master node , 6 slave nodes and 3 zookeeper node with one zookeeper node being a leader and among 2 master…

Senthil
- 11
- 1
- 4
0
votes
1 answer
Leader re-election without leader being down?
Is there any accepted method of leader election in a distributed environment wherein the leader may change after every fixed interval of time(or rounds) without the current leader going down/disconnecting?
This may sound like a very wrong way but I…

Swapnil Pandey
- 577
- 3
- 8
- 25
-1
votes
1 answer
Random leader selection after each round
I am working on a system where I need to select a leader(out of n nodes) randomly. The leader would change after each round (after the current leader has finished its task). All the nodes would be communicating with each other.
A re-election would…

Swapnil Pandey
- 577
- 3
- 8
- 25