Skip to content
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

Backport PR 13308 to release 3.4 #13999

Merged
merged 2 commits into from
May 6, 2022

Conversation

mitake
Copy link
Contributor

@mitake mitake commented Apr 29, 2022

This PR is backporting #13308 to release-3.4 like #13477.

Fix #13976

todo:

r-ashish and others added 2 commits April 29, 2022 23:43
…ying

To fix a bug in the retry logic caused when the auth token is cleared after receiving `ErrInvalidAuthToken` from the server and the subsequent call to `getToken` also fails due to some reason (eg. context deadline exceeded).
This leaves the client without a token and the retry will continue to fail with `ErrUserEmpty` unless the token is refreshed.
@mitake mitake marked this pull request as draft April 29, 2022 14:51
@mitake mitake changed the title WIP: Backport PR 13308 to release 3.4 Backport PR 13308 to release 3.4 Apr 30, 2022
@mitake mitake marked this pull request as ready for review April 30, 2022 15:56
@mitake
Copy link
Contributor Author

mitake commented Apr 30, 2022

@ahrtr I tested this PR on my local env and it resolved the issue, could you review?

@ahrtr
Copy link
Member

ahrtr commented Apr 30, 2022

Thanks @mitake .

Looks good to me. I also did some sanity test, and looks good. I think this PR is good to go. @ptabor @serathius @spzala

The pipeline failures should have nothing to do with this PR. I just submitted a verification PR (which has only a minor change on README.md), and there are also some failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants