0
Durable object identity that survives a cache rebuild
Source: nextcloud/server#66499 · opened by @rubenvdlinde
<!-- Please keep the note below for other contributors --> > [!TIP] > Help move this idea forward > * Use the 👍 reaction to show support for this feature. > * Avoid commenting unless you have relevant information to add; unnecessary comments create noise for subscribers. > * Subscribe to receive notifications about status changes and new comments. --- <!-- DO NOT EDIT ABOVE THIS LINE --> Is your feature request related to a problem? Please describe. Shares, tags, comments, metadata and /f/ links all key on fileid, the auto-increment id of oc_filecache. It survives renames and moves in current code, also across storages. It does not survive a cache rebuild, a rescan of external storage after cache loss, or a migration to another instance. On primary object storage the objects are named urn:oid:<fileid>, so the object only has an identity because of a database row. This has bitten users before: file ids on external storage kept changing and broke shar…
No pledges yet. Be the first to back this.
Comments
Similar requests
Durable object identity that survives a cache rebuild
0 votes · 0 comments
Cache compiled routes
0 votes · 0 comments
Distributed caches are always mem caches
0 votes · 0 comments
File cache table excessively large (and does not shrink after data removal) / Nextcloud should defragment file cache table
28 votes · 0 comments
Add a cache directory
0 votes · 0 comments
No comments yet.