[ZCM] [ZC] 1521/ 2 Comment ""ZEO.Exceptions.ClientDisconnected"
should retry"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri Oct 1 08:52:34 EDT 2004
Issue #1521 Update (Comment) ""ZEO.Exceptions.ClientDisconnected" should retry"
Status Pending, Database/feature medium
To followup, visit:
http://zope.org/Collectors/Zope/1521
==============================================================
= Comment - Entry #2 by htrd on Oct 1, 2004 8:52 am
Sounds like a good idea.
Do you have any experience of retrying ClientDisconnected errors in ZPublisher? I would think that it might take a few seconds for the ZEO client to reconnect, and an immediate retry would likely fail.
________________________________________
= Request - Entry #1 by d.maurer on Oct 1, 2004 8:36 am
When ZEO restarts, its clients get a "ClientDisconnected" exception. It is usually delivered to the Zope end users.
As "ClientDisconnected" is a transient problem, the ZPublisher should probably treat this the same as "ConflictError".
I propose to define a new exception "TransientError" and
base "ZPublisher"s retrials on this exception.
Let "ConflictError" and "ClientDisconnected" (and maybe
other transient errors) be inheriting from this exception
==============================================================
More information about the Zope-Collector-Monitor
mailing list