From: Lianhao Lu <lianhao.lu@intel.com>
To: bitbake-devel@lists.openembedded.org
Subject: [PATCH 0/1] persist_data: reconnect when DB is locked
Date: Mon, 16 Jan 2012 12:07:41 +0800 [thread overview]
Message-ID: <cover.1326686612.git.lianhao.lu@intel.com> (raw)
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(-)
next reply other threads:[~2012-01-16 4:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-16 4:07 Lianhao Lu [this message]
2012-01-16 4:07 ` [PATCH 1/1] bitbake/persist_data: Reconnect when DB is locked Lianhao Lu
2012-01-19 0:16 ` Richard Purdie
2012-05-31 0:33 ` McClintock Matthew-B29882
2012-05-31 17:54 ` Joshua Lock
2012-05-31 19:45 ` McClintock Matthew-B29882
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1326686612.git.lianhao.lu@intel.com \
--to=lianhao.lu@intel.com \
--cc=bitbake-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox