(no commit message)
authorAtemu <Atemu@web>
Wed, 14 Apr 2021 16:14:20 +0000 (16:14 +0000)
committeradmin <admin@branchable.com>
Wed, 14 Apr 2021 16:14:20 +0000 (16:14 +0000)
doc/todo/Fsck_remote_files_in-flight.mdwn [new file with mode: 0644]

diff --git a/doc/todo/Fsck_remote_files_in-flight.mdwn b/doc/todo/Fsck_remote_files_in-flight.mdwn
new file mode 100644 (file)
index 0000000..1b88fb0
--- /dev/null
@@ -0,0 +1,5 @@
+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.