Skip to content
Snippets Groups Projects
Commit f6a90533 authored by Jérémy Bobbio (Lunar)'s avatar Jérémy Bobbio (Lunar)
Browse files

Add StorageInterface.skipped_content_find()

To create recovery bundle, `swh-alter` needs to be able to retrieve
full SkippedContent objects from the storage.

The new method `skipped_content_find()` allows to retrieve all
SkippedContent objects matching a given set of hashes. Usually, this
should only be one, but multiple objects might be returned in case of
hash collisions.

While implementing this, swh-storage#4693 was identified which prevent
testing the implementation with the PostgreSQL storage in the case
a SkippedContent references a known origin.

Ref: swh/devel/swh-alter#6
parent ec218a31
No related branches found
No related tags found
No related merge requests found
Pipeline #3834 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment