activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: Fix closing quorums on QuorumManager.stop
Date Mon, 26 Sep 2016 17:38:22 GMT
Fix closing quorums on QuorumManager.stop


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/f2c2ed32
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/f2c2ed32
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/f2c2ed32

Branch: refs/heads/master
Commit: f2c2ed32da7d380ad1f7422311fd3a14258c27a9
Parents: 147bc33
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Sat Sep 24 14:48:36 2016 +0300
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Mon Sep 26 13:38:08 2016 -0400

----------------------------------------------------------------------
 .../activemq/artemis/core/server/cluster/qourum/QuorumManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/f2c2ed32/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java
index 72bcb00..6b01b96 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumManager.java
@@ -96,10 +96,10 @@ public final class QuorumManager implements ClusterTopologyListener, ActiveMQCom
             }
          }
       }
-      quorums.clear();
       for (Quorum quorum : quorums.values()) {
          quorum.close();
       }
+      quorums.clear();
    }
 
    /**


Mime
View raw message