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: do not execute triggerAfterCommit() in case of timeout #4958
Conversation
# Conflicts: # server/src/main/java/io/seata/server/console/impl/file/GlobalSessionFileServiceImpl.java
Codecov Report
@@ Coverage Diff @@
## develop #4958 +/- ##
=============================================
- Coverage 48.77% 48.76% -0.01%
Complexity 4078 4078
=============================================
Files 734 734
Lines 25855 25855
Branches 3190 3190
=============================================
- Hits 12610 12609 -1
Misses 11902 11902
- Partials 1343 1344 +1
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 标题要改下,pr做个登记
马上改好,话说 https://github.com/seata/seata/pull/4445/files 这个PR也忘记登记了怎么办,要不要重新在这个PR里补一下 |
go ahead. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does a TimeoutRollback transaction execute the before commit hook cause business inconsistency issues?
Ⅰ. Describe what this PR did
direct use of TransactionManager.commit () whether do check is timeout
Ⅱ. Does this pull request fix one issue?
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews