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

Fix a Deadlock on HA leadership transfer #12691

Merged
merged 2 commits into from Oct 4, 2021

Conversation

hghaf099
Copy link
Contributor

Fix a Deadlock on HA leadership transfer when standby was actively forwarding a request
fixes GH #12601

was actively forwarding a request
fixes GH #12601
@ncabatoff ncabatoff added this to the 1.6.8 milestone Sep 30, 2021
@vercel vercel bot temporarily deployed to Preview – vault September 30, 2021 15:42 Inactive
@vercel vercel bot temporarily deployed to Preview – vault-storybook September 30, 2021 15:42 Inactive
@hghaf099 hghaf099 merged commit b435f09 into main Oct 4, 2021
@hghaf099 hghaf099 deleted the fix-deadlock-on-leadership-transfer branch October 4, 2021 17:55
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
hghaf099 added a commit that referenced this pull request Oct 4, 2021
* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH #12601

* adding the changelog
@write0nly
Copy link

@hghaf099 and @ncabatoff although this fix seems only to apply to perf standbys which are not included in OSS vault, can you please clarify if this fix applies to the OSS users too? It's unclear if the code path that leads to the deadlock applies to OSS.

Thanks.

@ncabatoff
Copy link
Contributor

Yes, it applies to OSS. The deadlock involves access to a mutex-protected field named perfStandby, but the field is accessed even by regular standbys.

@write0nly
Copy link

Thank you very much!

tionebsalocin added a commit to criteo-forks/vault that referenced this pull request Mar 14, 2022
…2691)

* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH hashicorp#12601

* adding the changelog
tionebsalocin pushed a commit to criteo-forks/vault that referenced this pull request Mar 15, 2022
…#12721)

* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH hashicorp#12601

* adding the changelog
tionebsalocin pushed a commit to criteo-forks/vault that referenced this pull request Mar 15, 2022
…#12722)

* Fix a Deadlock on HA leadership transfer when standby
was actively forwarding a request
fixes GH hashicorp#12601

* adding the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants