D16876: [balooctl] Add possibility to create a copy of the index without freelist
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Wed Nov 14 18:13:34 GMT 2018
bruns added a comment.
You are replicating `mdb_copy -c` here.
According to the man page:
> Compact while copying. Only current data pages will be copied; freed or unused pages will be omitted from the copy. [...] **Currently it fails if the environment has suffered a page leak**
This is e.g. the case for the dreaded assertion in mdb_page_dirty.
There is one method to avoid the freelist issues, by doing what `mdb_dump ... | mdb_load ...` is doing - reading the contents from the db and writing it to a new one. This completely ignores the freelist.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D16876
To: poboiko, #frameworks, #baloo
Cc: bruns, kde-frameworks-devel, ashaposhnikov, michaelh, astippich, spoorun, ngraham, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181114/db6e87e5/attachment.html>
More information about the Kde-frameworks-devel
mailing list