FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests