I'm trying to follow the documentation of in the raft library in etcd, and I was hoping that someone could review my code.
The example should:
* start a three node cluser
* wait for it to start
* commit one data entry to the cluster
* read the data entry back
If someone have time please check that the cluster node implementation looks sane.
Also, I don't know how to check that the cluster is ready or that a proposed value has been written.
In addition, is it safe to fetch the a stored value directly from the node? as there is no consensus.
Thanks in advance!