Syncing folder drops to 'preparing to sync' when remote device disconnects / reconnects

I’m sure this is by design, but it’s frustrating.

I have two folders under the same remote device that are ‘receive only’ syncing external backup images, so are 144Gb / 747Gb in size. They are both on the same sata HDD. When the pair of them are scanning / preparing, the io is around 11Mbs each,

image

but pause one and the io shoots up to ~100Mbs due to seeking.

image

This means the scan for that drive completes the scan and starts syncing quicker.

But, the moment I unpause the other folder, the remote device disconnects, the ‘was syncing’ stops, then both folders revert back to preparing to sync and the cycle begins.

The first folder that was syncing doesn’t pick up where it stopped, it restarts the scan again.

I know that a disconnected remote device will stop any folder progress, but where there is multiple folders against a remote device, it’s frustrating to watch them all lose progress.

Is there anyway that a folder that is syncing prevents a remote device changing to disconnected when another folder has any changes made to it?

You probably want to set maxFolderConcurrency to 1, to always have only one device doing io at the same time.

That will change in the next release: https://github.com/syncthing/syncthing/issues/7020

Unfortunately concurrency can work against me as I have 49 folders of which 13 are in the >1Tb so if a scan hits one of those, it takes days to download a new backup image before it moves to another.

I asked once before that if concurrency could scan a folder, and once that starts syncing, move to the next one, so concurrency number is against the scanning, but syncing is unlimited, but I recall it’s a technical limitation.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.