boluor commented on issue #3463:
URL: https://github.com/apache/doris-website/issues/3463#issuecomment-4524020086

   Thanks for the detailed source-code references! You are correct on both 
counts:
   
   1. The default really is **LZ4F** before 4.0.3 (not `lz4`). The change to 
`ZSTD` landed in apache/doris#58923 (`dev/4.0.3-merged`).
   2. The valid-values list was also incomplete — the actual accepted values 
are `LZ4, LZ4F, LZ4HC, ZLIB, ZSTD, SNAPPY, NONE` (case-insensitive), per 
`PropertyAnalyzer.stringToCompressionType`.
   
   Fix opened in #3746 covering current/dev and 4.x, EN + zh.
   
   Note: the FE config `default_compression_type` doesn't exist in `branch-2.1` 
or `branch-3.0` of apache/doris, so the 2.1 docs don't need this entry. The 
LZ4F values you cited from `tablet_schema.h` / `segment_v2.proto` / 
`olap_file.proto` are the BE-side storage defaults, which are a separate layer 
from this FE config (the FE config controls the default for newly created 
tables; the proto defaults govern serialized fallback at the BE storage layer). 
For 3.1.3, the FE config default of `LZ4F` matches the proto defaults you 
found, which is consistent.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to