-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-core: Do not load balance over 0-weighted empty NameTrees
Problem: -------- NameFactoryTree equally load balances over both empty and non-empty resolutions if the total weight of the Union is zero. This results in NoBrokersAvailable for a portion of requests through this client, even though viable brokers are available. Solution: -------- Filter zero-weighted empty resolutions (NameTree.{Neg, Fail, Empty}) out of Unions. JIRA Issues: CSL-10943 Differential Revision: https://phabricator.twitter.biz/D666635
- Loading branch information
Todd Segal
authored and
jenkins
committed
May 10, 2021
1 parent
3244380
commit cf73946
Showing
3 changed files
with
115 additions
and
5 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