Skip to content

Commit 2f08797

Browse files
feat(enterprise): add shard management commands (#168) (#293)
- 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 5c0d855 commit 2f08797

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
@@ -1028,6 +1028,10 @@ pub enum EnterpriseCommands {
10281028
#[command(subcommand)]
10291029
Workflow(EnterpriseWorkflowCommands),
10301030

1031+
/// Shard management operations
1032+
#[command(subcommand)]
1033+
Shard(crate::commands::enterprise::shard::ShardCommands),
1034+
10311035
/// Statistics and metrics operations
10321036
#[command(subcommand)]
10331037
Stats(EnterpriseStatsCommands),

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ pub mod node_impl;
2020
pub mod proxy;
2121
pub mod rbac;
2222
pub mod rbac_impl;
23+
pub mod shard;
2324
pub mod stats;
2425
pub mod usage_report;
2526
pub mod utils;

0 commit comments

Comments
 (0)