Join attempts to join the cluster at one of the addresses given in joinAddr.
It walks through joinAddr in order, and sets the Raft address of the joining
node as advAddr. It returns the endpoint successfully used to join the cluster.
type Store interface {
// Leader returns the leader of the consensus system. Leader() string// UpdateAPIPeers updates the API peers on the store. UpdateAPIPeers(peers map[string]string) error
}
Store represents a store of information, managed via consensus.