As a user, I can optionally validate and repair content at sync time
There are situations when content in the storage needs to be repaired (while DB is fine and still contains all the data):
- file got corrupted for whatever reason
- file was removed from the storage by accident
Users need a way to solve those situations.
Introduce an option
repair for the sync operation. It should be False by default.
repair option is enabled, in the QueryExistingArtifacts stage make sure that the sha256 checksum of content in the storage is the same as stored in the DB.
Please register to edit this issue