[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-945) Post-activation nodeActivated notification sent before node added to tree

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


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

Brian Stansberry closed JBCACHE-945.
------------------------------------

    Resolution: Done

> Post-activation nodeActivated notification sent before node added to tree
> -------------------------------------------------------------------------
>
>                 Key: JBCACHE-945
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-945
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Cache loaders
>    Affects Versions: 2.0.0.ALPHA2
>            Reporter: Brian Stansberry
>         Assigned To: Brian Stansberry
>             Fix For: 2.0.0.BETA1
>
>
> CacheLoaderInterceptor.loadData is sending out a post-activation notification prematurely, before the activated node is in the tree.  A listener that responds to the event by trying to read the node will generate a recursion (node not in tree, so again activated from cache loader, activation notification emitted, etc.)
> Solution is to emit the notifications in CacheLoaderInterceptor.loadNode, before and after the nodes are created/populated.

-- 
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