#2005: SQLAlchemy Operational errors with SQLite: Database is locked
---------------------+---------------------
Reporter: abompard | Owner:
Type: defect | Status: closed
Priority: critical | Milestone: 0.8.5
Version: 0.8.4p1 | Resolution: fixed
Keywords: database |
---------------------+---------------------
Changes (by Dustin J. Mitchell):
* status: reopened => closed
* resolution: => fixed
Comment:
Re-run queries after certain OperationalErrors
Sometimes malformed SQL can generate an OperationalError, so this looks
at the message itself. It's unclear how this will work with
localization.
The code uses an exponential backoff algorithm (with a relatively small
multiplier), and will retry for a day, which seems a reasonable
get-the-db-server-fixed time.
Fixes #2005. Hoepfully for good!
Changeset: 95deef27d7c531ead19e0ac86a9aa1546d4ee7f9
--
Ticket URL: <http://trac.buildbot.net/ticket/2005#comment:23>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits