-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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: lazily load branch transactions and task scheduling #4086
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #4086 +/- ##
=============================================
+ Coverage 48.85% 48.93% +0.07%
- Complexity 3935 3952 +17
=============================================
Files 733 733
Lines 24900 24968 +68
Branches 3068 3088 +20
=============================================
+ Hits 12166 12219 +53
- Misses 11452 11454 +2
- Partials 1282 1295 +13
|
server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java
Show resolved
Hide resolved
server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java
Outdated
Show resolved
Hide resolved
server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java
Show resolved
Hide resolved
server/src/main/java/io/seata/server/coordinator/DefaultCoordinator.java
Show resolved
Hide resolved
This pull request introduces 1 alert when merging e1a8386 into 54b394e - view on LGTM.com new alerts:
|
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
@@ -252,15 +252,20 @@ public boolean doGlobalCommit(GlobalSession globalSession, boolean retrying) thr | |||
LOGGER.info("Committing global transaction is NOT done, xid = {}.", globalSession.getXid()); |
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.
Whether this logic can be deleted ?
Ⅰ. Describe what this PR did
xa模式对同一条数据增加库存 100并发 150秒
优化版db 模式
redis 模式
原版redis模式
原版db模式
Ⅱ. Does this pull request fix one issue?
fixes #4337
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews