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

v2.1: Update metrics & ema before breaking the connection loop (backport of #4414) #4450

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 14, 2025

Problem

It is found that active_streams is none zero even after no connections to the server. This is due to we missed updating metrics in case of connection error when handling chunks.

Summary of Changes

Update metrics and ema before break conn loop.

Fixes #


This is an automatic backport of pull request #4414 done by [Mergify](https://mergify.com).

* Update metrics and ema before breaking connection loop

(cherry picked from commit 83919b8)
@mergify mergify bot requested a review from a team as a code owner January 14, 2025 02:55
@lijunwangs
Copy link

This is a regression introduced in v2.1 so the fix is better to be back ported to v2.1 to avoid misbehaving related to the EMA QOS and the confusing metrics.

@t-nelson
Copy link

@alessandrod you good to give sme approval for this bp?

@alessandrod alessandrod merged commit 0f3bdc8 into v2.1 Jan 15, 2025
28 checks passed
@alessandrod alessandrod deleted the mergify/bp/v2.1/pr-4414 branch January 15, 2025 22:55
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.

3 participants