-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
Feature: save tcc action context to fencelog #4527
base: develop
Are you sure you want to change the base?
Conversation
This pull request introduces 2 alerts when merging 5f1932d91b22e0f2cf1cc90e219059e185a57471 into 660166a - view on LGTM.com new alerts:
|
tcc/src/main/java/io/seata/rm/tcc/context/store/FenceLogContextStoreManager.java
Show resolved
Hide resolved
5f1932d
to
2eb3087
Compare
Codecov Report
@@ Coverage Diff @@
## develop #4527 +/- ##
=============================================
+ Coverage 48.78% 48.83% +0.04%
- Complexity 4081 4168 +87
=============================================
Files 734 744 +10
Lines 25855 26602 +747
Branches 3191 3304 +113
=============================================
+ Hits 12614 12990 +376
- Misses 11899 12206 +307
- Partials 1342 1406 +64
|
This pull request introduces 2 alerts when merging 2eb30879587b95a9f9bde353efc6a8e0a5ae0fb8 into 29d83e8 - view on LGTM.com new alerts:
|
This pull request introduces 2 alerts when merging 9fbbf9ecff13b1efa7ca408491190d7e3090ceb3 into 5729a38 - view on LGTM.com new alerts:
|
9fbbf9e
to
bf69b49
Compare
This pull request introduces 1 alert when merging 9edea75 into caeb231 - view on LGTM.com new alerts:
|
1.用户开启该功能却没有新增application_data字段,应该给个友好的报错。 |
At present, the support of TCC anti suspension for third-party interface calls has some shortcomings. More best practices may be required to help users use TCC correctly. 目前 TCC 防悬挂对三方接口调用的支持存在一些不足,针对 TCC 这块可能需要提供更多的最佳实践来帮助用户正确的使用。 |
c3e5299
to
ce9b7ad
Compare
|
Ⅰ. Describe what this PR did
添加TCC上下文存储SPI扩展能力,并扩展实现将TCC的actionContext数据存储到本地防悬挂表中。
目前TCC在方悬挂情况下,如果一阶段有三方接口调用,TCC无法进入二阶段回滚。该类问题可以参阅#4532
Ⅱ. Does this pull request fix one issue?
fixes #4423
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews