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

login
register
mail settings
Submitter Lianhao Lu
Date Jan. 16, 2012, 4:07 a.m.
Message ID <cover.1326686612.git.lianhao.lu@intel.com>
Download mbox
Permalink /patch/19411/
State New
Headers show

Pull-request

git://git.pokylinux.org/poky-contrib llu/bug1761

Comments

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://git.pokylinux.org/poky-contrib llu/bug1761
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=llu/bug1761

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

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