-
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-1543 ViewLocator should use NodeIdentifier instead of hostname
Motivation ---------- The ViewLocator was using just a node's host to decide whether it can service view queries. This was potentially inaccurate, since multiple nodes can run on the same host. Apart from the inaccuracy, this strategy no longer works now that alternate addresses are resolved when the config is parsed. Now is the time to use a more robust strategy. Modifications ------------- Compare NodeIdentifiers instead of just hosts. Change-Id: Iaaf44604d9fdf43eb28441c3a248fdc4a5daa9c6 Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/212915 Reviewed-by: Michael Reiche <[email protected]> Tested-by: Build Bot <[email protected]>
- Loading branch information
Showing
5 changed files
with
29 additions
and
11 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