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:58 UTC
[ignite] 01/01: IGNITE-12272 bench
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;