Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented May 29, 2025

Not only when it is removed explicitly by the client. This is necessary to make sure the consumer record is removed from the management ETS tables (consumer_stats) and to avoid ghost consumers.

For other protocols like AMQP 091, the consumer_status ETS table is cleaned up when a channel goes down, but there is no channel concept in the stream protocol.

This is not consistent with other protocols or queue implementations (which emits the event only on explicit consumer cancellation) but is necessary to clean up stats correctly.

References #13092


This is an automatic backport of pull request #13970 done by Mergify.

Not only when it is removed explicitly by the client. This is necessary
to make sure the consumer record is removed from the management ETS
tables (consumer_stats) and to avoid ghost consumers.

For other protocols like AMQP 091, the consumer_status ETS table is
cleaned up when a channel goes down, but there is no channel concept in
the stream protocol.

This is not consistent with other protocols or queue implementations
(which emits the event only on explicit consumer cancellation)
but is necessary to clean up stats correctly.

References #13092

(cherry picked from commit 52c89ab)
@michaelklishin michaelklishin added this to the 4.1.1 milestone May 29, 2025
@michaelklishin
Copy link
Collaborator

@acogoluegnes the failure in clustering_prop_SUITE > non_parallel_tests > prop_connection_channel_counts_test on this branch (a backport) seems to be recurring.

@acogoluegnes
Copy link
Contributor

@michaelklishin The test passes locally for me, it seems to be OK now on CI, it was a glitch I guess. Can we merge this PR?

@michaelklishin michaelklishin merged commit 7410117 into v4.1.x Jun 2, 2025
534 of 538 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13970 branch June 2, 2025 07:57
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