[infinispan-dev] https://issues.jboss.org/browse/ISPN-2719

Mircea Markus mmarkus at redhat.com
Tue Aug 13 06:54:21 EDT 2013


On 13 Aug 2013, at 00:55, Madhu Venugopal (vmadhu) <vmadhu at cisco.com> wrote:

> Hi Mircea,
> 
> I asked this question in the IRC #infinispan.
> 
> Madhu:Recently I faced an issue wherein, putIfAbsent is not atomic for a NON_TRANSCTIONAL cache (Infinispan 5.2.3.final)

What is your use case precisely?
Does it happen during rehashing? ISPN-3366 and ISPN-3357 should fix that.

> [4:37pm]Madhu:Advice was to use TRANSACTIONAL Cache.
> [4:38pm]Madhu:Hence we replaced the DummyTransactionManager to JBossTransactionManager and used TRASCTIONAL cache.
> [4:39pm]Madhu:With this change, i see that putIfAbsent is behaving better. But, I am consistently running into an exception :
> [4:39pm]Madhu:org.infinispan.CacheException: Remote transaction for global transaction (RecoveryAwareGlobalTransaction{xid=< 131077, 29, 36, 0000000000-1-1-64-88-1100-573382911275000649, 0000000000-1-1-64-88-1100-573382911275000700000000 >, internalId=281483566645250} GlobalTransaction:<Madhu-Mac-19065>:2:remote) not found
> [4:39pm]Madhu:after this exception, the cache goes completely out of sync.
> [4:39pm]Madhu:Can Anyone help ?
> [4:43pm]Madhu:seems similar to https://issues.jboss.org/browse/ISPN-2719
> 
> I see that you are working on it. Can you please let me know if you want me to try out any patch. I will be glad to :-)
> 
> Thanks,
> Madhu

Cheers,
-- 
Mircea Markus
Infinispan lead (www.infinispan.org)







More information about the infinispan-dev mailing list