[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1296) Deleting and readding parent node in tx causes deleted children to survive
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Tue Feb 26 11:00:42 EST 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1296?page=comments#action_12400600 ]
Brian Stansberry commented on JBCACHE-1296:
-------------------------------------------
Speculation about a possible similar problem: data maps on deleted nodes. Node has data in it's map; it gets deleted and then re-established in the same tx but w/ different data. Does the old data survive? Should not. Don't know if there are tests for this; if not there should be.
> Deleting and readding parent node in tx causes deleted children to survive
> --------------------------------------------------------------------------
>
> Key: JBCACHE-1296
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1296
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.1.0.CR4
> Reporter: Brian Stansberry
> Assigned To: Manik Surtani
>
> If a parent node is deleted in a tx, and then in the same tx the parent node is reestablished, pre-existing children of the parent will remain in the cache after the tx commits. They should not.
> See test org.jboss.cache.api.DeletedChildResurrectionTest for examples. There are 4 tests, 2 each with pessimistic and optimistic locking. One variant reestablishes the parent by simple re-adding it. Another indirectly reestablishes the parent by adding a new child. All fail, but not always in the same way.
--
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