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

Store metadata in sqlite #394

Merged
merged 9 commits into from
Jan 16, 2025
Merged

Store metadata in sqlite #394

merged 9 commits into from
Jan 16, 2025

Conversation

awoimbee
Copy link
Collaborator

Big changes !

I plan on testing and stabilizing this for a while before releasing. Next feature: LRU cache !

Fixes #391
Fixes #145

For #145, I too wanted some sort of CRDT But I just don't have the bandwidth.
Note that there are 2 ways ahead for HA:

  1. multiple trows, shared or replicated database, external storage (s3)
  2. multiple trows, local database, local storage (federation by Trows querying each other)

I think 2 is more feasible

The abstraction is not good, the code is buggy.
But it will do until it is re-done to use the SQL database.
Before, Trow used the filesystem as a database.
Now it have an SQlite DB.

Will allow advanced features like LRU cache of images.
@awoimbee awoimbee marked this pull request as ready for review January 16, 2025 11:13
@awoimbee
Copy link
Collaborator Author

I still have some OCI conformance issues, I'm gonna fix these in a following pr

@awoimbee awoimbee merged commit 37395bd into main Jan 16, 2025
4 of 5 checks passed
@awoimbee awoimbee deleted the aw/sqlite branch January 16, 2025 11:15
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.

[Bug]: Can't login to Trow registry when secured with password Create Internal Data Structure / Cache
1 participant