-
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
feature: support rollback info compress #3172
feature: support rollback info compress #3172
Conversation
zip(default)和gzip两种压缩方式的压缩比例都挺高的,然后总的压缩+插入时间也比较短 |
good job |
ps: 以上测试时间数据都是在MySQL下测试得来,pg和Oracle只是进行了功能测试,没有进行性能测试。 |
补一下测试的时候的日志和统计数据。 |
rm-datasource/src/main/java/io/seata/rm/datasource/undo/oracle/OracleUndoLogManager.java
Outdated
Show resolved
Hide resolved
config.txt application.properties application.properties supplement the related configuration |
...pring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
Show resolved
Hide resolved
…roperties template
…o' into feature-add-zip-for-rollback-info
Codecov Report
@@ Coverage Diff @@
## develop #3172 +/- ##
=============================================
- Coverage 51.11% 50.96% -0.15%
+ Complexity 3297 3295 -2
=============================================
Files 614 616 +2
Lines 20125 20180 +55
Branches 2514 2524 +10
=============================================
- Hits 10287 10285 -2
- Misses 8806 8857 +51
- Partials 1032 1038 +6
|
…o' into feature-add-zip-for-rollback-info
rm-datasource/src/main/java/io/seata/rm/datasource/undo/AbstractUndoLogManager.java
Outdated
Show resolved
Hide resolved
…o' into feature-add-zip-for-rollback-info
# Conflicts: # seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java
# Conflicts: # script/client/spring/application.properties # script/client/spring/application.yml # script/config-center/config.txt # seata-spring-boot-starter/src/main/java/io/seata/spring/boot/autoconfigure/StarterConstants.java
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
# Conflicts: # compressor/seata-compressor-all/pom.xml
Ⅰ. Describe what this PR did
support rollback info compress
支持对undo_log中的rollback_info进行压缩存储
顺便把 OracleUndoLogManager 和 PostgresqlUndoLogManager 中的hard code用常量替换了
Ⅱ. Does this pull request fix one issue?
fixes #3159
Ⅲ. Why don't you add test cases (unit test/integration test)?
already add
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews