The file corruption consists of each chunk of the file being duplicated.
Since chunks are typically a fixed size, it would certianly be possible
to get from a corrupted file back to the original file. But this is still
bad data loss.
Reversion was in commit
fcc052bed81dac5a7664b815e3a3cf1ffb1b1659.
Luckily that did not make the most recent release.
storetofile _ _ n [] = pure n
storetofile iv h n (b:bs) = do
writeVerifyChunk iv h b
- B.hPut h b
storetofile iv h (n - fromIntegral (B.length b)) bs
proxyget offset af k = withproxytmpfile k $ \tmpfile -> do
git-annex (10.20240732) UNRELEASED; urgency=medium
- * Avoid loading cluster log at startup.
* Remove debug output (to stderr) accidentially included in
last version.
+ * When proxying an upload to a special remote, verify the hash.
+ * Avoid loading cluster log at startup.
-- Joey Hess <id@joeyh.name> Wed, 31 Jul 2024 15:52:03 -0400