-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
List amqp10 connections #5881
List amqp10 connections #5881
Conversation
7fa0ce7
to
2e62fef
Compare
in ETS, but not returned by rabbitmqctl
Maybe to fix this issue we can look up the process in ETC done by rabbit_connection_tracker module. At the moment, this is one reader process but when we query its info, the process crashes calling exactly the function which resolves user item info. crasher: initial call: rabbit_reader:init/3 pid: <0.769.0> exception error: no function clause matching rabbit_amqp1_0_reader:info_internal(user,
The issue was related to the supervisor hierarchy we used to search for the reader process
5318942
to
78f4aaf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MarcialRosales thank you for this! I just have one question.
Testing results look good...
|
List amqp10 connections (backport #5881)
This PR introduces 2 new bugs:
To reproduce, run
|
Proposed Changes
This PR fixes issue #4238.
The issue was due to how we searched for the reader process along the supervisor hierarchy tree.
Additionally, we added the missing
internal_info
method that provided the info itempid
which was missing from the reader module.Types of Changes
What types of changes does your code introduce to this project?
Put an
x
in the boxes that apply