-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This improves the retryer in several ways that should aid in debugging such failures as REP-5358: - There are now descriptions for each callback and (optionally) the loop itself. Those descriptions go in the relevant log messages. - NoteSuccess() also takes a description that goes into logs. - Retried failures are now noted at info level rather than debug. - The retryer now notes success of a retried operation. - Long-running operations that go without a success for >1min will be noted in the log as a warning. - The “retry randomly” functionality is removed. (None of the existing tests use it.) The above requires a revamp of the retryer interface, so all callers into it are rewritten.
- Loading branch information
Showing
16 changed files
with
582 additions
and
338 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
Oops, something went wrong.