feat: add shard split proto definitions, model types, and admin CLI#911
Merged
merlimat merged 2 commits intooxia-db:mainfrom Mar 3, 2026
Merged
feat: add shard split proto definitions, model types, and admin CLI#911merlimat merged 2 commits intooxia-db:mainfrom
merlimat merged 2 commits intooxia-db:mainfrom
Conversation
0f6988e to
bd3cbb4
Compare
Add gRPC service definitions and messages for shard split operations: - SplitShard RPC in OxiaCoordination admin service - Observer replication messages (AddFollower with observer flag, SendSnapshot for shard-to-shard bootstrap) - SplitHashRange field in AddFollowerRequest for hash range propagation - MetadataSplitHashRangeMin/Max constants for gRPC metadata Add data model types for split state management: - SplitPhase enum (Init, Bootstrap, CatchUp, Cutover, Cleanup) - ClusterStatus fields for tracking active splits and child shards Add admin CLI command (oxia admin split-shard) and client library wrappers for triggering splits. Signed-off-by: Matteo Merli <mmerli@apache.org>
bd3cbb4 to
ad907ff
Compare
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.
Design detailed in https://github.com/orgs/oxia-db/discussions/909
Change 1/3
Add the foundational types and interfaces for shard splitting:
oxia admin split-shardcommand