mirror of
https://github.com/rclone/rclone.git
synced 2024-11-29 20:04:52 +01:00
184459ba8f
Before this change the VFS cache could get into a state where when an object was updated remotely, the fingerprint of the item was correct for the new object but the data in the VFS cache was for the old object. This fixes the problem by updating the fingerprint of the item at the point we remove the stale data. The empty cache item now represents the new item even though it has no data in. This stops the fallback code for an empty fingerprint running (used when we are writing items to the cache instead of reading them) which was causing the problem. Fixes #6053 See: https://forum.rclone.org/t/cached-webdav-mount-fingerprints-get-nuked-on-ls/43974/ |
||
---|---|---|
.. | ||
downloaders | ||
writeback | ||
cache_test.go | ||
cache.go | ||
item_test.go | ||
item.go |