-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[common] Retry controller client request on exceptions (#1165)
Today, "ControllerClient#retryableRequest" retries when the controller returns an error response. It doesn't retry when an exception is thrown. We need to handle exceptions as an error condition and retry till the retryAttempt count is reached. Also it misses to retry VeniceException from getLeaderControllerUrl which could lead to data recovery pushes to fail on a single unsuccessful controller discovery call. --------- Co-authored-by: Sourav Maji <tester@linkedin.com>
- Loading branch information
1 parent
d4bf2ba
commit 74e5e82
Showing
1 changed file
with
30 additions
and
13 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