Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-kestrel: Do not empty cluster when it becomes Pending
Problem -- Some service discovery implementations (most notably Zk2Resolver) use the Pending state to signal that the underlying mechanism is currently unavailable (e.g. ZooKeeper is not reachable). Kestrel MultiReader interprets it as an empty set of Addresses, causing the cluster to empty when service discovery is not reachable. Solution -- Do not empty the server set when Addr goes to Pending. RB_ID=832923
- Loading branch information
Showing
5 changed files
with
35 additions
and
9 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