ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject [1/7] ignite git commit: IGNITE-3569 - Set copyOnRead property to FALSE for marshaller cache.
Date Wed, 27 Jul 2016 12:22:09 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3553 abed23b26 -> 6a3e59192


IGNITE-3569 - Set copyOnRead property to FALSE for marshaller cache.


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

Branch: refs/heads/ignite-3553
Commit: ac31334b1072a810bc7f8e0e782ec6e84a9edd66
Parents: 6917ec4
Author: dkarachentsev <dkarachentsev@gridgain.com>
Authored: Tue Jul 26 12:54:32 2016 +0300
Committer: dkarachentsev <dkarachentsev@gridgain.com>
Committed: Tue Jul 26 12:54:32 2016 +0300

----------------------------------------------------------------------
 .../src/main/java/org/apache/ignite/internal/IgnitionEx.java     | 2 ++
 .../processors/service/ServicePredicateAccessCacheTest.java      | 4 +++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ac31334b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
index 8062e6b..30f1d15 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/IgnitionEx.java
@@ -2164,6 +2164,7 @@ public class IgnitionEx {
             cache.setNodeFilter(CacheConfiguration.ALL_NODES);
             cache.setStartSize(300);
             cache.setRebalanceOrder(-2);//Prior to other system caches.
+            cache.setCopyOnRead(false);
 
             return cache;
         }
@@ -2185,6 +2186,7 @@ public class IgnitionEx {
             cache.setAffinity(new RendezvousAffinityFunction(false, 100));
             cache.setNodeFilter(CacheConfiguration.ALL_NODES);
             cache.setRebalanceOrder(-2); //Prior to user caches.
+            cache.setCopyOnRead(false);
 
             return cache;
         }

http://git-wip-us.apache.org/repos/asf/ignite/blob/ac31334b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServicePredicateAccessCacheTest.java
----------------------------------------------------------------------
diff --git a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServicePredicateAccessCacheTest.java
b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServicePredicateAccessCacheTest.java
index c91d9f1..5b446cc 100644
--- a/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServicePredicateAccessCacheTest.java
+++ b/modules/core/src/test/java/org/apache/ignite/internal/processors/service/ServicePredicateAccessCacheTest.java
@@ -19,7 +19,9 @@ package org.apache.ignite.internal.processors.service;
 
 import java.util.concurrent.Callable;
 import java.util.concurrent.CountDownLatch;
+
 import org.apache.ignite.Ignite;
+import org.apache.ignite.Ignition;
 import org.apache.ignite.cluster.ClusterGroup;
 import org.apache.ignite.cluster.ClusterNode;
 import org.apache.ignite.configuration.CacheConfiguration;
@@ -105,7 +107,7 @@ public class ServicePredicateAccessCacheTest extends GridCommonAbstractTest
{
 
                 System.out.println("Call contains key [thread=" + Thread.currentThread().getName()
+ ']');
 
-                boolean ret = ignite0.cache("testCache").containsKey(node.id().toString());
+                boolean ret = Ignition.localIgnite().cache("testCache").containsKey(node.id().toString());
 
                 System.out.println("After contains key [ret=" + ret +
                     ", thread=" + Thread.currentThread().getName() + ']');


Mime
View raw message