rclone/fs/sync
Ivan Andreev 4680c0776d
backend/local: skip entries removed concurrently with List() (#5297)
This change fixes the bug described below:
if a file is removed while the local backend List() runs,
the call will flag an accounting error.
The bug manifests itself if local backend is the Sync target
due to intrinsic concurrency.
The odds to hit this bug depend on --checkers and --transfers.
Chunker over local backend is affected even more because
updating a composite object with a smaller size content
translates into removing chunks on the underlying file system
and involves a number of List() calls.
2021-07-07 16:50:19 +03:00
..
pipe.go Spelling fixes 2020-10-14 15:21:31 +01:00
pipe_test.go sync: implement --order-by xxx,mixed 2020-03-16 15:50:04 +00:00
rc.go rc: sync,copy,move: document createEmptySrcDirs parameter - fixes #4489 2021-02-08 12:25:40 +00:00
rc_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
sync.go backend/local: skip entries removed concurrently with List() (#5297) 2021-07-07 16:50:19 +03:00
sync_test.go backend/local: skip entries removed concurrently with List() (#5297) 2021-07-07 16:50:19 +03:00