Staging instance, all changes can be removed at any time

Skip to content

restore: flush storage at every loop

Nicolas Dandrimont requested to merge olasd/swh-alter:mr/buffered-storage into main

In the production-like setting, we've deployed swh-alter with a buffered storage for the restore process. If the buffer storage is not flushed (at least on exit), it just loses the added objects.

To honor the swh-alter chunking mechanism, we call storage.flush() after every call to an add function. We make sure to run the recovery_bundle tests with a buffered storage to trigger the same code paths.

Merge request reports

Loading