Below is the topology of network chain I have for a content syncing job:
Host1 -> Host2 -> Host3
src-folder dest-folder1 dest-folder2
I plan to use rsync as the underlying tool to do the sync since rsync is thoroughly tested and has really good performance and reputation in industry. However, from the rsync internals explained here, I think there is an issue if rsync jobs for Host1
to Host2
and Host2
to Host3
are executed in parallel, leading to Host3
only gets partial/corrupted files from Host2
in dest-folder2
.
Please let me know if my concern is correct, and provide me a good way to resolve it if this is indeed an issue. Also for some reason, there is not a direct way to connect from Host1
to Host3
to sync the data.
Thanks in advance!