You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Zero-filled files with "round" sizes are failing to synchronize #10331
Hello,
I have found following issue with syncthing when I have synchronized over 1 million files, some files has failed to synchronize as Failed Items (around 40) with following error (example)
Others\....\AppData\Indexed DB\edbres00002.jrs
syncing: finishing: setting permissions: chmod \\?\F:\Others\...\AppData\Indexed DB\~syncthing~edbres00002.jrs.tmp: The system cannot find the file specified.
The problem can be manually fixed by copying edbres00002.jrs from source computer and inserting it into target destination, that will resolve failed item on the next scan.
However what every single error like that one has in common is that
File has round size, in this case 524288 bytes = 0x80000
Fascinating, can confirm. It's files that are 1) all zeroes and 2) are sized to a block boundary. That means we have no data to transfer and no data to copy, and some shortcut goes wrong.
changed the title [-]Files with "round" sizes are failing to synchronize[/-][+]Zero-filled files with "round" sizes are failing to synchronize[/+]on Sep 1, 2025
Activity
calmh commentedon Sep 1, 2025
Fascinating, can confirm. It's files that are 1) all zeroes and 2) are sized to a block boundary. That means we have no data to transfer and no data to copy, and some shortcut goes wrong.
[-]Files with "round" sizes are failing to synchronize[/-][+]Zero-filled files with "round" sizes are failing to synchronize[/+]fix(model): correctly handle block-aligned empty sparse files (fixes #…
fix(model): correctly handle block-aligned empty sparse files (fixes s…
fix(model): correctly handle block-aligned empty sparse files (fixes s…