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

server/vault: Lock Vault expiration tracking #4956

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Dec 4, 2018

currentExpiration field is accessed in multiple goroutines: Stats and
renewal, so needs locking.

I don't anticipate high contention, so simple mutex suffices.

Follow up to #4817 (review)

`currentExpiration` field is accessed in multiple goroutines: Stats and
renewal, so needs locking.

I don't anticipate high contention, so simple mutex suffices.
@notnoop notnoop changed the title server/nomad: Lock Vault expiration tracking server/vault: Lock Vault expiration tracking Dec 4, 2018
@notnoop notnoop requested a review from dadgar December 4, 2018 14:30
@notnoop notnoop merged commit 661dc4b into master Dec 5, 2018
@notnoop notnoop deleted the b-vault-client-tweaks-followup branch December 5, 2018 00:50
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants