HomeSoftware Heritage

Add some methods to the object storage in order to allow a content integrity…

Description

Add some methods to the object storage in order to allow a content integrity checker to run

  • restore_bytes method is needed to repair a content as the add_bytes methods does nothing to the content if the id is already in the file system
  • get_random_contents is used for the content integrity checker in order to have a stateless probabilistic method for the cerification scheduling

Details

Provenance
qcamposAuthored on May 26 2016, 12:11 PM
qcamposPushed on May 27 2016, 3:57 PM
Differential Revision
D31: Create a content integrity checker
Parents
rDSTO60a0be9f30dc: Add run_from_webserver function for objstorage api server
Branches
Unknown
Tags
Unknown
Build Status
Buildable 131
Build 190: Software Heritage Python tests