Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle multiple zstd streams appended to a single IR file #14

Open
diy1 opened this issue Mar 3, 2023 · 0 comments
Open

Handle multiple zstd streams appended to a single IR file #14

diy1 opened this issue Mar 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@diy1
Copy link

diy1 commented Mar 3, 2023

Request

An IR file could contain multiple zstd streams that are appended one after the other. This could happen when using the CLP Python logging library: for example, if we invoke a program multiple times, each invocation essentially appends a zstd IR stream to the same log file. Currently the log viewer only decodes and display the first stream. To the user, this is like all the data from subsequent invocations are lost.

Possible implementation

The log viewer will need to decompress multiple zstd streams until it reaches EOF. There might be some tricky issues like what if different streams use different headers.

@diy1 diy1 added the enhancement New feature or request label Mar 3, 2023
junhaoliao pushed a commit to junhaoliao/yscope-log-viewer that referenced this issue Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant