]
Brian Stansberry closed JBCACHE-913.
------------------------------------
Resolution: Done
Nodes added via state transfer ignored by eviction policies
-----------------------------------------------------------
Key: JBCACHE-913
URL:
http://jira.jboss.com/jira/browse/JBCACHE-913
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.ALPHA1, 1.4.0.SP1, 1.4.0.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
Fix For: 1.4.1.GA
Original Estimate: 4 hours
Remaining Estimate: 4 hours
When state transfer creates new nodes and adds them to the tree, any eviction policy is
unaware of the addition. As a result, those nodes are ignored for eviction unless they
are accessed.
This is a side effect of the addition of the EvictionInterceptor in 1.4.0. The state
transfer code generates TreeCacheListener node addition events, but with the
EvictionInterceptor, the eviction policies are no longer listening for the events.
Probable solution is to modify notifyAllNodesCreated to have it find any eviction region
for any nodes it has added. Then have it generate an EvictedEventNode and pass it to
Region.putNodeEvent.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: