summaryrefslogtreecommitdiffstats
path: root/statistics
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@oath.com>2018-06-25 13:33:02 +0200
committerHåkon Hallingstad <hakon@oath.com>2018-06-25 13:33:02 +0200
commit0f908eb4216f4f45a24979986dd03ef31421516c (patch)
tree1f5bd02fd1d5ee2b593df5346510ac81ab070d60 /statistics
parent948c3a15a1ceb5a7d58ab7ff3d1e33ea0996f2da (diff)
Avoid fatal first CC request timeout
If the first setNodeState to the "first" cluster controller times out, then we'd like to leave enough time to try the second CC. This avoids making a single CC a single point of failure. The strategy is to set a timeout of 50% of the remaining time, so if everything times out the timeouts would roughly be 50%, 25%, and 12.5% of original timeout. An alternative strategy would be to use 33% for each, which would be more democratic.
Diffstat (limited to 'statistics')
0 files changed, 0 insertions, 0 deletions