[infinispan-issues] [JBoss JIRA] (ISPN-1942) State transfer timeout confusion

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Fri Mar 23 07:24:47 EDT 2012


Galder Zamarreño created ISPN-1942:
--------------------------------------

             Summary: State transfer timeout confusion
                 Key: ISPN-1942
                 URL: https://issues.jboss.org/browse/ISPN-1942
             Project: Infinispan
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 5.1.3.CR1
            Reporter: Galder Zamarreño
            Assignee: Dan Berindei
             Fix For: 5.1.3.FINAL


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:

{code}<?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>{code}

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?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list