feat: add cloud storage configuration and validator#3348
Draft
Faisal77666 wants to merge 1 commit intoapache:unstablefrom
Draft
feat: add cloud storage configuration and validator#3348Faisal77666 wants to merge 1 commit intoapache:unstablefrom
Faisal77666 wants to merge 1 commit intoapache:unstablefrom
Conversation
Member
|
Hi, thanks for your contribution. I’d like to ask you to keep these two points in mind:
|
Author
|
@PragmaTwice Thank you for the clarification! I completely understand. I opened this as a personal exploration to better understand the Kvrocks configuration engine while drafting my proposal. I will keep this as a Draft for my own learning and will focus on the proposal details as per the GSoC timeline. I'm happy to close the PR or leave it as a Draft—whichever the community prefers to avoid confusion. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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!