]
Brian Stansberry closed EJBTHREE-956.
-------------------------------------
Fix Version/s: EJB 3.0 RC11 - FD
Resolution: Done
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: EJB 3.0 RC11 - FD, 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: