Skip to content

Add -follow to decompression#27

Merged
harshavardhana merged 3 commits intominio:mainfrom
klauspost:add-follow
Jan 4, 2026
Merged

Add -follow to decompression#27
harshavardhana merged 3 commits intominio:mainfrom
klauspost:add-follow

Conversation

@klauspost
Copy link
Copy Markdown
Collaborator

Allow following decompression with -follow.

Related changes:

  • Allows -offset without index.
  • (*Reader).ReadSeeker will reset offset if it fails.

This is similar to tail -fn +1 - but start offset can be manually set with -offset.

The decompressor will only exit on an error.

Example:

While running mc admin trace -all play | mz c - >trace.log.mz...

See content as it being written with.. mz cat -follow -c trace.log.mz

Allow following decompression `-follow`. Also allow doing -offset without index.
@harshavardhana harshavardhana merged commit 8430409 into minio:main Jan 4, 2026
23 checks passed
@klauspost klauspost deleted the add-follow branch January 4, 2026 16:15
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.

2 participants