radiocosmology / alpenhorn

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

Add true size field to ArchiveFileCopy (closes #58) #107

Closed cubranic closed 5 years ago

cubranic commented 5 years ago

This reflects the "true" size of the file, as used by the filesystem. (E.g., accounting for holes in sparse files or Lustre filesystem compression.)

cubranic commented 5 years ago

BTW Don, I update the true file size field not just when the copy is created, but also if its MD5 is rechecked after it was marked "has_file=M".

cubranic commented 5 years ago

Rebased on current master. @ketiltrout can you have a look before I merge this?