]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: bitbake: persist_data: Fix Locking Protocol Error
authorJoshua Watt <jpewhacker@gmail.com>
Thu, 3 Jan 2019 16:36:11 +0000 (10:36 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 8 Jan 2019 11:16:03 +0000 (11:16 +0000)
commitcea00c128311539a870d0cd233366480ddaff605
tree3f5362755553e27bf54ef1e1c2d2e7009c47bc15
parentfd045373e01409e273479c9e0e2e69bd1b7815f9
bitbake: bitbake: persist_data: Fix Locking Protocol Error

Under heavy load with process delays, sqlite can issues a "locking
protocol" error (SQLITE_PROTOCOL). Unfortunately, it is impossible to
distinguish between actual locking protocol errors and this race
condition, so they best that can be done is to retry the operation when
the error is detected.

[YOCTO #13108]

(Bitbake rev: 93cd15644f9d12b38abea276fee7b5bade0276df)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/persist_data.py