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

Unique lock key based on database and table name #8492

Closed
wants to merge 2 commits into from

Conversation

pandeybk
Copy link

@pandeybk pandeybk commented Mar 6, 2020

If multiple instances of Vault deployment trying to use the same MySQL DB endpoint, the first deployment will hold lock forever and others deployment will fail to insert record in the lock table, which is causing the following issue,


URL: GET https://127.0.0.1:8200/v1/sys/leader
Code: 500. Errors:

* SQL: no rows in result set

The unique lock key per vault deployment will resolve this problem.

Signed-off-by: Balkrishna Pandey <balkrishna.pandey@charter.com>
@hashicorp-cla
Copy link

hashicorp-cla commented Mar 6, 2020

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes


1 out of 2 committers have signed the CLA.

  • pandeybk
  • Balkrishna Pandey

Balkrishna Pandey seems not to be a GitHub user.
You need a GitHub account to be able to sign the CLA. If you already have a GitHub account, please add the email address used for this commit to your account.

Have you signed the CLA already but the status is still pending? Recheck it.

Signed-off-by: Balkrishna Pandey <sachit.nep@gmail.com>
@pandeybk pandeybk closed this Mar 6, 2020
@pandeybk pandeybk deleted the issue_8458 branch March 6, 2020 17:27
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