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

core: fix bug where deadlock detection was always on for expiration and quotas #23902

Merged
merged 7 commits into from Oct 30, 2023

Conversation

jasonodonnell
Copy link
Contributor

@jasonodonnell jasonodonnell commented Oct 30, 2023

PR #18604 introduced a bug where deadlock detection was always on for both expiration and quota subsystems. This can result in negative server performance as deadlock detection adds overhead to locks.

Deadlock detection can now be toggled on expiration and quotas via detect_deadlocks="statelock,expiration,quotas".

@jasonodonnell jasonodonnell requested review from elliesterner and a team October 30, 2023 15:51
@jasonodonnell jasonodonnell added backport/1.13.x Backport changes to `release/1.13.x` backport/1.14.x Backport changes to `release/1.14.x` backport/1.15.x Backport changes to `release/1.15.x` labels Oct 30, 2023
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Oct 30, 2023
@jasonodonnell jasonodonnell added this to the 1.15.2 milestone Oct 30, 2023
@github-actions
Copy link

CI Results:
All Go tests succeeded! ✅

Copy link
Collaborator

@ncabatoff ncabatoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing changelog but otherwise seems good to go.

vault/core.go Outdated Show resolved Hide resolved
Copy link
Contributor

@raskchanky raskchanky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

vault/core.go Outdated Show resolved Hide resolved
@jasonodonnell jasonodonnell marked this pull request as ready for review October 30, 2023 16:17
@jasonodonnell jasonodonnell requested a review from a team as a code owner October 30, 2023 16:17
vault/core.go Outdated Show resolved Hide resolved
@github-actions
Copy link

Build Results:
All builds succeeded! ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.13.x Backport changes to `release/1.13.x` backport/1.14.x Backport changes to `release/1.14.x` backport/1.15.x Backport changes to `release/1.15.x` hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants