Skip to content

Conversation

VihasMakwana
Copy link
Contributor

@VihasMakwana VihasMakwana commented May 6, 2025

This PR finalizes the archive implementation and adds test case.

It updates following things:

  1. Updates tracker to track unmatched files as well.
  2. Introduces a handleUnmatchedFiles helper to create readers once archive matching is done.

Relates: #38056

@VihasMakwana VihasMakwana force-pushed the archive-implementation branch from 91f3ea8 to 496796f Compare May 6, 2025 18:52
@VihasMakwana VihasMakwana changed the title [pkg/stanza][fileconsumer[ - finalize archive's implementation [pkg/stanza][fileconsumer] - finalize archive's implementation May 6, 2025
@VihasMakwana VihasMakwana force-pushed the archive-implementation branch from 496796f to ecce69e Compare May 6, 2025 19:12
@VihasMakwana
Copy link
Contributor Author

@djaglowski @andrzej-stencel Looking forward to hear your thoughts on this approach 😄

Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label May 30, 2025
@VihasMakwana
Copy link
Contributor Author

cc: @andrzej-stencel

@github-actions github-actions bot removed the Stale label May 31, 2025
@atoulme atoulme removed the request for review from djaglowski June 3, 2025 00:19
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jun 21, 2025
Copy link
Member

@andrzej-stencel andrzej-stencel left a 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.

@VihasMakwana
Copy link
Contributor Author

@andrzej-stencel Can you take a look when you're around?

@atoulme
Copy link
Contributor

atoulme commented Jul 25, 2025

Please address feedback and resolve conflict and mark ready to review again.

@VihasMakwana VihasMakwana marked this pull request as ready for review July 25, 2025 21:05
@atoulme
Copy link
Contributor

atoulme commented Jul 30, 2025

Please look at the conflict.

@andrzej-stencel andrzej-stencel merged commit ff80489 into open-telemetry:main Aug 2, 2025
297 of 299 checks passed
Dylan-M pushed a commit to Dylan-M/opentelemetry-collector-contrib that referenced this pull request Aug 5, 2025
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants