storm should attempt to reconnect X times before failing
Bug #133097 reported by
Timothy Stebbing
This bug report is a duplicate of:
Bug #94986: Handle database disconnections gracefully.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Storm |
New
|
Undecided
|
Unassigned |
Bug Description
zstorm utility hangs around for as long as zope is running, it connects to databases once, when the zcml store directives are read and zstorm.create is called. It is fairly reasonable to expect a zope application to run for weeks or months, in which time the database connections may be lost.
storm should attempt to reconnect if a connection has been closed, perhaps up to a given number (3) ? times before it raises for each attempted transaction.
To post a comment you must log in.
For the Zope case, we really only need a way to trigger a request retry on disconnect. In that case, the retry behaviour is handled by Zope.