Skip Menu |

This queue is for tickets about the DBIx-Simple CPAN distribution.

Report information
The Basics
Id: 27163
Status: rejected
Priority: 0/
Queue: DBIx-Simple

People
Owner: Nobody in particular
Requestors: nobody [...] mixmaster.it
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: feature request- retry on network error
Date: Wed, 16 May 2007 22:55:09 +0200 (CEST)
To: bug-DBIx-Simple [...] rt.cpan.org
From: George Orwell <nobody [...] mixmaster.it>
before finding your excellent module, i had been using DBIx::DWIW. the only thing it has that i miss, is retry logic to deal with network interruptions. is there any chance of DBIx::Simple adopting something similar?
On Wo. mei. 16 16:55:36 2007, nobody@mixmaster.it wrote: Show quoted text
> before finding your excellent module, i had been using > DBIx::DWIW. the only thing it has that i miss, is retry logic > to deal with network interruptions. is there any chance of > DBIx::Simple adopting something similar?
It is very important to have a stable network connection to your database engine. If an interruption occurs, you do not know if your query has been executed. For mutating queries like INSERT, retrying can then cause duplicate data. I'll think about the issue, and may implement some retry-logic for the "connect" method soon, but I'm not so sure about the safety of such functionality for methods like "query". -- Juerd
I don't think this logic belongs in DBIx::Simple. I think you ought to be able to accomplish this through a separate module, like using a handle from DBIx::RetryOverDisconnections instead of raw DBI. http://search.cpan.org/dist/DBIx-RetryOverDisconnects/ Mark
On Fri Dec 03 15:59:22 2010, MARKSTOS wrote: Show quoted text
> I don't think this logic belongs in DBIx::Simple.
Agreed. -- Juerd