Skip to content
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

[cherry-pick](branch-2.0) Pick "[Fix](LZ4 compression) Fix wrong LZ4 compression max input size limit (#41239)" #41504

Open
wants to merge 1 commit into
base: branch-2.0
Choose a base branch
from

Commits on Sep 30, 2024

  1. [Fix](LZ4 compression) Fix wrong LZ4 compression max input size limit (

    …apache#41239)
    
    ## Proposed changes
    
    LZ4 compression max supported value is LZ4_MAX_INPUT_SIZE, which is
    0x7E000000(2,113,929,216 bytes). Doris use wrong max size INT_MAX, which
    is 2,147,483,647, to check. If input data size is between this two size,
    then it can pass the check but LZ4 compression will fail.
    
    This PR fix it.
    
    <!--Describe your changes.-->
    Yukang-Lian committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    b1d0847 View commit details
    Browse the repository at this point in the history