Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1942

State transfer timeout confusion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 5.1.3.FINAL
    • 5.1.3.CR1
    • Configuration
    • None

    Description

      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?

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: