diff options
author | Emile Joubert <emile@rabbitmq.com> | 2013-03-18 12:01:48 +0000 |
---|---|---|
committer | Emile Joubert <emile@rabbitmq.com> | 2013-03-18 12:01:48 +0000 |
commit | 01012b70dadc9f8e1bca13330caaacff04505f71 (patch) | |
tree | 9407aa15bcf37d33d65ae4382791f4ca13f0e621 | |
parent | 38f82dfc2e3743f101b2921750ea8d4bd679c5d2 (diff) | |
download | rabbitmq-server-bug25474.tar.gz |
Code comment about clearing partitionsbug25474
-rw-r--r-- | src/rabbit_node_monitor.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_node_monitor.erl b/src/rabbit_node_monitor.erl index 558596ef..de53b7f0 100644 --- a/src/rabbit_node_monitor.erl +++ b/src/rabbit_node_monitor.erl @@ -344,8 +344,8 @@ handle_dead_rabbit_state(State = #state{partitions = Partitions}) -> %% If we have been partitioned, and we are now in the only remaining %% partition, we no longer care about partitions - forget them. Note %% that we do not attempt to deal with individual (other) partitions - %% going away, it's only safe to forget *any* of them when we have seen - %% the back of *all* of them. + %% going away. It's only safe to forget anything about partitions when + %% there are no partitions. Partitions1 = case Partitions -- (Partitions -- alive_nodes()) of [] -> []; _ -> Partitions |