ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: #sberb-27: do not check store for client nodes.
Date Thu, 11 Jun 2015 12:16:30 GMT
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 <ivasilinets@gridgain.com>
Authored: Thu Jun 11 15:16:24 2015 +0300
Committer: ivasilinets <ivasilinets@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


Mime
View raw message