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

refactor: exceptionHandleTemplate #1040

Merged
merged 2 commits into from
May 15, 2019
Merged

refactor: exceptionHandleTemplate #1040

merged 2 commits into from
May 15, 2019

Conversation

leizhiyuan
Copy link
Contributor

@leizhiyuan leizhiyuan commented May 15, 2019

fix global status is null

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #922

image

notice! here, when occurs exception, what the correct global status should we return? please review it. I can change it later.

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

fix global status is null
@codecov-io
Copy link

codecov-io commented May 15, 2019

Codecov Report

Merging #1040 into develop will decrease coverage by 0.09%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             develop    #1040     +/-   ##
============================================
- Coverage       38.6%   38.51%   -0.1%     
  Complexity      1067     1067             
============================================
  Files            218      218             
  Lines           8701     8722     +21     
  Branches        1086     1088      +2     
============================================
  Hits            3359     3359             
- Misses          4920     4941     +21     
  Partials         422      422
Impacted Files Coverage Δ Complexity Δ
...in/java/io/seata/server/session/SessionHolder.java 54.79% <ø> (ø) 14 <0> (ø) ⬇️
...o/seata/server/session/AbstractSessionManager.java 73.21% <ø> (ø) 20 <0> (ø) ⬇️
...seata/core/exception/AbstractExceptionHandler.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...java/io/seata/server/AbstractTCInboundHandler.java 2% <0%> (-0.78%) 1 <0> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c0d3ef0...81267d0. Read the comment docs.

Copy link
Contributor

@zhangthen zhangthen left a comment

Choose a reason for hiding this comment

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

It's okey to me.

@slievrly slievrly changed the title reform transaction template refactor: exceptionHandleTemplate May 15, 2019
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
@leizhiyuan you can click resolve button

@slievrly slievrly merged commit 2986e37 into apache:develop May 15, 2019
nick-tan pushed a commit to nick-tan/seata that referenced this pull request Jul 12, 2019
@wangliang181230 wangliang181230 added this to the 0.5.* milestone Aug 9, 2021
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.

in some scene, global status is not right
5 participants