I noticed the following situation with the synchronization process:
I have a folder that is synchronized between two devices. When a large file appears on one device and it starts to be transferred to the second device, the transfer of other files from the second device completely stops. This state remains until the transfer is completed.
Is it possible to transfer changes in parallel while receiving?
What parameters affect this?
There is no way to change the current behaviour. The only “workaround” is to have your data split between multiple smaller folders instead of using a single large folder.
This has always been a major pain for myself too, as I’m forced to use a very slow 1Mbit connection in one location, so transferring large files can take forever there. This is also one of the reasons why I have the files split and shared relying on 50 smaller folders instead of using just 5-10 larger ones.
A quick manual fix is to set the file pull order to “smallest first” on the receiving side, and then pause and unpause the affected folder, which will make Syncthing re-order the download queue.
I understand the question to be more about whether the synchronization is happening in a full-duplex fashion? Syncthing folders are always in one of several states. When files from the second device (let’s call it B) are being pulled onto device A, then the folder on A will be in “Syncing” state. I’m not sure whether a large file getting added on A will cause it to switch over into “Scanning” state, effectively aborting the ongoing pull of the large file from B.
So the question comes down to: Will a newly added local file on A (noticed by the watcher) cause the folder on to scan it and thereby interrupt the previously ongoing pull progress?
A large file is created on host “A”, and it takes a long time to sync. During sync, a small file is created on host “B”, but it is not synced until the file from host “A” is synced. And in my case, this is a problem.
A folder on A is copying a large file from B and is in the “Syncing” state. If I add a “new file” to this folder on A, can the watcher scan the folder in parallel with the synchronization? Will the copying of the “new file” start from A to B in parallel with the copying of the large file from B to A?