[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-913) Nodes added via state transfer ignored by eviction policies

Brian Stansberry (JIRA) jira-events at jboss.com
Tue Jan 2 23:02:28 EST 2007


     [ http://jira.jboss.com/jira/browse/JBCACHE-913?page=all ]

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: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list