-
Notifications
You must be signed in to change notification settings - Fork 9.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clientv3/retry: clean up retryRPCFunc #8724
Conversation
clientv3/retry.go
Outdated
return &retryClusterClient{&nonRepeatableClusterClient{cc, nonRepeatableRetry}, repeatableRetry} | ||
return &retryClusterClient{ | ||
cc: pb.NewClusterClient(c.conn), | ||
retryf: c.newAuthRetryWrapper(c.newRetryWrapper()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure why we had newAuthRetryWrapper
only for KV and Lease API. This adds newAuthRetryWrapper
to all APIs.
be4484e
to
a76623c
Compare
486509e
to
60d3136
Compare
Codecov Report
@@ Coverage Diff @@
## master #8724 +/- ##
=========================================
Coverage ? 75.89%
=========================================
Files ? 359
Lines ? 29807
Branches ? 0
=========================================
Hits ? 22623
Misses ? 5598
Partials ? 1586
Continue to review full report at Codecov.
|
d34cfae
to
13720a2
Compare
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
lgtm |
c.f. #8691.