[bitbake-devel] [PATCH] bitbake: persist_data: Retry database setup

Richard Purdie richard.purdie at linuxfoundation.org
Sat Dec 8 17:19:45 UTC 2018


On Fri, 2018-12-07 at 15:59 -0600, Joshua Watt wrote:
> The configuration of the sqlite database can timeout due to locking
> under heavy load and should be subject to the same retry logic as the
> other statements.
> 
> [YOCTO #13069]
> 
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>
> ---
>  bitbake/lib/bb/persist_data.py | 85 ++++++++++++++++++------------
> ----
>  1 file changed, 45 insertions(+), 40 deletions(-)

Thanks for quickly sorting this one!

I've merged this but I had to tweak it to apply since I haven't taken
the "drop at fork" patch. The other patches will need rebasing once we
figure out the best naming...

Cheers,

Richard



More information about the bitbake-devel mailing list