-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metadata storage creates file revision for every upload #9282
Comments
Correct. |
Good addition: We also need a CLI command to purge old versions. |
Needs backport to |
backport overview:
UPDATE: Backport not possible. It depends on cs3org/reva#4562 which has not been backported. We can backport the cli, then this can be scheduled in a cronjob until next version. |
We need to talk about backporting please with @d7oc |
Also adding @wkloucek here as I will not be available next week. |
It depends on the posix PR which also contains a huge refactor of the decomposedfs. I would not recommend backporting this. But if you insist we can backport both PRs. I still think backporting the cli would be the more feasible (and safe) solution |
Done in sprint 27. Backporting of the CLI needs extra ticket. |
Describe the bug
As part of addressing #8938 I experimented a bit with the the sharecache implementation in reva
pkg/share/manager/jsoncs3/sharecache/sharecache.go
while doing that I noticed that with every update (i.e. upload) of the cache file a file revision is created in the storage.For my experiments with a cache for roleassignments keyed by roleid that means I end up with 1000 file revisions of the cache files after creating 1000 users. This accumulates quite some wasted space (and probably quite some additional I/O).
We should think about allowing to disable versioning on the metadata storage.
The text was updated successfully, but these errors were encountered: