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: support oracle on delete tccfence logs #5124
Conversation
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 @wangliang181230 PTAL
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.
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
Codecov Report
@@ Coverage Diff @@
## develop #5124 +/- ##
=============================================
- Coverage 49.35% 48.99% -0.36%
- Complexity 4145 4169 +24
=============================================
Files 737 741 +4
Lines 26190 26521 +331
Branches 3232 3294 +62
=============================================
+ Hits 12925 12993 +68
- Misses 11881 12122 +241
- Partials 1384 1406 +22
|
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
…o 1114_for_5073 * '1114_for_5073' of https://github.com/zw201913/seata: bugfix: hikari datasource auto proxy fail (apache#5134) bugfix: rollback active xa connection fail (apache#5131) optimize: support oracle on delete tccfence logs (apache#5124) feature: support passing `contextPath` parameter to Nacos client (apache#5111) bugfix:NPE caused when there is no @GlobalTransactional annotation on the RM side (apache#5109) bugfix: Druid disable oracle implicit cache (apache#5098) bugfix: fix access key loss after server restart (apache#5097) optimize: remove druid dependency in ConnectionProxy (apache#5104) bugfix:fix ClassNotFoundException during the ZK unit test (apache#5101) bugfix: fix when seata and jpa are used together, their AutoConfiguration order is incorrect (apache#5092) optimize: lock priority attempts to insert (apache#4681) bugfix: update join condition placeholder param error (apache#5052)
Ⅰ. Describe what this PR did
支持oracle删除tccfence log。
在#4490 这个pr中对删除tccfence进行了优化,但是没考虑oracle的情况,所以用这个pr先支持oracle的删除。
特别说明:在4490pr里面新增了 query-by-date和delete-by-id之后,TCCFenceStoreDataBaseDAO .deleteTCCFenceDOByDate这个方法其实已经没有在使用,但由于初版的设计里对他也有改动,当时的pr里把deleteTCCFenceDOByDate里涉及的SQL语句和参数也增加了limit。这次把deleteTCCFenceDOByDate方法回滚还原回原来的样子直接支持oracle删除,而mysql等其他数据库由于不再使用这个dao方法也不会受影响。
Ⅱ. Does this pull request fix one issue?
fixes #5123
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews