That looks fine, but I’d like a way to specify a value for all backup rather than one per.  We should also have reasonable values for the default – maybe use the values for the existing stateTransfer element? 

 

Erik

 

From: infinispan-dev-bounces@lists.jboss.org [mailto:infinispan-dev-bounces@lists.jboss.org] On Behalf Of Mircea Markus
Sent: Thursday, October 18, 2012 5:43 PM
To: infinispan -Dev List
Cc: Erik Salter (esalter); Michael Walker
Subject: Re: [infinispan-dev] Changing the configuration for Cross site state transfer

 

That looks good to me. Bela/Erik?

 

On 18 Oct 2012, at 12:44, Hammad Said wrote:



I am implementing the cross site state transfer. In order to have specify the timeout of the state transfer and the chunk size to be sent in each transfer we are proposing changes in XSD. Specifically suggesting to add  the element stateTransfer with the attributes timeout and chunkSize. Please let me know what you think of it.

<namedCache name="noTakeOffline">
       <sites>
           <backups>
               <backup site="NYC" strategy="SYNC" backupFailurePolicy="WARN" timeout="12003">
                   <stateTransfer timeout="30000" chunkSize="40"/>

               </backup>
           </backups>
           <backupFor/>
       </sites>
   </namedCache>


Thanks!
Hammad

_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev

 

Cheers,

-- 
Mircea Markus

Infinispan lead (www.infinispan.org)