Skip to content

fix: store object multipart upload metadata compressed#2125

Open
niksis02 wants to merge 1 commit into
mainfrom
sis/compress-mp-metadata
Open

fix: store object multipart upload metadata compressed#2125
niksis02 wants to merge 1 commit into
mainfrom
sis/compress-mp-metadata

Conversation

@niksis02
Copy link
Copy Markdown
Contributor

@niksis02 niksis02 commented May 8, 2026

Store multipart upload metadata through shared backend helpers so POSIX and Azure use the same encode/decode path. POSIX stores raw gzipped JSON in metadata stores, while Azure stores base64-encoded gzip for string metadata. Retrieval falls back to the legacy raw JSON format for existing objects. Storing the mp metadata compressed in posix will guarantee that for any allowed number of parts, the metadata won't exceed the xattr threshold(64KB).

Store multipart upload metadata through shared backend helpers so POSIX and Azure use the same encode/decode path. POSIX stores raw gzipped JSON in metadata stores, while Azure stores base64-encoded gzip for string metadata. Retrieval falls back to the legacy raw JSON format for existing objects. Storing the mp metadata compressed in posix will guarantee that for any allowed number of parts, the metadata won't exceed the xattr threshold(64KB).
@niksis02 niksis02 self-assigned this May 8, 2026
@niksis02 niksis02 requested a review from benmcclelland May 8, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant