Author: dereed
Date: 2010-04-07 17:15:40 -0400 (Wed, 07 Apr 2010)
New Revision: 8362
Modified:
core/trunk/src/main/java/org/jboss/cache/eviction/ExpirationAlgorithm.java
Log:
[JBCACHE-1574] Print WARN log when size > maxNodes, not <
Modified: core/trunk/src/main/java/org/jboss/cache/eviction/ExpirationAlgorithm.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/eviction/ExpirationAlgorithm.java 2010-04-01
03:35:01 UTC (rev 8361)
+++ core/trunk/src/main/java/org/jboss/cache/eviction/ExpirationAlgorithm.java 2010-04-07
21:15:40 UTC (rev 8362)
@@ -195,7 +195,7 @@
break;
}
}
- if (max != 0 && max > set.size())
+ if (max != 0 && set.size() > max )
log.warn("Unable to remove nodes to reduce region size below " +
config.getMaxNodes() + ". " +
"Set expiration for nodes in this region");
Show replies by date