Skip to content

rabbit_{connection,channel}_tracking: Fix race condition in list() #3324

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

Conversation

dumbbell
Copy link
Collaborator

The table might not exist yet (or is already gone) between the time rabbit_nodes:all_running() runs and returns a specific node, and mnesia:dirty_match_object() is called for that node's table.

This seems to happen frequently in CI.

The table might not exist yet (or is already gone) between the time
rabbit_nodes:all_running() runs and returns a specific node, and
mnesia:dirty_match_object() is called for that node's table.

This seems to happen frequently in CI.
@dumbbell
Copy link
Collaborator Author

If this patch is accepted, I believe it's a good candidate for backport to 3.9.x and 3.8.x.

@michaelklishin michaelklishin merged commit 4169531 into master Aug 19, 2021
@michaelklishin michaelklishin deleted the fix-race-condition-in-connection-channel-tracking-list-function branch August 19, 2021 15:52
@michaelklishin
Copy link
Collaborator

@Mergifyio backport v3.9.x v3.8.x

@mergify
Copy link

mergify bot commented Aug 19, 2021

Command backport v3.9.x v3.8.x: success

Backports have been created

michaelklishin added a commit that referenced this pull request Aug 19, 2021
rabbit_{connection,channel}_tracking: Fix race condition in list() (backport #3324)
michaelklishin added a commit that referenced this pull request Aug 19, 2021
rabbit_{connection,channel}_tracking: Fix race condition in list() (backport #3324)
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