Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vault: ensure ttl expired tokens are purge
If a token is scheduled for revocation expires before we revoke it, ensure that it is marked as purged in raft and is only removed from local vault state if the purge operation succeeds. Prior to this change, we may remove the accessor from local state but not purge it from Raft. This causes unnecessary and churn in the next leadership elections (and until 0.11.2 result in indefinite retries).
- Loading branch information