cfz cceb25d758
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.
2022-05-06 12:24:28 +08:00
..
2022-04-28 09:27:02 -07:00
2022-04-28 09:27:02 -07:00
2020-10-26 13:02:32 +01:00
2020-10-26 13:02:32 +01:00
2020-10-26 13:02:32 +01:00