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

optimize: added interface to get current transaction role #3533

Merged
merged 4 commits into from
Feb 22, 2021

Conversation

funky-eyes
Copy link
Contributor

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #3532

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-io
Copy link

codecov-io commented Feb 22, 2021

Codecov Report

Merging #3533 (e5c20a5) into develop (2576e36) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #3533      +/-   ##
=============================================
- Coverage      51.97%   51.96%   -0.02%     
+ Complexity      3481     3479       -2     
=============================================
  Files            637      637              
  Lines          21053    21054       +1     
  Branches        2606     2606              
=============================================
- Hits           10943    10941       -2     
- Misses          9031     9032       +1     
- Partials        1079     1081       +2     
Impacted Files Coverage Δ Complexity Δ
...java/io/seata/tm/api/DefaultGlobalTransaction.java 65.09% <0.00%> (-0.62%) 23.00 <0.00> (ø)
...o/seata/server/coordinator/DefaultCoordinator.java 53.05% <0.00%> (-0.47%) 28.00% <0.00%> (-1.00%)
...in/java/io/seata/server/session/GlobalSession.java 82.89% <0.00%> (-0.44%) 75.00% <0.00%> (-1.00%)

@funky-eyes funky-eyes added this to the 1.5.0 milestone Feb 22, 2021
Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

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

LGTM

changes/en-us/1.5.0.md Outdated Show resolved Hide resolved
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

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

Successfully merging this pull request may close these issues.

AOP动态创建/关闭Seata分布式事务中怎么获取GlobalTransactionRole
5 participants