git-annex/doc/todo/Fsck_remote_files_in-flight.mdwn

6 lines
488 B
Text
Raw Normal View History

2021-04-14 16:14:20 +00:00
When fsck'ing a remote repo, files seem to be copied from the remote to a local dir (thus written to disk), read back again for checksumming and then deleted.
This is very time-inefficient and wastes precious SSD erase cycles which is especially problematic in the case of special remotes because they can only be fsck'd "remotely" (AFAIK).
Instead, remote files should be directly piped into an in-memory checksum function and never written to disk on the machine performing the fsck.