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

Split store #9

Merged
merged 10 commits into from
Jan 10, 2024
Merged

Split store #9

merged 10 commits into from
Jan 10, 2024

Conversation

ctron
Copy link
Owner

@ctron ctron commented Jan 10, 2024

This changes the layout of the file system store to split content up by distribution as well as the prefix directories (e.g. 2023) underneath that.

Having too many files in a single directory can become a performance issue, so it is necessary to split this up. Also, it was possible to for documents with the same name to overlap in different distributions.

Instead of coming up with a custom logic, this follows the idea of CSAF, having a prefix directory by year.

NOTE: This changes the filesystem layout of the stored files. However, that layout was never considered an API, so it is not considered a breaking change. But one should be aware of that.

ctron added 2 commits January 10, 2024 11:58
This changes the layout of the file system store to split content up
by distribution as well as the prefix directories (e.g. `2023`)
underneath that.

Having too many files in a single directory can become a performance
issue, so it is necessary to split this up. Also, it was possible to
for documents with the same name to overlap in different distributions.

Instead of coming up with a custom logic, this follows the idea of CSAF,
having a prefix directory by year.

NOTE: This changes the filesystem layout of the stored files. However,
that layout was never considered an API, so it is not considered a
breaking change. But one should be aware of that.
@ctron ctron force-pushed the feature/split_store_1 branch from 1ab1eae to 5fe5914 Compare January 10, 2024 10:59
@ctron ctron merged commit 5cfd941 into main Jan 10, 2024
8 checks passed
@ctron ctron deleted the feature/split_store_1 branch January 10, 2024 14:45
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