-
Bug
-
Resolution: Done
-
Major
-
5.1.3.CR1
-
None
Several things are not right in the forum post above:
1. The XML file should not allow both stateRetrieval (deprecated) and stateTransfer to be defined:
<?xml version="1.0" encoding="UTF-8"?> <infinispan xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd" xmlns="urn:infinispan:config:5.1"> <global> <transport clusterName="hotrod-test" distributedSyncTimeout="16000000"> <properties> <property name="configurationFile" value="/opt/infinispan-5.1.1.FINAL/etc/gossip-router-config.xml"/> </properties> </transport> <globalJmxStatistics enabled="true"/> </global> <default> <jmxStatistics enabled="true"/> <locking lockAcquisitionTimeout="16000000" /> <clustering mode="replicated"> <sync replTimeout="16000000"/> <!-- for replication --> <stateRetrieval timeout="16000000"/> <stateTransfer timeout="16000000"/> </clustering> </default> <namedCache name="A"/> <namedCache name="B"/> <namedCache name="C"/> <namedCache name="D"/> </infinispan>
2. In spite of setting the stateTransfer timeout, state transfer is looking for hash.rehashRpcTimeout which by default is 10 minutes? @Dan, shouldn't the state transfer timeout be passed onto the hash.rehashTimeout?
Also @Dan, do we have any docu on how this really should be configured in 5.1?