optimize: use retry logic to end global trx#7283
Conversation
funky-eyes
left a comment
There was a problem hiding this comment.
Error: /home/runner/work/incubator-seata/incubator-seata/server/src/main/java/org/apache/seata/server/console/impl/AbstractGlobalService.java:23:8: Unused import - org.apache.seata.server.coordinator.DefaultCoordinator. [UnusedImports]
Error: /home/runner/work/incubator-seata/incubator-seata/server/src/main/java/org/apache/seata/server/console/impl/AbstractGlobalService.java:26:8: Unused import - org.apache.seata.server.session.SessionHolder. [UnusedImports]
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 2.x #7283 +/- ##
============================================
- Coverage 54.21% 54.20% -0.01%
+ Complexity 7267 7266 -1
============================================
Files 1178 1178
Lines 41969 41961 -8
Branches 4926 4923 -3
============================================
- Hits 22754 22746 -8
Misses 17063 17063
Partials 2152 2152
🚀 New features to boost your workflow:
|
fixed it |
Ⅰ. Describe what this PR did
Use retry logic to end global trx. Previously, there were some interfaces that did not have the end logic or were implemented in some other way
Ⅱ. 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