-
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] Fix Ring.weight wraparound bug
Problem In some scenarios with full-width windows where offset + weight wraps around the ring, `Ring.weight` erroneously undercounts the weight. Solution Change the calculation of `Ring.weight` in wraparound scenarios to properly account for the overlap. JIRA Issues: CSL-10103 Differential Revision: https://phabricator.twitter.biz/D575958
- Loading branch information
Showing
3 changed files
with
105 additions
and
17 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