Hi,
I am using 3.0.2 GA. I have a 'far cache' design. What i observed is:
1. I open JTA tx
2. write to local cache (which is hooked to remote cache via TcpDelegatingCacheLoader)
3. write to DB
4. rollback tx
5. get value from local cache
Result:
1) the far cache is correct, it never gets the value from step 2 which got rolledback
2)the local cache is *incorrect*, for some reason the value from step 2 remains in that
cache, and i can get it from step 5.
I observed the same results on both JBoss 4.2.3 and Resin 3.1.8
From the log files I see that the cache is actually aware of the TX
being rolled back:
21:41:43,906 INFO [STDOUT] 21:41:43,906 [http-127.0.0.1-8080-1] DEBUG
JtaTransactionManager:processRollback:821 - Initiating transaction rollback
21:41:43,906 INFO [STDOUT] 21:41:43,906 [http-127.0.0.1-8080-1] INFO
TMCacheListener:onNodeTransactioncompleted:24 - :
EventImpl{type=TRANSACTION_COMPLETED,pre=false, cache=org.jboss.cache.DataContainerImpl
[2nodes, 0 locks], modificationType=null, data=null, fqn=null,
transaction=TransactionImple < ac, BasicAction: -3f57fe88:11fc:4983ba4b:34 status:
ActionStatus.ABORTED >, originLocal=true, targetFqn=null, successful=false,
newView=null, buddyGroup=null}
Thank you.
RS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206034#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...