Message ID | 20250310140118.2649050-1-alexandre.marques@ctw.bmwgroup.com |
---|---|
Headers | show |
Series | hashserv: Add `gc-mark-stream` command for batch hash marking | expand |
On Mon, Mar 10, 2025 at 07:02 AM, Alexandre Marques wrote: > > This comes in the sequence of [1]. And it proposes a new garbage > collection > command to improve the efficiency of marking several hash equivalence > database > entries. > > A new poky/script using this command will also be added, so that > developers can use it and to server as a reference on how this new developers can use it and to serve as a reference on how this new > > command is meant to be used. > > Since the hash equivalence server API is also changed, and as of now there > > isn't a convenient way to check the API version or which commands are > available. > > The new client command assumes a connection error to the server means > the server does not support "bulk" marking in stream mode, and falls back > to sequentially marking each input its given. > > 1 - https://lists.openembedded.org/g/bitbake-devel/topic/clarification_on_cleaning_up/111382632a > 1 - https://lists.openembedded.org/g/bitbake-devel/topic/clarification_on_cleaning_up/111382632 > > Alexandre Marques (1): > hashserv: Add `gc-mark-stream` command for batch hash marking > > bin/bitbake-hashclient | 30 ++++++++++++++++++++++++++++++ > lib/hashserv/client.py | 22 ++++++++++++++++++++++ > lib/hashserv/server.py | 29 +++++++++++++++++++++++++++++ > lib/hashserv/tests.py | 42 ++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 123 insertions(+) > > -- > 2.25.1