summaryrefslogtreecommitdiff
path: root/src/lqueue.erl
diff options
context:
space:
mode:
authorDaniil Fedotov <hairyhum@gmail.com>2018-03-14 11:56:12 +0000
committerDaniil Fedotov <hairyhum@gmail.com>2018-03-14 11:59:38 +0000
commit3e7bd564bda36c1bbb9e3b59b61509d0982a88ec (patch)
treedea977db550263c69c22bdfba6a08e95c544bb2c /src/lqueue.erl
parent500d31679603b6eaf9f70ad5237e7ec2070b30b8 (diff)
downloadrabbitmq-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