[jboss-jira] [JBoss JIRA] Created: (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 10:45:57 EST 2008


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