You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by av...@apache.org on 2019/12/24 13:54:57 UTC

[ignite] branch ignite-eviction-debug created (now b2c0835)

This is an automated email from the ASF dual-hosted git repository.

av pushed a change to branch ignite-eviction-debug
in repository https://gitbox.apache.org/repos/asf/ignite.git.


      at b2c0835  IGNITE-12272 bench

This branch includes the following new commits:

     new b2c0835  IGNITE-12272 bench

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[ignite] 01/01: IGNITE-12272 bench

Posted by av...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

av pushed a commit to branch ignite-eviction-debug
in repository https://gitbox.apache.org/repos/asf/ignite.git

commit b2c083564fb3b48ebe87042e0ed442dc0af3a74d
Author: Anton Vinogradov <av...@apache.org>
AuthorDate: Tue Dec 24 16:54:01 2019 +0300

    IGNITE-12272 bench
    
    Signed-off-by: Anton Vinogradov <av...@apache.org>
---
 .../cache/distributed/dht/topology/GridDhtLocalPartition.java          | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java
index 3ca3a1b..429b271 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/topology/GridDhtLocalPartition.java
@@ -482,8 +482,7 @@ public class GridDhtLocalPartition extends GridCacheConcurrentMapImpl implements
 
             int reservations = getReservations(state);
 
-            if (reservations == 0)
-                return;
+            assert reservations > 0;
 
             assert getPartState(state) != EVICTED : this;