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 3.5]: server/auth: enable tokenProvider if recoved store enables auth #13205

Merged
merged 1 commit into from
May 6, 2022

Commits on May 6, 2022

  1. server/auth: enable tokenProvider if recoved store enables auth

    we found a lease leak issue:
    if a new member(by member add) is recovered by snapshot, and then
    become leader, the lease will never expire afterwards. leader will
    log the revoke failure caused by "invalid auth token", since the
    token provider is not functional, and drops all generated token
    from upper layer, which in this case, is the lease revoking
    routine.
    cfz committed May 6, 2022
    Configuration menu
    Copy the full SHA
    cceb25d View commit details
    Browse the repository at this point in the history