Try fix hang in GridDhtPartitionTopologyImpl.waitForRent on node stop.
@@ -914,6 +914,8 @@ public class GridDhtLocalPartition implements Comparable<GridDhtLocalPartition>,
if (log.isDebugEnabled())
log.debug("Failed to clear cache entry for evicted partition: " + cached.partition());
+ rent.onDone(e);
+
throw e;
}
catch (IgniteCheckedException e) {
@@ -969,6 +971,8 @@ public class GridDhtLocalPartition implements Comparable<GridDhtLocalPartition>,
if (log.isDebugEnabled())
log.debug("Failed to get iterator for evicted partition: " + id);
+ rent.onDone(e);
+
throw e;
}
catch (IgniteCheckedException e) {
