Skip to content

persist_data: reconnect when DB is locked

Lianhao Lu bitbake-devel 1 version Applied

Status from this message: Merged to master, thanks. Good to finally have a handle on why this kept

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1bitbake/persist_data: Reconnect when DB is lockedbitbake/lib/bb/persist_data.py+7 -54 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] persist_data: reconnect when DB is locked

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