Revert "lock journal before reading journal files"
authorJoey Hess <joeyh@joeyh.name>
Mon, 18 Jul 2022 17:38:12 +0000 (13:38 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 18 Jul 2022 17:38:12 +0000 (13:38 -0400)
commit2e6e9876e3fc420a22eee82eedec54ac3f678878
tree8e4b374316b9412a549a381926d1e49bee6c6a31
parentce455223df8e926b819e02613ce6df6071490b13
Revert "lock journal before reading journal files"

This reverts commit 47358a6f956681346a198cdf27c60bcf9498cc45.

This added overhead, and will not be needed, because appends are going
to have to be made atomic for other reasons than avoiding incomplete
reads of data being appended.

In particular, when git-annex is interrupted in the middle of an append,
it must not leave the file with a partially written line. So appending
has to somehow be made fully atomic.
Annex/Branch.hs