[jboss-jira] [JBoss JIRA] Updated: (JBCACHE-1039) Pojocache dosen't support transactions on remove operation
Jacek Halat (JIRA)
jira-events at lists.jboss.org
Fri Apr 27 05:24:30 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1039?page=all ]
Jacek Halat updated JBCACHE-1039:
---------------------------------
Attachment: PojoCacheTransactionTest.java
JUnit to this issue
> Pojocache dosen't support transactions on remove operation
> ----------------------------------------------------------
>
> Key: JBCACHE-1039
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1039
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: PojoCache
> Affects Versions: 1.4.1.SP3
> Environment: Windows XP, jdk150_04
> Reporter: Jacek Halat
> Assigned To: Jason T. Greene
> Attachments: PojoCacheTransactionTest.java
>
>
> When node is removed from pojoCache in transaction, another thread immediatly can read value from removed node. OF course readed value is null.
> Expected result is that read thread should be blocked until remove thread release lock on removed node.
> Scenario:
> 1. Put object into PojoCache
> 2. Start transactio
> 3. Remove object from pojoCache
> 4. Start another transactio
> 5. Get object from pojocache.
> Expected reuslt is, that read thread should be locked unitl first thread release acquired lock on node.
> But in PojoCache read operation sucess and result is null!!!!!!!
> So, now it's in practice not possible to use pojocache in transactional enviroment
--
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