Skip to content
Snippets Groups Projects

Add an objstorage checker to detect missing and corrupted contents

Merged Antoine Lambert requested to merge anlambert/swh-scrubber:objstorage-checker into master
All threads resolved!

Add class ObjectStorageChecker to detect missing and corrupted contents in an object storage.

It iterates on content objects referenced in a storage instance, check they are available in a given object storage instance then retrieve their bytes from it in order to recompute checksums and detect corruptions.

Some refactorings have also been done in a first commit to extract checkers common code and features in abstract base classes.

Depends on swh-objstorage!177 (merged).

Related to #4694 (closed).

Edited by Antoine Lambert

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Antoine R. Dumont approved this merge request

    approved this merge request

  • Antoine Lambert added 2 commits

    added 2 commits

    • 4e834396 - journal_checker: Remove use of deprecated stop_on_eof client parameter
    • 651f647a - Add an objstorage checker to detect missing and corrupted contents

    Compare with previous version

  • Antoine Lambert resolved all threads

    resolved all threads

  • Jenkins job DSCRUB/gitlab-builds #165 succeeded .
    See Console Output and Coverage Report for more details.

  • vlorentz approved this merge request

    approved this merge request

  • Please register or sign in to reply
    Loading