[jboss-jira] [JBoss JIRA] Created: (JBCACHE-1226) State transfer doesn't clean out persistent store if size of transferred persistent state is 0

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Nov 27 16:31:47 EST 2007


State transfer doesn't clean out persistent store if size of transferred persistent state is 0
----------------------------------------------------------------------------------------------

                 Key: JBCACHE-1226
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-1226
             Project: JBoss Cache
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Cache loaders
    Affects Versions: 1.4.1.SP7
            Reporter: Brian Stansberry
         Assigned To: Manik Surtani
            Priority: Minor


StateTransferIntegrator_140.integratePersistentState() is a no-op if the size of the provided persistent state is 0. So, if persistent state transfer is enabled but the provider doesn't have any persistent state to transfer, any stale persistent state laying around on the recipient will not get cleaned up.

A fix for this needs to properly discriminate between the above case and one where no persistent state is available because persistent state transfer is disabled.

Manik, I found this when a solution to an EJB3 bug didn't work as expected. I can tweak my solution to get around it, so this isn't urgent for me.  Feel free to assign to me, although I likely won't get to it for a long time.

This likely affects all releases in the 1.x series.  A *quick* look at how this works leads me to expect it's not an issue in 2.x.

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