Product SiteDocumentation Site

3.2. Configuration Version

When a node joins the cluster, the cluster will perform a check to see who has the best configuration based on the fields below. It then asks the node with the highest (admin_epoch, epoch, num_updates) tuple to replace the configuration on all the nodes - which makes setting them, and setting them correctly, very important.

Tabel 3.1. Proprietăţi ale Versiunii Configuraţiei

Câmp Descriere
admin_epoch
Never modified by the cluster. Use this to make the configurations on any inactive nodes obsolete.
Nu setaţi niciodată această valoare la zero, în astfel de cazuri clusterul nu poate face diferenţa între configuraţia voastră şi cea "goală" folosită atunci când nu este găsit nimic pe disc.
epoch
Incremented every time the configuration is updated (usually by the admin)
num_updates
Incremented every time the configuration or status is updated (usually by the cluster)