Skip to content
Snippets Groups Projects
Commit 3042aa16 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

Migrate objstorage usage to CompositeObjId exclusively

Stop relying on the implicit assumption that object storages can be
accessed with bare sha1 hashes.

Keep the sha1-exclude-file mechanism as the S3 inventory for which it
was introduced still relies on sha1, at least for now.

To pave the way for future changes in swh.objstorage, also adapt tests
to remove the assumption that InMemoryObjStorage state will remain keyed
by sha1 (by using the _state_key function).

This changes the key in the redis failure reporter to reference all hashes
instead of just sha1.
parent 80e12ac9
No related branches found
Tags v2.0.0
1 merge request!32Migrate objstorage usage to CompositeObjId exclusively
Pipeline #6391 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