Re: what is TransientError ?
Jim Fulton <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <CAPDm-FhtVdMVu=YsmE9cp+k+cdCDPd3Sg+JiF7gQG2XwSwrGCA@mail.gmail.com> |
On Fri, Apr 1, 2016 at 7:35 AM, Sanjay Rao <[email protected]> wrote: > what is TransientError ? It's an exception that's used to indicate that a transaction should be retried. It's generally used a base class. > When is it raised ? Most commonly when there are conflicts. ConflictError subclasses it. > How is it handled in ZODB Storages raise ConflictErrors when there are conflicting writes (or sometimes reads). > and Zope ? Some versions of Zope catch it and retry requests. Others use generic WSGI middleware, like repose.retry which also retries requests in response to transient errors. Jim -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.