Fix rsync special remote to work when -Jn is used for concurrent uploads.

This commit is contained in:
Joey Hess 2015-07-30 13:29:45 -04:00
parent 231820dead
commit 506452012c
4 changed files with 19 additions and 9 deletions

View file

@ -0,0 +1,13 @@
[[!comment format=mdwn
username="joey"
subject="""comment 1"""
date="2015-07-30T17:18:24Z"
content="""
The -J1 is a red herring; there's no progress output for -J modes, so the
whole transfer runs quietly there.
The -J2 failure is because the rsync special remote implementation uses a
local scratch directory which is supposed to be empty. But, since it uses
the pid of the process to create the directory name, concurrently transfers
will use the same scratch directory and so interfere with one-another.
"""]]