diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedGetFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedGetFuture.java index ffefe41937b56..0b9c4ade4be3a 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedGetFuture.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedGetFuture.java @@ -465,9 +465,7 @@ private boolean localGet(AffinityTopologyVersion topVer, KeyCacheObject key, int if (readNoEntry) { KeyCacheObject key0 = (KeyCacheObject)cctx.cacheObjects().prepareForCache(key, cctx); - CacheDataRow row = cctx.mvccEnabled() ? - cctx.offheap().mvccRead(cctx, key0, mvccSnapshot()) : - cctx.offheap().read(cctx, key0); + CacheDataRow row = cctx.offheap().read(cctx, key0); if (row != null) { long expireTime = row.expireTime(); diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java index 9fc935f170954..f27d55374e742 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridPartitionedSingleGetFuture.java @@ -190,7 +190,7 @@ public GridPartitionedSingleGetFuture( @Nullable MvccSnapshot mvccSnapshot ) { assert key != null; - assert mvccSnapshot == null || cctx.mvccEnabled(); + assert mvccSnapshot == null; AffinityTopologyVersion lockedTopVer = cctx.shared().lockedTopologyVersion(null);