Skip to content

Conversation

@aduffeck
Copy link

@aduffeck aduffeck commented Apr 7, 2025

When moving a file to the trashbin we need to purge the file metadata cache in the metadata backend (AFTER moving the file to the trash so the metadata isn't removed from the file on disk). Otherwise the data will still be read from the cache e.g. from ReadNode(), masking the fact that the node is no longer available.

When moving a file to the trashbin we need to purge the file metadata
cache in the metadata backend (AFTER moving the file to the trash so the
metadata isn't removed from the file on disk). Otherwise the data will
still be read from the cache e.g. from ReadNode(), masking the fact that
the node is no longer available.
@aduffeck aduffeck merged commit 555278a into opencloud-eu:main Apr 7, 2025
18 checks passed
@aduffeck aduffeck deleted the fix-stale-cache-entries branch April 7, 2025 12:40
This was referenced Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants