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

feat(Tech: Assets): Split assets over subfolders #1526

Merged
merged 3 commits into from
Dec 4, 2024

Conversation

Kruptein
Copy link
Owner

@Kruptein Kruptein commented Dec 4, 2024

Migration required - This moves asset files on disk, so downgrading is less trivial.

Currently all assets are stored on disk in 1 flat directory. This makes that one inode quite heavy. This PR changes this behaviour and instead stores hashes in subfolders based on the start.

This requires a one-time move of all files as well as a patch to some DB meta data.

I should have done this in a separate PR, but while upgrading related code I stumbled upon .paa file handling code that is no longer reachable as the frontend never got updated to support this special custom format. I've removed the code from the server for now as it's quite unmaintained and simply not able to be triggered.

@Kruptein Kruptein merged commit 4b919f5 into dev Dec 4, 2024
6 checks passed
@Kruptein Kruptein deleted the feature/hash-subfolders branch December 4, 2024 15:14
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

Successfully merging this pull request may close these issues.

1 participant