ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-5950 incorrect assertion fixed
Date Tue, 08 Aug 2017 08:37:52 GMT
Repository: ignite
Updated Branches:
  refs/heads/gridgain-web-console-2.1.3 [created] 2e5c343d9


IGNITE-5950 incorrect assertion fixed


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

Branch: refs/heads/gridgain-web-console-2.1.3
Commit: 2e5c343d911e353c6d82630d09562664cc5e89e2
Parents: 0eedf46
Author: Sergey Chugunov <sergey.chugunov@gmail.com>
Authored: Mon Aug 7 11:34:01 2017 +0300
Committer: Sergey Chugunov <sergey.chugunov@gmail.com>
Committed: Mon Aug 7 11:34:01 2017 +0300

----------------------------------------------------------------------
 .../cache/persistence/tree/io/PagePartitionCountersIO.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2e5c343d/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/tree/io/PagePartitionCountersIO.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/tree/io/PagePartitionCountersIO.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/tree/io/PagePartitionCountersIO.java
index 9bd806f..d5b81c1 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/tree/io/PagePartitionCountersIO.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/tree/io/PagePartitionCountersIO.java
@@ -129,7 +129,7 @@ public class PagePartitionCountersIO extends PageIO {
             long cacheSize = PageUtils.getLong(pageAddr, off);
             off += 8;
 
-            assert cacheSize > 0 : cacheSize;
+            assert cacheSize >= 0 : cacheSize;
 
             Long old = res.put(cacheId, cacheSize);
 


Mime
View raw message