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

fix the log tailer to ensure it drains all remaining logs without waiting #20

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

sharkpc138
Copy link
Contributor

In the previous version, the tailer was designed to perform a drain operation on the channel receiver for remaining logs, ensuring the tailer could terminate gracefully.
To account for cases where logs might arrive after the drain attempt.

When disk delays occur, logs may still arrive after the drain operation.
This usually happens with larger log byte sizes, causing delays.

To address this, the tailer has been updated to ensure it can drain all remaining logs, even under such delayed conditions.

@sharkpc138 sharkpc138 merged commit d0df58b into main Dec 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant