]
Manik Surtani updated JBCACHE-1226:
-----------------------------------
Fix Version/s: 1.4.1.SP8
2.1.0.GA
Affects Version/s: 2.0.0.GA
Complexity: Medium
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, 2.0.0.GA
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Priority: Minor
Fix For: 1.4.1.SP8, 2.1.0.GA
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: