summaryrefslogtreecommitdiff
path: root/src/lqueue.erl
diff options
context:
space:
mode:
authorDaniil Fedotov <hairyhum@gmail.com>2018-03-14 11:56:12 +0000
committerMichael Klishin <michael@clojurewerkz.org>2018-03-15 21:55:09 +0300
commit97db801ae37b610b69c232e2333daa3f6ce75b61 (patch)
tree0599d139a3cbe4ae0c4256e19dea6c0a59518677 /src/lqueue.erl
parent39f446e0ce40b93949214ae20e9b1a9fbbb2df25 (diff)
downloadrabbitmq-server-git-97db801ae37b610b69c232e2333daa3f6ce75b61.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. (cherry picked from commit 3e7bd564bda36c1bbb9e3b59b61509d0982a88ec)
Diffstat (limited to 'src/lqueue.erl')
0 files changed, 0 insertions, 0 deletions