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

bugfix: fix nested GlobalLock unbind prematurely #2698

Merged
merged 5 commits into from
Jun 5, 2020

Conversation

zjinlei
Copy link
Contributor

@zjinlei zjinlei commented May 19, 2020

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #2696

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Within an application service:
serviceA(@ GlobalLock + @ Transaction)->serviceB(@ GlobalLock + @ Transaction)

Ⅴ. Special notes for reviews

@zjinlei zjinlei changed the title bugfix: fix nested GlobalLock bugfix: fix nested GlobalLock unbind prematurely May 19, 2020
@codecov-commenter
Copy link

codecov-commenter commented May 19, 2020

Codecov Report

Merging #2698 into develop will decrease coverage by 0.01%.
The diff coverage is 50.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2698      +/-   ##
=============================================
- Coverage      50.50%   50.49%   -0.02%     
  Complexity      2921     2921              
=============================================
  Files            572      572              
  Lines          18610    18613       +3     
  Branches        2240     2241       +1     
=============================================
- Hits            9399     9398       -1     
  Misses          8285     8285              
- Partials         926      930       +4     
Impacted Files Coverage Δ Complexity Δ
.../src/main/java/io/seata/rm/GlobalLockTemplate.java 75.00% <50.00%> (-25.00%) 2.00 <1.00> (ø)
...o/seata/server/coordinator/DefaultCoordinator.java 54.63% <0.00%> (-0.52%) 28.00% <0.00%> (-1.00%)
...in/java/io/seata/server/session/GlobalSession.java 83.71% <0.00%> (-0.46%) 71.00% <0.00%> (-1.00%)

@zjinlei zjinlei added this to the 1.3.0 milestone May 19, 2020
@l81893521 l81893521 added the module/rm rm module label May 20, 2020
@zjinlei zjinlei closed this May 20, 2020
@zjinlei zjinlei reopened this May 20, 2020
Copy link
Contributor

@anrror anrror left a comment

Choose a reason for hiding this comment

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

LGTM
The problem has been solved

Copy link
Member

@jsbxyyx jsbxyyx left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@l81893521 l81893521 left a comment

Choose a reason for hiding this comment

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

LGTM

@l81893521 l81893521 merged commit 40bd36b into apache:develop Jun 5, 2020
@zjinlei zjinlei deleted the bugfix/nestedGlobalLock branch June 16, 2020 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/rm rm module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

关于GlobalLock未知错误
5 participants