diff options
| author | Daniil Fedotov <hairyhum@gmail.com> | 2018-03-14 11:56:12 +0000 |
|---|---|---|
| committer | Daniil Fedotov <hairyhum@gmail.com> | 2018-03-14 11:59:38 +0000 |
| commit | 3e7bd564bda36c1bbb9e3b59b61509d0982a88ec (patch) | |
| tree | dea977db550263c69c22bdfba6a08e95c544bb2c /src/lqueue.erl | |
| parent | 500d31679603b6eaf9f70ad5237e7ec2070b30b8 (diff) | |
| download | rabbitmq-server-git-3e7bd564bda36c1bbb9e3b59b61509d0982a88ec.tar.gz | |
Force-delete queues, which have no live master or slave processes.
Fixes #1501
[#155801556]
If a queue is configured to not be promoted (via ha-promote-on-shutdown: when-synced)
queue.delete can hang. Make it check for process existense first and
force-delete if no master of slave processes are running.
Do not force-delete if if_empty is set, since there is no
way to check that the queue is empty.
Diffstat (limited to 'src/lqueue.erl')
0 files changed, 0 insertions, 0 deletions
