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

Submitted by Lianhao Lu on Jan. 16, 2012, 4:07 a.m. | Patch ID: 19411


Message ID cover.1326686612.git.lianhao.lu@intel.com
State New
Headers show


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

Commit Message

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

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(-)