ignite-4851 : Removed incorrect assertion for publicSize.

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

Branch: refs/heads/ignite-3477-master
Commit: b4e6e4a4abe0c3ca28ac58dccfc64c3682d69c36
Parents: f15e9a5
Author: Ilya Lantukh <[email protected]>
Authored: Mon Apr 10 17:52:12 2017 +0300
Committer: Ilya Lantukh <[email protected]>
Committed: Mon Apr 10 17:52:12 2017 +0300

----------------------------------------------------------------------
 .../processors/cache/distributed/dht/GridDhtLocalPartition.java     | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/b4e6e4a4/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
----------------------------------------------------------------------
diff --git 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
index cd69494..5c2445a 100644
--- 
a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
+++ 
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtLocalPartition.java
@@ -984,7 +984,6 @@ public class GridDhtLocalPartition extends 
GridCacheConcurrentMapImpl implements
             long state = this.state.get();
 
             assert getPartState(state) != EVICTED;
-            assert getSize(state) > 0;
 
             if (this.state.compareAndSet(state, setSize(state, getSize(state) 
- 1)))
                 return;

Reply via email to