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

Make fairsharing stop function async #11012

Merged
merged 2 commits into from
Feb 25, 2021

Conversation

swayne275
Copy link
Contributor

We were seeing occasional lock contention with m.coreStateLock during shutdown. This appears to have fixed it

Previously the lock contention happened after about 2000 runs of TestTokenStore_Revoke$. I have ran it about 75,000 times now with no issues.

Failure we saw: https://app.circleci.com/pipelines/github/hashicorp/vault/15495/workflows/abd55d71-742a-41f9-aa49-4347320518e3/jobs/155458

how to exercise multiple times (using @ncabatoff untilfail tool): go test -tags deadlock -c -o testvault ./vault; untilfail -parallel=20 ./testvault -test.run 'TestTokenStore_Revoke$'

@swayne275 swayne275 merged commit 8119900 into master Feb 25, 2021
@swayne275 swayne275 deleted the fix-revocation-failure-during-test branch February 25, 2021 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants