Patchwork [bitbake-devel,0/1] persist_data: reconnect when DB is locked

mail settings
Submitter Lianhao Lu
Date Jan. 16, 2012, 4:07 a.m.
Message ID <>
Download mbox
Permalink /patch/19411/
State New
Headers show


git:// llu/bug1761


Lianhao Lu - Jan. 16, 2012, 4:07 a.m.
Fixed yocto bug #1761.

The timeout value set in sqlite3 connection only applies to the very first 
time when accessing a locked DB file.

By reconnect to the DB in 'database is locked' exception, we can leverage 
the timeout value in each retry. 

The following changes since commit 684c6ef2d08ad503ce68ac3cc273f1b6a8a56ac7:
  Paul Eggleton (1):
        bitbake/knotty: print task failure summary

are available in the git repository at:

  git:// llu/bug1761

Lianhao Lu (1):
  bitbake/persist_data: Reconnect when DB is locked

 bitbake/lib/bb/ |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)