Skip to content

Do not show queues with deleted vhost. #1301

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

Merged
merged 1 commit into from
Jul 21, 2017
Merged

Conversation

hairyhum
Copy link
Contributor

When vhost does not exist for a queue, which reside on
a stopped node, the queue will not be displayed in the 'list_queues'
command output.
When a node goes back up, queues without vhost will be deleted.
[Fixes #1300]
[#149292743]

When vhost does not exist for a queue, which reside on
a stopped node, the queue will not be displayed in the 'list_queues'
command output.
When a node goes back up, queues without vhost will be deleted.
[Fixes #1300]
[#149292743]
@hairyhum hairyhum requested a review from dcorbacho July 21, 2017 14:34
{atomic, ok} =
mnesia:sync_transaction(
fun () ->
rabbit_log:error("Deleting ~p~n", [LocalQueuesWithoutVhost]),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be info rather than error?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd make it a warning and explain why it's being deleted.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was a debug message. Do you think it should stay?

@michaelklishin michaelklishin merged commit 823d3b0 into stable Jul 21, 2017
@michaelklishin
Copy link
Collaborator

Doh, I hit Merge in the wrong tab. Sorry.

@michaelklishin
Copy link
Collaborator

We agreed to do a couple of small adjustments in stable. The PR looks good in general.

@dumbbell dumbbell deleted the rabbitmq-server-1300 branch January 2, 2018 15:17
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