[jboss-jira] [JBoss JIRA] Created: (JBCACHE-717) PojoCache to lock parent node during transaction

Ben Wang (JIRA) jira-events at jboss.com
Thu Jul 27 05:26:11 EDT 2006


PojoCache to lock parent node during transaction
------------------------------------------------

                 Key: JBCACHE-717
                 URL: http://jira.jboss.com/jira/browse/JBCACHE-717
             Project: JBoss Cache
          Issue Type: Task
      Security Level: Public (Everyone can see)
          Components: PojoCache
            Reporter: Ben Wang
         Assigned To: Ben Wang
             Fix For: 2.0.0


In current 2.0 implementation, the TxLockInterceptor (applies for attach and detach) locks only the current node. This is not adequate, however, when the POJO is Collection. In that case, we will try to do another attach to the children (e.g., col/0, and col/1). In this case, we should lock the parent (/col) such that no other Collection operation can be applied.

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