-
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: Remove AddressedFactory
[This reverts commit 9a0e91cc20bd3f224fa90eff10a432723e42370e.] Problem: AddressedFactory was a useful abstraction, specifically for updating address weights without having to close the underlying EndpointFactory. However, it had its limitations, specifically in that updating an AddressedFactory would not update its underlying EndpointFactory at all. This resulted in some weights not being propagated properly throughout LoadBalancer code Solution: We remove AddressedFactory and introduce an EndpointFactoryProxy where necessary, which gives us the benefit of updating EndpointFactory address weights while consolidating weights to one "true" value. JIRA Issues: CSL-11291 Differential Revision: https://phabricator.twitter.biz/D751145
- Loading branch information
1 parent
4651b6f
commit 4043382
Showing
17 changed files
with
313 additions
and
147 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
12 changes: 0 additions & 12 deletions
12
...e-core/src/main/scala/com/twitter/finagle/loadbalancer/distributor/AddressedFactory.scala
This file was deleted.
Oops, something went wrong.
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.