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] Simplify delete_after_read handling of deleted files #27435

Merged

Conversation

djaglowski
Copy link
Member

This removes some special handling for the delete_after_read setting. Previously, this code would ensure that if we shut down while reading, we forget about the files which we've deleted. This is unnecessary complexity since there's no harm in remembering files which we've deleted.

@djaglowski djaglowski marked this pull request as ready for review October 4, 2023 21:49
@djaglowski djaglowski requested a review from a team as a code owner October 4, 2023 21:49
@djaglowski djaglowski merged commit f0c2cf4 into open-telemetry:main Oct 4, 2023
86 checks passed
@djaglowski djaglowski deleted the pkg-stanza-reader-selfdelete branch October 4, 2023 22:38
@github-actions github-actions bot added this to the next release milestone Oct 4, 2023
jorgeancal pushed a commit to jorgeancal/opentelemetry-collector-contrib that referenced this pull request Oct 9, 2023
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
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.

None yet

3 participants