geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [5/8] incubator-geode git commit: GEODE-514 Make sure we look for quorum only when networkPartition is enable.
Date Fri, 18 Mar 2016 16:28:28 GMT
GEODE-514 Make sure we look for quorum only when networkPartition is enable.


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/22b4330b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/22b4330b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/22b4330b

Branch: refs/heads/feature/GEODE-1050
Commit: 22b4330b9f395c8306d9e9266a4349f70c4fd5a8
Parents: 658981a
Author: Hitesh Khamesra <hkhamesra@pivotal.io>
Authored: Wed Mar 16 15:37:31 2016 -0700
Committer: Hitesh Khamesra <hkhamesra@pivotal.io>
Committed: Fri Mar 18 09:23:22 2016 -0700

----------------------------------------------------------------------
 .../internal/membership/gms/membership/GMSJoinLeave.java           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/22b4330b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
index 717a0ea..8440ab1 100755
--- a/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
+++ b/geode-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
@@ -1118,7 +1118,7 @@ public class GMSJoinLeave implements JoinLeave, MessageHandler {
     services.getConfig().getDistributionConfig().setEnableNetworkPartitionDetection(enabled);
 
     if (response.isUsePreferredCoordinators()) {
-      this.quorumRequired = true;
+      this.quorumRequired = enabled;
       logger.debug("The locator indicates that all locators should be preferred as coordinators");
       if (services.getLocator() != null
           || Locator.hasLocator()


Mime
View raw message