You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sb...@apache.org on 2015/06/11 14:16:30 UTC

incubator-ignite git commit: #sberb-27: do not check store for client nodes.

Repository: incubator-ignite
Updated Branches:
  refs/heads/sberb-27 f64ff3eab -> 0773efd02


#sberb-27: do not check store for client nodes.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/0773efd0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/0773efd0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/0773efd0

Branch: refs/heads/sberb-27
Commit: 0773efd02305631c2cb86cc68ee38bef84f4f498
Parents: f64ff3e
Author: ivasilinets <iv...@gridgain.com>
Authored: Thu Jun 11 15:16:24 2015 +0300
Committer: ivasilinets <iv...@gridgain.com>
Committed: Thu Jun 11 15:16:24 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/cache/GridCacheProcessor.java      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/0773efd0/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
index 5582ba7..694a478 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheProcessor.java
@@ -2285,7 +2285,8 @@ public class GridCacheProcessor extends GridProcessorAdapter {
             if (!isLocAff && isRmtAff && locCfg.getAtomicityMode() == TRANSACTIONAL) {
                 checkStore = locAttr.storeFactoryClassName() != null;
 
-                if (locAttr.storeFactoryClassName() == null && rmtAttr.storeFactoryClassName() != null)
+                if (locAttr.storeFactoryClassName() == null && rmtAttr.storeFactoryClassName() != null &&
+                    isRmtAff && isLocAff)
                     desc.updatesAllowed(false);
             }
             else