-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JVMCBC-1541 TopologyParser should get node identifiers from default n…
…etwork Motivation ---------- In some private link deployments, the server advertises the same manager host:port address for all nodes on the `external` network. The newly-refactored cluster topology parser resolves the network before assigning node IDs, so the node ids were sourced from the external network -- where each node has the same host and manager port. This resulted in all nodes being assigned the same node identifier, and havoc ensued. Modifications ------------- Modify the cluster topology parser to get the manager host:port from the default (internal) network instead. Add a bit of logging and sanity checking that would have caught this sooner, as well as regression tests for parsing the the private link topology. Change-Id: I3d313a77042aa5cd495b3a118480de1ced068c04 Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/212758 Reviewed-by: Michael Reiche <[email protected]> Tested-by: Build Bot <[email protected]> Reviewed-by: David Nault <[email protected]>
- Loading branch information
Showing
12 changed files
with
210 additions
and
12 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
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.