Closed brancomat closed 1 year ago
It looks like something like this happened:
Reproduced in test suite. Indeed, deleting nonexisting data creates an empty version of the affected segment
Reason: deletion happens internally via a dataset writer instead of a checker, despite one needing to run arki-check
for it. The writer, which is usually used to append data to a dataset, will always create a segment if it is missing.
A possible way forward is to move the remove method from the writer infrastructure to the checker infrastructure, which is probably something that should have already happened long ago
test case: arkitest.tar.gz
(this might be an edge case since I'm using the
--remove
option with specific metadata to remove all present data)