[Buildbot-commits] [Buildbot] #2005: SQLAlchemy Operational errors with SQLite: Database is locked

Buildbot nobody at buildbot.net
Tue Jan 24 17:16:49 UTC 2012


#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


More information about the Commits mailing list