fix parallel copy from/to a local git repo
Improve handling of parallelization with -J when copying content from/to a git remote that is a local path. Sponsored-by: Nicholas Golder-Manning on Patreon
This commit is contained in:
parent
54baa480b6
commit
21c50c0f72
3 changed files with 22 additions and 5 deletions
|
@ -24,3 +24,13 @@ would make sense to.)
|
|||
|
||||
git-annex version: 8.20201103 --[[Joey]]
|
||||
|
||||
> Reproduced with 10.20220625. 3 100 mb files and copy to a local git repo.
|
||||
> Also, `copy --from` and `get` do have the problem, at least they do now.
|
||||
> --[[Joey]]
|
||||
|
||||
> The problem is that Remote.Git.onLocal uses a MVar for the remote state,
|
||||
> and the copy runs in that. So while one copy is running, the rest block.
|
||||
> So fixing this will need a pool of local remote states.
|
||||
> --[[Joey]]
|
||||
|
||||
>> [[fixed|done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue