comment
authorJoey Hess <joeyh@joeyh.name>
Thu, 11 Feb 2021 01:49:25 +0000 (21:49 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 11 Feb 2021 01:49:25 +0000 (21:49 -0400)
doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_12_f85f81450c5d59e6722b46299f2ae29c._comment [new file with mode: 0644]
doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_9_4f4f4a42adafe52207ed32a5d20e94be._comment

diff --git a/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_12_f85f81450c5d59e6722b46299f2ae29c._comment b/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_12_f85f81450c5d59e6722b46299f2ae29c._comment
new file mode 100644 (file)
index 0000000..02eab47
--- /dev/null
@@ -0,0 +1,17 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""re: comment 9"""
+ date="2021-02-11T01:33:47Z"
+ content="""
+Not a bad idea, yoh!
+
+It could be taken further: Keep reading from the file as it grows and hash
+incrementally. Use inotify to know when more has been written, or poll
+periodically or when PROGRESS is received. If the hash is wrong at the end,
+rehash the file. Only remotes that write chunks out of order would pay a
+time penalty for that extra hashing.
+
+That could be enabled by a protocol extension. Or disabled by a protocol
+extension for that matter, since remotes that write out of order are
+probably rare.
+"""]]