ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: ignite-6149
Date Fri, 15 Sep 2017 09:05:52 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-6149 393f80246 -> 5e886653c


ignite-6149


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

Branch: refs/heads/ignite-6149
Commit: 5e886653ca4cf6f538121a0be854a8904e1b4417
Parents: 393f802
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Sep 15 12:05:44 2017 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Sep 15 12:05:44 2017 +0300

----------------------------------------------------------------------
 .../main/java/org/apache/ignite/yardstick/IgniteNode.java   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/5e886653/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
----------------------------------------------------------------------
diff --git a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
index a3a31d1..b1160de 100644
--- a/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
+++ b/modules/yardstick/src/main/java/org/apache/ignite/yardstick/IgniteNode.java
@@ -140,10 +140,11 @@ public class IgniteNode implements BenchmarkServer {
 
                 cc.setWriteBehindEnabled(args.isWriteBehind());
 
-                if (args.mvccEnabled() &&
-                    cc.getAtomicityMode() == CacheAtomicityMode.TRANSACTIONAL &&
-                    cc.getCacheMode() != CacheMode.LOCAL) {
-                    cc.setMvccEnabled(true);
+                if (args.mvccEnabled()) {
+                    if (cc.getAtomicityMode() == CacheAtomicityMode.TRANSACTIONAL &&
+                        cc.getCacheMode() != CacheMode.LOCAL)
+                        cc.setMvccEnabled(true);
+
                     cc.setNodeFilter(new TmpMvccNodeFilter());
                 }
 


Mime
View raw message