KAFKA-12442: Upgrade ZSTD JNI from 1.4.8-4 to 1.4.9-1#10285
KAFKA-12442: Upgrade ZSTD JNI from 1.4.8-4 to 1.4.9-1#10285chia7712 merged 1 commit intoapache:trunkfrom dongjoon-hyun:KAFKA-12442
Conversation
|
@dongjoon-hyun Hi Hyun, it looks good to me. I love this update. 😄 |
chia7712
left a comment
There was a problem hiding this comment.
@dongjoon-hyun thanks for your patch. No obvious performance regression from performance test (benchmark_test.py). +1
|
Thank you, @chia7712 and @dongjinleekr . |
|
Hi, @ijuma . Could you review this PR please? |
ijuma
left a comment
There was a problem hiding this comment.
LGTM. To be clear, there is no benefit from this change right now?
|
Since the new features are not used, you may right. However, I believe the benefits are three-fold.
|
|
Sounds good. |
|
Thank you, @ijuma . |
|
Thank you for review and merging, @chia7712 and all! |
|
@chia7712 worth cherry-picking to |
done! |
Since the new features are not used, you may right. However, I believe the benefits are three-fold. - There exists ZSTD side bug-fixes at ZSTD 1.4.9. - There exists ZSTD JNI side memory optimization improvements at ZSTD JNI 1.4.8-5 ~ 1.4.8-7. (This includes some incompatible changes and recovery. So, 1.4.9 is more human-readable stable version number.). - I hope this will reduce the chance of future potential version conflict issues across Apache projects. It's important when some downstream project starts to use new feature. - Apache Spark 3.2.0 will use ZSTD 1.4.9. (apache/spark@ba7e525) - Apache Parquet 1.12.0 will use ZSTD 1.4.9 (apache/parquet-java@66ac28c) - Apache Avro 1.10.3 will use ZSTD 1.4.9 (apache/avro@806667c) Reviewers: Lee Dongjin <dongjin@apache.org>, Ismael Juma <ismael@juma.me.uk>, Chia-Ping Tsai <chia7712@gmail.com>
This PR aims to upgrade ZSTD JNI from 1.4.8-4 to 1.4.9-1.
`ZStandard 1.4.9 and its corresponding JNI brings the following bug fixes and improvements.
One of notable improvement of ZStandard 1.4.9 is 2x faster Long Distance Mode, but we are not using it yet.
Since this is a dependency change, this should pass all the existing CIs.
Committer Checklist (excluded from commit message)