I am using consul as a k/V store in a unique datacenter. As i check savage usage on failure i want to check if my 3 nodes a synched and possess the same data in K/V on each node.
How can i check that at time i have the same data on each node ? Is there anything that allow to check data replication between nodes ? Can it be done with raft index ? I want to check that if the leader crash i have the date on the other nodes available.
For another example i made some insert in one cluster, crush 2 of the 3 node, remove raft data, reinsert the 2 node in the cluster. How can i ensure that data are now the same as the ones on the node that was not crashed on my 2 ‘new’ members ?