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

Commits on Apr 29, 2022

  1. client/v3: refresh the token when ErrUserEmpty is received while retr…

    …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.
    r-ashish authored and mitake committed Apr 29, 2022
    Configuration menu
    Copy the full SHA
    9bbdeb4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    757a8e8 View commit details
    Browse the repository at this point in the history