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

[chore][pkg/stanza] Move truncated file detection into reader #27418

Conversation

djaglowski
Copy link
Member

This reworks a recent addition (See #27064) to how we handle rotated files.

The solution depends upon re-reading a file's fingerprint. This is unchanged, but most of the implementation is now localized to the reader struct.

@djaglowski djaglowski marked this pull request as ready for review October 3, 2023 22:24
@djaglowski djaglowski requested review from a team and atoulme October 3, 2023 22:24
@djaglowski djaglowski merged commit 49d4504 into open-telemetry:main Oct 3, 2023
84 of 94 checks passed
@djaglowski djaglowski deleted the pkg-stanza-reader-refresh-fingerprint branch October 3, 2023 22:43
@github-actions github-actions bot added this to the next release milestone Oct 3, 2023
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…elemetry#27418)

This reworks a recent addition (See open-telemetry#27064) to how we handle rotated
files.

The solution depends upon re-reading a file's fingerprint. This is
unchanged, but most of the implementation is now localized to the reader
struct.
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.

2 participants