Skip to content

Conversation

@aduffeck
Copy link

@aduffeck aduffeck commented Feb 20, 2025

The new backend persists id, spaceid and mtime in xattrs while keeping additional attributes in a messagepack file. This prevents running out of space in the xattrs of node while still keeping the identity information close to the files/dirs themselves.

Note: requires a small change in opencloud: https://github.com/opencloud-eu/opencloud/tree/hybrid-metadata-backend

Fixes opencloud-eu/opencloud#222

@aduffeck aduffeck requested review from butonic and rhafer February 20, 2025 14:06
@aduffeck aduffeck force-pushed the hybrid-metadata-backend branch 2 times, most recently from cfca5d4 to 68ccf02 Compare February 24, 2025 14:44
@aduffeck aduffeck marked this pull request as ready for review February 25, 2025 07:16
@butonic butonic force-pushed the hybrid-metadata-backend branch from 639e6ba to 3bfc7e6 Compare February 25, 2025 10:30
aduffeck and others added 3 commits February 25, 2025 11:30
The new backend persists all attributes in xattrs but starts offloading
the grant attributes in a messagepack file when a certain size threshold
has been reached.
This prevents running out of space in the xattrs of node while still
keeping the identity information close to the files/dirs themselves.
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
@butonic butonic force-pushed the hybrid-metadata-backend branch from 3bfc7e6 to dc16dd9 Compare February 25, 2025 10:30
@butonic butonic merged commit 1c1473e into opencloud-eu:main Feb 25, 2025
@openclouders openclouders mentioned this pull request Mar 17, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Metadata Storage

3 participants