Skip to content

Conversation

@joshrotenberg
Copy link
Collaborator

Implements local node operations and exposes existing shard management commands.

Changes

Local Node Commands (Issue #168)

  • redisctl enterprise local healthcheck - Get local node master healthcheck
  • redisctl enterprise local services - List local services
  • redisctl enterprise local services-update - Update local services configuration

Shard Commands (Issue #154)

Shard commands were already implemented but not wired up in the CLI. This PR exposes them:

  • redisctl enterprise shard list - List all shards (with filters)
  • redisctl enterprise shard get - Get shard details
  • redisctl enterprise shard list-by-database - List shards for specific database
  • redisctl enterprise shard failover - Perform shard failover
  • redisctl enterprise shard migrate - Migrate shard to another node
  • redisctl enterprise shard bulk-failover - Bulk failover operation
  • redisctl enterprise shard bulk-migrate - Bulk migration operation
  • redisctl enterprise shard stats - Get shard statistics
  • redisctl enterprise shard stats-last - Get latest shard statistics
  • redisctl enterprise shard health - Check shard health
  • redisctl enterprise shard config - Get shard configuration

Testing

  • Verified both command help outputs
  • All tests passing (lib + integration)
  • cargo fmt and clippy clean

Closes #154
Closes #168

…ands

- Add local node operations: healthcheck, services list, services update
- Expose existing shard management commands in CLI (already implemented but not wired up)
- Wire up both command sets in main.rs

Closes #154
Closes #168
@joshrotenberg joshrotenberg merged commit ebd4beb into main Oct 7, 2025
16 checks passed
@joshrotenberg joshrotenberg deleted the feat/shard-and-local-commands branch October 7, 2025 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(enterprise): implement local node commands feat(enterprise): implement shard management commands

2 participants