diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-25 22:15:52 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-25 20:54:25 +0100 |
| commit | a1f4d97bf8322461baa04145d235c20344655600 (patch) | |
| tree | 2403533ebd686f9e4d16e7bd41862574b4e1c19f /scripts/lib/build_perf/html.py | |
| parent | a89560d336d62b2ab474565980bbf769e7a0bea3 (diff) | |
| download | poky-a1f4d97bf8322461baa04145d235c20344655600.tar.gz | |
bitbake: bitbake-worker: Allow shutdown/database flush of pseudo server at task exit
We have a problem where pseudo server processes exist after bitbake exits
and hold the pseudo database in memory. In a docker container, the processes
will be killed as the container is destroyed with no warning and no opportunity
to write the data to disk. This leads to permissions/inode corruptions and
data loss.
Send a shutdown message to pseudo which in new versions of pseudo will flush
the database, thereby fixing some of the issues people using docker containers
see.
(Bitbake rev: 7752c2c00245e91aeb17e22de484535190b18e5d)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit a07a971b40acd3eee12e203d2cfa3e49f56109f6)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/build_perf/html.py')
0 files changed, 0 insertions, 0 deletions
