-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow-up T180252295: Allow same initial and max backoff for kvstore …
…peer sync Summary: In a follow-up to T180252295. We want to allow kvstore peer sync backoffs configurable to same initial and max backoff value. Existing code had an assert at places and does not allow. Changes in this diffs, - Remove assert checking equality of 2 values - Relax configuration parameter check to allow max backoff to be same value as initial backoff - Add Exponential backoff API unit tests - Add kvstore peer sync unit tests Not covered in this diffs: moving to friend class for use of processThriftSuccess/processThriftFailure APIs from test code. Reviewed By: xiangxu1121 Differential Revision: D55074731 fbshipit-source-id: 2e7312c2d12f0988115d0a3fd9ec18860688946a
- Loading branch information
1 parent
16fa2d0
commit 27b4959
Showing
4 changed files
with
120 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
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