summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-06-30 17:57:27 +0100
committerSimon MacMullen <simon@rabbitmq.com>2011-06-30 17:57:27 +0100
commit0790ba94929adf0f9aa9fcf278c2217b1c7f7437 (patch)
tree9841d64e1fc11d64df5021fb8c57a276a4d352c2
parentd82810b06bc9b9640201a240704b4e862c78dda7 (diff)
downloadrabbitmq-server-git-0790ba94929adf0f9aa9fcf278c2217b1c7f7437.tar.gz
Note
-rw-r--r--src/mirrored_supervisor.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl
index b7e11464c0..988b37a44e 100644
--- a/src/mirrored_supervisor.erl
+++ b/src/mirrored_supervisor.erl
@@ -177,6 +177,8 @@ check_start(ChildSpec) ->
[S] -> #mirrored_sup_childspec{sup_pid = Pid} = S,
case alive(Pid) of
true -> already; %% TODO return real pid?
+ %% TODO this is broken. How can we test it? Can it
+ %% ever happen?
false -> delete(ChildSpec),
write(ChildSpec),
start