From ca646b87a986d5f2a5414a60e63b1cd6d287103c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 16 Mar 2026 01:21:06 -0700 Subject: [PATCH] storage: match default Go idx offset width --- seaweed-volume/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seaweed-volume/Cargo.toml b/seaweed-volume/Cargo.toml index f43851dee..327c08239 100644 --- a/seaweed-volume/Cargo.toml +++ b/seaweed-volume/Cargo.toml @@ -12,8 +12,9 @@ name = "weed-volume" path = "src/main.rs" [features] -default = ["5bytes"] -# Enable 5-byte offset mode for 8TB max volume size (matches Go production builds with -tags 5BytesOffset). +# Match the default Go build: 4-byte offsets unless explicitly built with 5-byte support. +default = [] +# Enable 5-byte offset mode for 8TB max volume size (matches Go builds with -tags 5BytesOffset). # Without this feature, uses 4-byte offsets with 32GB max volume size. 5bytes = []