Hello,<div><br></div><div>During adapting Infinispan into Hibernate Search I found that trying to commit transaction with many modifications (about 200 or more)</div><div>on cache causes an exception - only if there is more than one member in the cluster. </div>
<div>This same problem appears when try to call endBatch(). </div><div><br></div><div>i.e.:</div><div><br></div><div>begin transaction</div><div><div><br></div><div>for ( int i = 0; i &lt; 200; i++ )</div><div>         cache.put(key, value);</div>
<div><br></div></div><div>commit transaction</div><div><br></div><div>I&#39;m not sure if I do something wrong or it is Infinispan problem. Do you have some idea?  </div><div>Below is configuration I use.</div><div><br></div>
<div><div><span class="Apple-tab-span" style="white-space:pre">                </span></div><div><span class="Apple-tab-span" style="white-space:pre"></span>                GlobalConfiguration gc = GlobalConfiguration.getClusteredDefault();</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>Configuration c = new Configuration();</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>c.setInvocationBatchingEnabled( true );</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>c.setCacheMode( Configuration.CacheMode.REPL_SYNC );</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>c.setSyncReplTimeout( 30000 );</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>c.setLockAcquisitionTimeout( 60000 );</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>c.setUseLockStriping( false );</div><div><br>
</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>CacheManager manager = new DefaultCacheManager( gc, c );</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>cache = manager.getCache( &quot;TestCache&quot; );</div>
<div><br></div><div><span class="Apple-tab-span" style="white-space:pre">                </span>manager = new DefaultCacheManager( gc, c );</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>cache2 = manager.getCache( &quot;TestCache&quot; );</div>
</div><div><br><div><br></div><div>Lukasz Moren</div></div>