Page MenuHomeSoftware Heritage

Add support for other hash algo than sha1 in current objstorage implementation
Closed, MigratedEdits Locked

Description

The idea is that using a secondary (e.g. in a multiplexer configuration) objstorage would allow us to be able to keep a copy of the few content that are colliding on sha1.

It is not a proper long term solution.

Event Timeline

douardda triaged this task as Normal priority.Mar 12 2020, 1:43 PM
douardda created this task.

do you have in mind to make the actual hash used as primary key in an objstorage a configuration of said storage instance? e.g. create a pathslicer or s3 objstorage using sha256 is just a matter of configuration of the objstorage?

do you have in mind to make the actual hash used as primary key in an objstorage a configuration of said storage instance? e.g. create a pathslicer or s3 objstorage using sha256 is just a matter of configuration of the objstorage?

Also, is the idea is to make any swh objstorage able to be queried for a content using any supported hash? or will the only query API require a multihash object?