summaryrefslogtreecommitdiffstats
path: root/searchcommon
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2019-07-11 15:14:22 +0200
committerTor Brede Vekterli <vekterli@verizonmedia.com>2019-07-11 15:16:15 +0200
commitf76ef475431084530c1e6d77eb5cec4788ed8ff7 (patch)
tree60d8d64b35213b1565899ddbce98d70dc429cf8b /searchcommon
parent1c79079945c56fa91de8427fbc8f2170eec9ed8c (diff)
Guard critical cluster state version ZK writes with an atomic CaS
Lets a controller discover that another controller also believes it is the leader by tracking the expected znode versions for cluster state version and bundle znodes. If a CaS failure is triggered, the controller will drop its database and election state, forcing a state refresh.
Diffstat (limited to 'searchcommon')
0 files changed, 0 insertions, 0 deletions