diff options
author | Håkon Hallingstad <hakon@oath.com> | 2018-06-25 13:33:02 +0200 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2018-06-25 13:33:02 +0200 |
commit | 0f908eb4216f4f45a24979986dd03ef31421516c (patch) | |
tree | 1f5bd02fd1d5ee2b593df5346510ac81ab070d60 /pom.xml | |
parent | 948c3a15a1ceb5a7d58ab7ff3d1e33ea0996f2da (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 'pom.xml')
0 files changed, 0 insertions, 0 deletions