Avoid running multiple bup split processes concurrently
authorJoey Hess <joeyh@joeyh.name>
Mon, 8 Aug 2022 22:54:06 +0000 (18:54 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 8 Aug 2022 22:54:06 +0000 (18:54 -0400)
commitabd417d4fe5338967bc66fb9bb9003f42508bbb7
tree723600162048a3d5906d444d2f651ce26fb01168
parent04247fb4d01dcc2dc4226f19be11ae341004b4e2
Avoid running multiple bup split processes concurrently

Since bup split is not concurrency safe.

Used a lock file so that 2 git-annex processes only run one bup split
between them (per bup repo).

(Concurrent writes from different git-annex repository clones to the same
bup repo could still have concurrency problems.)

Sponsored-by: Noam Kremen on Patreon
CHANGELOG
Remote/Bup.hs
doc/bugs/bup_often_errors_out_when_-J___62___1/comment_4_d7156224245542f5468783c1b5763154._comment [new file with mode: 0644]