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 index 0000000000..02eab47cd3 --- /dev/null +++ b/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_12_f85f81450c5d59e6722b46299f2ae29c._comment @@ -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. +"""]] diff --git a/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_9_4f4f4a42adafe52207ed32a5d20e94be._comment b/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_9_4f4f4a42adafe52207ed32a5d20e94be._comment index befeac793c..41b1d41acc 100644 --- a/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_9_4f4f4a42adafe52207ed32a5d20e94be._comment +++ b/doc/todo/OPT__58_____34__bundle__34___get_+_check___40__of_checksum__41___in_a_single_operation/comment_9_4f4f4a42adafe52207ed32a5d20e94be._comment @@ -1,6 +1,6 @@ [[!comment format=mdwn username="joey" - subject="""comment 9""" + subject="""update""" date="2021-02-10T16:42:46Z" content=""" Incremental hashing implemented for transfers over ssh and tor.