mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Related to #44956 Introduce StorageV3 constant to distinguish loon manifest format from StorageV2 packed writer format. When UseLoonFFI is enabled, segments are now marked with StorageVersion=3 instead of 2. The V3 format currently shares most V2 logic paths since the underlying storage format is similar. In a future refactor, V3-specific logic will be separated from the V2 code path for better readability. Changes: - Add StorageV3 constant (value=3) in Go and C++ code - Set StorageVersion=3 when UseLoonFFI is enabled for: - Compaction params - Import segments allocation - Write buffer growing segments - Streaming node segment allocation - Add V3 support to existing V2 code paths (read/write/sync) - Separate V2 and V3 writer creation in NewBinlogRecordWriter Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>