[jbosscache-dev] State transfer error handling
Manik Surtani
manik at jboss.org
Tue Sep 5 12:48:56 EDT 2006
I would suspect so as such partial state could be meaningless.
--
Manik Surtani
Lead, JBoss Cache
JBoss, a division of Red Hat
Email: manik at jboss.org
Telephone: +44 7786 702 706
MSN: manik at surtani.org
Yahoo/AIM/Skype: maniksurtani
On 5 Sep 2006, at 17:23, Vladimir Blagojevic wrote:
> Hi,
>
> As you know we now deal with streams in cache loaders. Since we
> have to
> have an error handling mechanism that supports both streaming and byte
> based transfers we cannot rely on buffer marking and resets to do
> state
> transfer error handling anymore. We have to somehow indicate in stream
> that an error occurred while writing data to stream.
>
> Are we suppose to follow all or nothing approach when it comes to
> state
> transfer? If we write out an error marker to the stream while writing
> data and if reader encounters an error marker should we cleanup any
> previous partial state that has already been read and integrated?
>
> Let me know.
>
> Vladimir
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosscache-dev
More information about the jbosscache-dev
mailing list