On 18 Oct 2012, at 17:44, Erik Salter wrote:

That looks fine, but I’d like a way to specify a value for all backup rather than one per. 
yeah, that would be nice but it might make the configuration a bit hard to explain.
I also don't expect people in general to use more than one backup, or 2 at most, so not having a default would't require a lot of duplication.
We should also have reasonable values for the default – maybe use the values for the existing stateTransfer element? 
I was actually thinking to make them slightly bigger (e.g. 2x) as the latency between sites is much higher than local.
 
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)
 


 
_______________________________________________
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)