summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorkjnilsson <knilsson@pivotal.io>2019-06-18 11:31:28 +0100
committerkjnilsson <knilsson@pivotal.io>2019-06-18 11:31:28 +0100
commit9a371273abf8877b8cde4b6df5a2746fa035349c (patch)
tree7ab1927c2cf6e9bea4f20f0567a58e47f65908bf /src
parent2f958a03a04d781ad39290d0a12ee4b5d6f8201a (diff)
downloadrabbitmq-server-git-9a371273abf8877b8cde4b6df5a2746fa035349c.tar.gz
Delete server if add_member fails
Addressing a TODO of that effect.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_quorum_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_quorum_queue.erl b/src/rabbit_quorum_queue.erl
index 75bd9515f1..8ca80c4814 100644
--- a/src/rabbit_quorum_queue.erl
+++ b/src/rabbit_quorum_queue.erl
@@ -744,7 +744,7 @@ add_member(Q, Node) when ?amqqueue_is_quorum(Q) ->
{timeout, _} ->
{error, timeout};
E ->
- %% TODO should we stop the ra process here?
+ _ = ra:force_delete_server(ServerId),
E
end;
E ->