radiocosmology / alpenhorn

Alpenhorn is a service for managing an archive of scientific data.
MIT License
2 stars 1 forks source link

fix(update): Merge auto-verify into check #186

Closed ketiltrout closed 2 months ago

ketiltrout commented 2 months ago

This changes the way "auto-verify" works: instead of separate "auto_verify" I/O methods, the auto verify code now just marks files for check (has_file='M'), and then the regular check mechanics can do the actual checking. This greatly simplifies things.

The check method on nearline now handles release/restore as needed and the exists() check has been moved into the async.

This is a partial fix for #183.