feat: add cloud storage configuration and validator #3348
+22
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[GSOC][Kvrocks] Support database backup to cloud storage
Why this PR?
This is a Draft PR for my GSoC 2026 proposal: "Cloud Backup Support for Kvrocks".
I have started by implementing the configuration infrastructure. This allows the engine to recognize and validate cloud storage settings before we move to the integration phase.
The goal is to allow Kvrocks to natively support backups to cloud providers like S3, GCS, and Azure Blob Storage using Apache OpenDAL.
What has been implemented:
cloud-storage-type,cloud-storage-bucket, etc.) to theConfigclass.initFieldValidatorto ensure only supported cloud backends are accepted.CONFIG GETandCONFIG SETon a running local instance.Next Steps:
CloudStoragehelper class to handle the actual upload/download logic.I welcome any feedback on the naming conventions used in
config.hor the validation logic!