Skip to content

fix: rate_limit log when drain is failing#385

Merged
rcoh merged 1 commit into
mainfrom
graceful-writer-errors
May 9, 2026
Merged

fix: rate_limit log when drain is failing#385
rcoh merged 1 commit into
mainfrom
graceful-writer-errors

Conversation

@rcoh

@rcoh rcoh commented May 9, 2026

Copy link
Copy Markdown
Contributor

when drained returns an io error, we would call it in a hot-ish (5ms delay) loop and create a lot of logspam.

There is a more nuanced consideration to how we should handle when the drain command is erroring that probably depends on the root cause of the individual error but this fixes the logspam.

@rcoh rcoh requested a review from jlizen May 9, 2026 12:05

@jlizen jlizen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for adding the new test infra!

@rcoh rcoh added this pull request to the merge queue May 9, 2026
Merged via the queue into main with commit 350145b May 9, 2026
20 checks 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.

2 participants