func (c *cluster) Sync() {
	for nid, _ := range c.nodes {
		p := NewPayload(c.nodes[nid])
		for i, node := range c.nodes {
			if i == nid {
				continue
			}

			node.merge(p)
		}
	}
}
// Sync syncs the nodes in the cluster with each other.
// IRL the nodes would do this autonomously.
Sync syncs the nodes in the cluster with each other.
IRL the nodes would do this autonomously.
// Sync syncs the nodes in the cluster with each other . // IRL the nodes would do this autonomously .
func (c *cluster) Sync() {
	for nid, _ := range c.nodes {
		p := NewPayload(c.nodes[nid])
		for i, node := range c.nodes {
			if i == nid {
				continue
			}
			node.merge(p)
		}
	}
}
func ( c * cluster ) Sync ( ) { for nid , _ := range c . nodes { p := NewPayload ( c . nodes [ nid ] ) for i , node := range c . nodes { if i == nid { continue } node . merge ( p ) } } }
Sync syncs the nodes in the cluster with each other.
Sync syncs the nodes in the cluster with each other .