What are semantics of <stateTransfer:timeout and chunkSize> ?
And what happens when timeout is exceeded ? Do we cancel the state
transfer and take the target site (to which state was being propagated)
offline ?
Does this XML element need to be an element or can it be an attribute ?
Does it inherit from a default stateTransfer attr ?
What site does stateTransfer apply to ? Transfers *from* NYC (in the
example) or *to* NYC ?
On 10/18/12 11:42 PM, Mircea Markus wrote:
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
--
Bela Ban, JGroups lead (
http://www.jgroups.org)