forked from facebook/wdt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: The throttler as it is today cannot work for us anymore because of the reasons that this diff addresses : 1. Current throttler is not thread safe. And so even if a thread is slow other threads can't use the bandwidth allocated to the slower thread 2. Current throttler needs a start time, which is not going to be applicable in cases of integration with zippydb etc because we want to share one throttler for all the recoveries and although it can be done using ref counting Changed the throttler test to not use wdt_e2e because it is much easier to look and change this way Reviewed By: @uddipta Differential Revision: D2094334
- Loading branch information
Showing
8 changed files
with
412 additions
and
153 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
Oops, something went wrong.