I am reading the the Raft paper and following the secret life of data visualisation and it seems that the majority is crucial in Raft, both for leader election as well as append entry requests.
My question is how do the nodes know the total number of nodes in the cluster in the first place? Is there a discovery protocol defined or the number of nodes must be configured on cluster creation? Or does Raft leave this to the specific implementations?
My next question would be how is this number updated (i.e. how are follower nodes marked as down) especially in cases of network partition.
Thanks for any pointer!