Project

General

Profile

Bug #19292

Updated by Peter Amstutz almost 2 years ago

In the case of potential hardware corruption, we would like to be able to thoroughly check that a collection is intact. 

 the keep-block-check tool currently takes a list of blocks and uses HEAD requests to see if the blocks exist. 

 extend this with a mode to do deep validation of a collection: 

 # get the manifest text and check for valid syntax/grammar 
 # compute the portable data hash and compare against the collection record 
 # go through each block and fetch from keep, compute the hash of the block against the expected hash.    report any blocks that are missing or return an error. 

Back