-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Labels:None
-
Replication
When a node first starts up, it has no idea the state of the other nodes in the replica set. Currently it defaults to assuming all nodes are 'down' until it gets a heartbeat proving otherwise. This can sometimes cause nodes to call for elections unnecessarily. Instead we should consider nodes in state 'unknown' until the heartbeat timeout passes without hearing from them, and not call for an election so long as any nodes are still in state 'unknown'.