Skip to content

Introduce StorageSystem. - #1383

Merged
partim merged 8 commits into
mainfrom
storage-system-v2
Jul 2, 2026
Merged

Introduce StorageSystem.#1383
partim merged 8 commits into
mainfrom
storage-system-v2

Conversation

@partim

@partim partim commented Jun 19, 2026

Copy link
Copy Markdown
Member

This PR introduces an additional layer for the key value store that can keep global information. This is another step in preparation for introducing support for database storage which will have connection pools and such that are shared system-wide.

Since this storage system isn’t actually used yet, the PR for now is just a massive refactoring and does not introduce any functional changes.

This PR makes the storage_uri (aliased as data_dir) config option mandatory and drops both it being read from an environment variable or defaulting to ./data. Because of this, this is a breaking change.

@partim
partim requested a review from a team June 19, 2026 15:21

@Koenvh1 Koenvh1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me :-)

Comment thread src/commons/storage/backends/memory.rs Outdated
Comment thread src/commons/storage/test.rs Outdated
@partim
partim merged commit d2765f1 into main Jul 2, 2026
16 checks passed
@partim
partim deleted the storage-system-v2 branch July 2, 2026 10:07
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.

2 participants