[Dbix-class] lost connection during query

Oleg Pronin syber.rus at gmail.com
Wed Oct 31 11:49:31 GMT 2007


2007/10/31, Brandon Black <blblack at gmail.com>:
>
> The logic behind the "only reconnect+retry once per statement/txn"
> idea is that we want to protect from things like disconnects due to
> idle sessions or rebooted servers, but we don't want to retry
> indefinitely if we keep getting disconnected (because that probably
> means we're triggering a bug and killing the connect (or server) with
> our statement, or something even worse, that needs to be addressed
> manually).


i dont agree. You keep all the problems that lasts for more than 1
microsecond.
For example, network failures during a second, database restart (for example
for tuning configs).

I suppose this logic needs to be at a lower level.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20071031/2ec=
a16c9/attachment.htm


More information about the DBIx-Class mailing list