-
Notifications
You must be signed in to change notification settings - Fork 3.1k
[pkg/stanza][fileconsumer] - finalize archive's implementation #39901
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
[pkg/stanza][fileconsumer] - finalize archive's implementation #39901
Conversation
91f3ea8
to
496796f
Compare
496796f
to
ecce69e
Compare
@djaglowski @andrzej-stencel Looking forward to hear your thoughts on this approach 😄 |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
cc: @andrzej-stencel |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some last comments on the docs and we should be good to go.
@andrzej-stencel Can you take a look when you're around? |
Please address feedback and resolve conflict and mark ready to review again. |
Please look at the conflict. |
…telemetry#39901) This PR finalizes the archive implementation and adds test case. It updates following things: 1. Updates tracker to track unmatched files as well. - Theoretically, we can perform a match against archive with a single fingerprint but it is not effecient as we'll need to access disk frequently. Refer open-telemetry#32727 (comment) for detailed discussion on this topic. - Thus, we first track all unmatched files and then perform match against archive to minimise disk access. 3. Introduces a `handleUnmatchedFiles` helper to create readers once archive matching is done. Relates: open-telemetry#38056 --------- Co-authored-by: Andrzej Stencel <[email protected]>
This PR finalizes the archive implementation and adds test case.
It updates following things:
exclude_older_than
is enabled #32727 (comment) for detailed discussion on this topic.handleUnmatchedFiles
helper to create readers once archive matching is done.Relates: #38056