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

add core state lock deadlock detection config option v2 #18604

Merged
merged 6 commits into from
Jan 11, 2023

Conversation

elliesterner
Copy link
Contributor

Updated PR based on #17020

@elliesterner elliesterner added this to the 1.13.0-rc1 milestone Jan 5, 2023
vault/test_cluster.go Fixed Show fixed Hide fixed
vault/test_cluster.go Fixed Show fixed Hide fixed
vault/test_cluster.go Fixed Show fixed Hide fixed
vault/test_cluster.go Fixed Show fixed Hide fixed
vault/test_cluster.go Fixed Show fixed Hide fixed
vault/test_cluster.go Fixed Show fixed Hide fixed
@vercel
Copy link

vercel bot commented Jan 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vault 🔄 Building (Inspect) Jan 6, 2023 at 9:43PM (UTC)

vault/test_cluster.go Outdated Show resolved Hide resolved
vault/core.go Outdated Show resolved Hide resolved
vault/testing.go Outdated Show resolved Hide resolved
@@ -1633,6 +1635,7 @@ func NewTestCluster(t testing.T, base *CoreConfig, opts *TestClusterOptions) *Te
}

if base != nil {
coreConfig.DetectDeadlocks = TestDeadlockDetection
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is very close to what I want. The only catch is, there's no way to turn it off. Maybe that's ok though, I can't come up with a good reason why I should have to be able to, given that I can use the tag. We can always revisit this later if need be.

@jasonodonnell jasonodonnell self-requested a review January 11, 2023 16:24
Copy link
Contributor

@jasonodonnell jasonodonnell left a comment

Choose a reason for hiding this comment

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

LGTM!

@elliesterner elliesterner merged commit 49da254 into main Jan 11, 2023
AnPucel pushed a commit that referenced this pull request Feb 3, 2023
* add core state lockd eadlock detection config option v2

* add changelog

* split out NewTestCluster function to maintain build flag

* replace long func with constant

* remove line

* rename file, and move where detect deadlock flag is set
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

3 participants