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

Fully drain messages during client.Stop #541

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

copybara-service[bot]
Copy link

Fully drain messages during client.Stop

Messages buffered by SortLoop were previously not drained and therefore not acked, leading to wrong metric counters.

The gist of this change is that SortLoop now waits for its buffered messages to be drained before returning.

@copybara-service copybara-service bot added the exported Exported change from internal source label Nov 6, 2024
@copybara-service copybara-service bot force-pushed the cl/693705921 branch 5 times, most recently from 658ae27 to c15716f Compare November 7, 2024 14:02
Messages buffered by `SortLoop` were previously not drained and therefore not acked, leading to wrong metric counters.

The gist of this change is that `SortLoop` now waits for its buffered messages to be drained before returning.

PiperOrigin-RevId: 694092374
@copybara-service copybara-service bot merged commit 94a0688 into master Nov 7, 2024
@copybara-service copybara-service bot deleted the cl/693705921 branch November 7, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exported Exported change from internal source
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant