Skip to content

Commit c6084e8

Browse files
committed
feat(enterprise): add shard management commands (#168)
- List shards with optional filtering by node, database, or role - Get individual shard details - Failover operations (manual and automatic) - Migrate shards between nodes - View shard statistics (real-time and historical) - Comprehensive mdBook documentation - Support for stdin input via '-' flag
1 parent c61c6ee commit c6084e8

File tree

6 files changed

+828
-0
lines changed

6 files changed

+828
-0
lines changed

crates/redisctl/src/cli.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,6 +1024,10 @@ pub enum EnterpriseCommands {
10241024
#[command(subcommand)]
10251025
Workflow(EnterpriseWorkflowCommands),
10261026

1027+
/// Shard management operations
1028+
#[command(subcommand)]
1029+
Shard(crate::commands::enterprise::shard::ShardCommands),
1030+
10271031
/// Statistics and metrics operations
10281032
#[command(subcommand)]
10291033
Stats(EnterpriseStatsCommands),

crates/redisctl/src/commands/enterprise/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,6 @@ pub mod node;
1919
pub mod node_impl;
2020
pub mod rbac;
2121
pub mod rbac_impl;
22+
pub mod shard;
2223
pub mod stats;
2324
pub mod utils;

0 commit comments

Comments
 (0)