Skip to content

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

Merged
jasonodonnell merged 7 commits intomainfrom
quota-exp-deadlock-config
Oct 30, 2023
Merged

core: fix bug where deadlock detection was always on for expiration and quotas#23902
jasonodonnell merged 7 commits intomainfrom
quota-exp-deadlock-config

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 a team and elliesterner October 30, 2023 15:51
@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.

Copy link
Collaborator

@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.

@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
@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

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.

4 participants