-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(coordinator): support update service info when config changed (#561
) ### Motivation In practice, we might want to update the service public address for the existing cluster for some reason. This PR supports the functionalities by identifying the internal address as a logical node ID and updating the public address when the new term is used. also, we can introduce a node Id that can help us update the internal address or other information introduced in the future. ### Modification - Refresh service ensemble information at the `newTerm` safe point. - Use `internalAddress` as the logical node id. - Introduce a server indexes for better performance.
- Loading branch information
1 parent
be8cef5
commit fb90db8
Showing
4 changed files
with
155 additions
and
4 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