[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-434) InternalDelegate doesn't relocate AOP nodes properly

Manik Surtani (JIRA) jira-events at lists.jboss.org
Wed Aug 1 14:29:51 EDT 2007


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

Manik Surtani updated JBCACHE-434:
----------------------------------

    Fix Version/s:     (was: 2.0.0.GA)

> InternalDelegate doesn't relocate AOP nodes properly
> ----------------------------------------------------
>
>                 Key: JBCACHE-434
>                 URL: http://jira.jboss.com/jira/browse/JBCACHE-434
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.2.4SP1
>            Reporter: twundke
>         Assigned To: Ben Wang
>         Attachments: relocate.txt
>
>
> When the object graph handler attempts to remove a node that has references to it, it relocates the data to the first referencing FQN in the list. However, InternalDelegate.relocate() fails to correctly update the AOP references. There is some commented-out code that seems to attempt to update the indirect FQN.
> I've attatched my updated code (for our demo), but it's overly complicated due to lack of time, sleep etc. In fact it fully updates the internal state of the cache for the node (including changing the indirect FQN, and changing all references to point to the new indirect FQN), which was the quickest way to get a solution at the time. You can probably cut out half of this by simply updating the indirect FQN correctly, which I presume was the intent in the first place. However, I believe this still only half-solves the problem as the reference counts need to be updated.
> Sorry if this is a bit of a vague bug report Ben, but I can't fully remember my thinking at the time. Hopefully my code at least shows all that has to be done to keep the cache consistent.

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