[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-956) StatefulTreeCache does not replicate removed parent if it has live nested children

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Sat May 5 01:21:52 EDT 2007


StatefulTreeCache does not replicate removed parent if it has live nested children
----------------------------------------------------------------------------------

                 Key: EJBTHREE-956
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-956
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: AS 4.2.0 CR2
            Reporter: Brian Stansberry
         Assigned To: Brian Stansberry
             Fix For: AS 4.2.0 GA


When StatefulTreeCache gets a callback from StatefulRemoveInterceptor telling it an @Remove method has been invoked, it only removes the bean context from the clustered cache if the bean doesn't have any live nested children.  Problem is, it also doesn't replicate the bean context.  Effect of this is that the other nodes in the cluster are made aware that the parent bean has been removed.

This problem occurs because the StatefulRemoveInterceptor handles the @Remove after the call has already passed through the StatefulReplicationInterceptor.

Solution is to have StatefulTreeCache.remove() replicate the context via a TreeCache.put() if the presence of live nested beans prevents it removing the context via a TreeCache.remove().

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