"ZEO.Exceptions.ClientDisconnected" should retry
Bug #143178 reported by
Dieter Maurer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Invalid
|
Medium
|
Unassigned |
Bug Description
When ZEO restarts, its clients get a "ClientDisconne
As "ClientDisconne
I propose to define a new exception "TransientError" and
base "ZPublisher"s retrials on this exception.
Let "ConflictError" and "ClientDisconne
other transient errors) be inheriting from this exception
To post a comment you must log in.
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.