Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix stale file metadata cache entries#166

Merged
aduffeck merged 1 commit into
opencloud-eu:mainfrom
aduffeck:fix-stale-cache-entries
Apr 7, 2025
Merged

Fix stale file metadata cache entries#166
aduffeck merged 1 commit into
opencloud-eu:mainfrom
aduffeck:fix-stale-cache-entries

Conversation

@aduffeck

@aduffeck aduffeck commented Apr 7, 2025

Copy link
Copy Markdown
Member

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
@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