data-store icon indicating copy to clipboard operation
data-store copied to clipboard

Create a cron job to verify replicas are in sync

Open Bento007 opened this issue 6 years ago • 0 comments

User story

  • As a system administrator
  • I want to know when my replicas are out of sync either by missing files or by incorrect file sizes
  • so that I can fix the inconsistencies

Definition of done

a script that can be run on a regular basis that will check the following

  • [ ] All replicas have the same list of bundles and files
  • [ ] All replicas have the same sizes for the files
  • [ ] All replicas have matching file checksums

Design thoughts: A script that validates each file in the Data Store will take a long time, and will take longer and longer as the system grows. A nice optimization would be to somehow track which files have been verified and only rarely (if ever) re-verify them.

Bento007 avatar Oct 29 '18 21:10 Bento007