-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cluster restart with simultaneous change of primary (major)
* introduce "AIS_PRIMARY_EP" environment - either 'host[:port]' endpoint or http(s) URL * remove "AIS_IS_SECONDARY" and "AIS_PRIMARY_ID" - not supported anymore * rewrite part of the proxy's bootstrapping sequence * RULES to determine that _this_ proxy is primary: - environment "AIS_PRIMARY_EP" and "AIS_IS_PRIMARY" take precedence (unconditionally and in that exact sequence); - next, loaded Smap (but it can be overridden by newer versions from other nodes); - finally, if none of the above applies, take into account cluster config (its "proxy" section). Signed-off-by: Alex Aizman <[email protected]>
- Loading branch information
1 parent
9690d80
commit 91a5ea0
Showing
7 changed files
with
140 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.