[infinispan-issues] [JBoss JIRA] Commented: (ISPN-835) State transfer should not force all invocations to be synchronous
John Ament (JIRA)
jira-events at lists.jboss.org
Thu Jan 20 10:59:49 EST 2011
[ https://issues.jboss.org/browse/ISPN-835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12576844#comment-12576844 ]
John Ament commented on ISPN-835:
---------------------------------
Well, looking at it, I thought #1 was already working in AS 6 Final, but figured not since my instances aren't working right in clusters. This is what the default config looks like in AS 6 Final, what would need to be changed to try #3?
<default>
<locking isolationLevel="REPEATABLE_READ" lockAcquisitionTimeout="15000" useLockStriping="false" concurrencyLevel="1000"/>
<jmxStatistics enabled="true"/>
<lazyDeserialization enabled="true"/>
<invocationBatching enabled="true"/>
<clustering mode="replication">
<!-- ISPN-835 workaround, use cluster cache loader in place of state transfer -->
<!--stateRetrieval timeout="60000" fetchInMemoryState="true"/-->
<async useReplQueue="false"/>
</clustering>
<loaders passivation="true">
<loader class="org.infinispan.loaders.file.FileCacheStore" fetchPersistentState="true" purgeOnStartup="true">
<properties>
<property name="location" value="${jboss.server.data.dir}${/}web"/>
</properties>
</loader>
<loader class="org.infinispan.loaders.cluster.ClusterCacheLoader"/>
</loaders>
</default>
> State transfer should not force all invocations to be synchronous
> -----------------------------------------------------------------
>
> Key: ISPN-835
> URL: https://issues.jboss.org/browse/ISPN-835
> Project: Infinispan
> Issue Type: Bug
> Components: RPC, State transfer
> Affects Versions: 4.1.0.Final, 4.2.0.CR4
> Reporter: Galder Zamarreño
> Assignee: Manik Surtani
> Fix For: 5.0.0.BETA1, 5.0.0.Final
>
>
> Enabling state transfer is forcing even asynchronous caches to become synchronous.
> A better way is needed to make sure state transfer works correctly (sync calls needed here) while normal replication calls remain asynchronous.
> See https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/remoting/transport/jgroups/CommandAwareRpcDispatcher.java#L254 where the response mode is overridden based on whether replay is supported. And replay support is always on when state transfer is enabled:
> https://github.com/infinispan/infinispan/blob/master/core/src/main/java/org/infinispan/remoting/rpc/RpcManagerImpl.java#L101
> Need to explore whether a joiner flag can be maintained based on a view change, and replay only supported when a joiner is still "joining", and not otherwise.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list