ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From voze...@apache.org
Subject ignite git commit: IGNITE-10109: MVCC: Fixed wrong keys post-processing on backup nodes. This closes #5247.
Date Mon, 05 Nov 2018 17:59:14 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-2.7 52bf4fbc0 -> 43ff87840


IGNITE-10109: MVCC: Fixed wrong keys post-processing on backup nodes. This closes #5247.


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

Branch: refs/heads/ignite-2.7
Commit: 43ff87840940994a3babb4953228fc6a0297a18e
Parents: 52bf4fb
Author: Igor Seliverstov <gvvinblade@gmail.com>
Authored: Mon Nov 5 20:58:16 2018 +0300
Committer: devozerov <ppozerov@gmail.com>
Committed: Mon Nov 5 20:59:08 2018 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/cache/GridCacheUtils.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/43ff8784/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
index c316621..ebf42fa 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheUtils.java
@@ -1755,7 +1755,7 @@ public class GridCacheUtils {
         boolean readThrough,
         boolean skipVals
     ) {
-        if (!readThrough || skipVals ||
+        if (cctx.mvccEnabled() || !readThrough || skipVals ||
             (key != null && !cctx.affinity().backupsByKey(key, topVer).contains(cctx.localNode())))
             return null;
 


Mime
View raw message