Skip to content

Conversation

@mstrandboge
Copy link
Member

Summary

Fixes an issue where the disk buffer would not always flush if the buffer was emptied entirely by a metric batch

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15868

@mstrandboge mstrandboge self-assigned this Oct 2, 2024
@telegraf-tiger telegraf-tiger bot added the fix pr to fix corresponding bug label Oct 2, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two small simplifications...

@srebhan srebhan changed the title fix(agent.buffer): Fix buffer not flushing if all metrics are written Oct 7, 2024
Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DStrand1, please test again and merge if you are sure the changes are OK!

@srebhan srebhan added area/agent ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. labels Oct 7, 2024
@srebhan srebhan assigned srebhan and mstrandboge and unassigned mstrandboge and srebhan Oct 7, 2024
@mstrandboge mstrandboge merged commit 7435208 into influxdata:master Oct 7, 2024
28 of 29 checks passed
@mstrandboge mstrandboge deleted the fix/15868 branch October 7, 2024 16:32
@github-actions github-actions bot added this to the v1.32.1 milestone Oct 7, 2024
srebhan pushed a commit that referenced this pull request Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agent fix pr to fix corresponding bug ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.

2 participants