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

0.6.0: When lockKey longer then branch_table, global lock will not unlock #1154

Closed
1 task
zhenjing opened this issue Jun 4, 2019 · 1 comment · Fixed by #1177
Closed
1 task

0.6.0: When lockKey longer then branch_table, global lock will not unlock #1154

zhenjing opened this issue Jun 4, 2019 · 1 comment · Fixed by #1177

Comments

@zhenjing
Copy link

zhenjing commented Jun 4, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

When addBranch fail, locker don't unlock normally.

DefaultCore line 76:

try {
globalSession.addBranch(branchSession);
} catch (RuntimeException ex) {
branchSession.unlock();
throw new TransactionException(FailedToAddBranch);
}

Ⅱ. Describe what happened

If there is an exception, please attach the exception trace:

Just paste your stack trace here!

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :
  • OS :
  • Others:
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 a pull request may close this issue.

2 participants