diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-24 13:56:57 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-09-24 13:56:57 +0100 |
| commit | 151b71f70bd6c930846450b7cf46fdde696d8622 (patch) | |
| tree | 32ff1b6f6bf8ebf518342d187321ac88c9497ee2 /src | |
| parent | 1a5d9a3a1630292cdcd72853a4284f2c9cf28f05 (diff) | |
| download | rabbitmq-server-git-151b71f70bd6c930846450b7cf46fdde696d8622.tar.gz | |
cosmetic
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_mnesia.erl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/rabbit_mnesia.erl b/src/rabbit_mnesia.erl index 0103be7f7c..93b8fed52b 100644 --- a/src/rabbit_mnesia.erl +++ b/src/rabbit_mnesia.erl @@ -1022,11 +1022,12 @@ change_extra_db_nodes(ClusterNodes0, CheckOtherNodes) -> Nodes end. -%% We're not using `mnesia:system_info(running_db_nodes)' directly because if -%% the node is a RAM node it won't know about other nodes when mnesia is stopped +%% We're not using `mnesia:system_info(running_db_nodes)' directly +%% because if the node is a RAM node it won't know about other nodes +%% when mnesia is stopped running_nodes(Nodes) -> - {Replies, _BadNodes} = - rpc:multicall(Nodes, rabbit_mnesia, is_running_remote, []), + {Replies, _BadNodes} = rpc:multicall(Nodes, + rabbit_mnesia, is_running_remote, []), [Node || {Running, Node} <- Replies, Running]. is_running_remote() -> {mnesia:system_info(is_running) =:= yes, node()}. |
