You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2015/12/21 17:50:53 UTC

incubator-geode git commit: GEODE-568: SharedConfiguration region scope needs to be DISTRIBUTED_ACK to make sure update events will fire in the correct order.

Repository: incubator-geode
Updated Branches:
  refs/heads/develop 341e29d1e -> 51ce64d81


GEODE-568: SharedConfiguration region scope needs to be DISTRIBUTED_ACK to make sure update events will fire in the correct order.

Closes #63


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

Branch: refs/heads/develop
Commit: 51ce64d81e0f2c9fdf6975b4b23aec5138078e00
Parents: 341e29d
Author: Jinmei Liao <ji...@pivotal.io>
Authored: Fri Dec 18 14:58:35 2015 -0800
Committer: Jens Deppe <jd...@pivotal.io>
Committed: Mon Dec 21 08:50:24 2015 -0800

----------------------------------------------------------------------
 .../gemstone/gemfire/distributed/internal/SharedConfiguration.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/51ce64d8/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/SharedConfiguration.java
----------------------------------------------------------------------
diff --git a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/SharedConfiguration.java b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/SharedConfiguration.java
index 4b7da5c..30a1da7 100644
--- a/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/SharedConfiguration.java
+++ b/gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/SharedConfiguration.java
@@ -646,6 +646,7 @@ public class SharedConfiguration {
         regionAttrsFactory.setDataPolicy(DataPolicy.PERSISTENT_REPLICATE);
         regionAttrsFactory.setCacheListener(new ConfigurationChangeListener(this));
         regionAttrsFactory.setDiskStoreName(CLUSTER_CONFIG_DISK_STORE_NAME);
+        regionAttrsFactory.setScope(Scope.DISTRIBUTED_ACK);
         InternalRegionArguments internalArgs = new InternalRegionArguments();
         internalArgs.setIsUsedForMetaRegion(true);
         internalArgs.setMetaRegionWithTransactions(false);