[infinispan-dev] Infinispan transaction commit with many modifications

Manik Surtani manik at jboss.org
Fri Aug 7 04:44:51 EDT 2009


Hi Lukasz

Thanks for reporting this, I believe Mircea is looking into it.   
You'll hear more from him soon.

	https://jira.jboss.org/jira/browse/ISPN-149

You may also want to join us on IRC - #infinispan on FreeNode - if you  
want to speak about this in real-time.  :)

Cheers
Manik

On 6 Aug 2009, at 20:07, Łukasz Moreń wrote:

> Hello,
>
> During adapting Infinispan into Hibernate Search I found that trying  
> to commit transaction with many modifications (about 200 or more)
> on cache causes an exception - only if there is more than one member  
> in the cluster.
> This same problem appears when try to call endBatch().
>
> i.e.:
>
> begin transaction
>
> for ( int i = 0; i < 200; i++ )
>          cache.put(key, value);
>
> commit transaction
>
> I'm not sure if I do something wrong or it is Infinispan problem. Do  
> you have some idea?
> Below is configuration I use.
>
> 		
>                 GlobalConfiguration gc =  
> GlobalConfiguration.getClusteredDefault();
>
> 		Configuration c = new Configuration();
> 		c.setInvocationBatchingEnabled( true );
> 		c.setCacheMode( Configuration.CacheMode.REPL_SYNC );
> 		c.setSyncReplTimeout( 30000 );
> 		c.setLockAcquisitionTimeout( 60000 );
> 		c.setUseLockStriping( false );
>
> 		CacheManager manager = new DefaultCacheManager( gc, c );
> 		cache = manager.getCache( "TestCache" );
>
> 		manager = new DefaultCacheManager( gc, c );
> 		cache2 = manager.getCache( "TestCache" );
>
>
> Lukasz Moren
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org








More information about the infinispan-dev mailing list