ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anovi...@apache.org
Subject [18/50] [abbrv] incubator-ignite git commit: #IGNITE-96 Fixed GridCacheValueBytesPreloadingSelfTest test
Date Thu, 12 Feb 2015 10:34:00 GMT
#IGNITE-96 Fixed GridCacheValueBytesPreloadingSelfTest test


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

Branch: refs/heads/ignite-82
Commit: 9bfd7f191e6aa5367b53abf28609cece301134e4
Parents: 9e4d9a6
Author: nikolay_tikhonov <ntikhonov@gridgain.com>
Authored: Wed Feb 11 15:42:39 2015 +0300
Committer: nikolay_tikhonov <ntikhonov@gridgain.com>
Committed: Wed Feb 11 15:42:39 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/9bfd7f19/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSwapManager.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSwapManager.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSwapManager.java
index d833863..c00c778 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSwapManager.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheSwapManager.java
@@ -773,7 +773,7 @@ public class GridCacheSwapManager<K, V> extends GridCacheManagerAdapter<K,
V> {
                     GridCacheBatchSwapEntry<K, V> unswapped = new GridCacheBatchSwapEntry<>(key,
                         keyBytes,
                         part,
-                        ByteBuffer.wrap(entry.valueBytes()),
+                        entry.valueIsByteArray() ? null : ByteBuffer.wrap(entry.valueBytes()),
                         entry.valueIsByteArray(),
                         entry.version(), entry.ttl(),
                         entry.expireTime(),


Mime
View raw message