ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: test
Date Fri, 25 Nov 2016 12:41:34 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-binary-offheap [created] 2156e1610


test


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

Branch: refs/heads/ignite-binary-offheap
Commit: 2156e16100ec02bfe17ee3802bc57b09414817fa
Parents: 7b8d530
Author: sboikov <sboikov@gridgain.com>
Authored: Fri Nov 25 15:41:23 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Fri Nov 25 15:41:23 2016 +0300

----------------------------------------------------------------------
 .../apache/ignite/internal/processors/cache/GridCacheMapEntry.java | 2 ++
 .../processors/cache/binary/CacheObjectBinaryProcessorImpl.java    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2156e161/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
index aec28bb..9494f10 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheMapEntry.java
@@ -2813,6 +2813,8 @@ public abstract class GridCacheMapEntry extends GridMetadataAwareAdapter
impleme
                     ", ptr=" + offHeapPointer() + ']');
             }
 
+            assert obsolete();
+
             clearIndex(val);
 
             releaseSwap();

http://git-wip-us.apache.org/repos/asf/ignite/blob/2156e161/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
index 568a4da..03efca1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/binary/CacheObjectBinaryProcessorImpl.java
@@ -445,7 +445,7 @@ public class CacheObjectBinaryProcessorImpl extends IgniteCacheObjectProcessorIm
         byte type = GridUnsafe.getByte(ptr++);
 
         if (type != CacheObject.TYPE_BYTE_ARR) {
-            assert size > 0 : size;
+            assert size > 0 : "Invalid size [size=" + size + ", type=" + type + ']';
 
             BinaryInputStream in = new BinaryOffheapInputStream(ptr, size, forceHeap);
 


Mime
View raw message