summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue_process.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index ea0a3153c3..9f864d2842 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1117,7 +1117,7 @@ handle_call({init, Recover}, From,
new -> rabbit_log:warning(
"exclusive owner for ~s went away~n",
[rabbit_misc:rs(QName)]);
- _ -> ok
+ _ -> ok %% [1]
end,
BQ = backing_queue_module(Q),
BQS = bq_init(BQ, Q, Recover),
@@ -1126,6 +1126,10 @@ handle_call({init, Recover}, From,
State#q{backing_queue = BQ, backing_queue_state = BQS}}
end;
+%% [1] You used to be able to declare an exclusive durable queue. Sadly we
+%% need to still tidy up after that case, there could be the remnants of one
+%% left over from an upgrade.
+
handle_call(info, _From, State) ->
reply(infos(?INFO_KEYS, State), State);