Skip to content
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

Questions about file location, orphaned local files #648

Open
phette23 opened this issue Nov 13, 2024 · 0 comments
Open

Questions about file location, orphaned local files #648

phette23 opened this issue Nov 13, 2024 · 0 comments

Comments

@phette23
Copy link
Contributor

Sorry if this isn't the appropriate way to ask these but I wanted to clarify a few things.

When a tuple in mdl_tool_objectfs_objects has location = -2 that means a file with a matching contenthash does not exist in the mdl_files table but does in remote storage, correct? And if we have set deleteexternal to "Delete external file on orphan clean-up" then these files should be delete from object storage the next time the delete_orphaned_object_metadata task runs?

Secondly, we have a gradually growing "Delta (filedir - objectfs)" / "Filedir" which accounts for most of the disk space utilized by our filedir volume, as I set sizethreshold to be quite small (2560). Are these files that are stored locally in our filedir but which have contenthashes in neither mdl_tool_objectfs_objects nor mdl_files? How do they get there? The plugin doesn't clean them up? I'm wondering if I have to write a script to remove files in our filedir which have no matching contenthashes periodically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant