-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Open
Milestone
Description
Feature request:
At the moment, in order to migrate a slot from one node to another, the redis-trib.rb script is needed or it involves multiple operations on different nodes:
- CLUSTER SETSLOT slot IMPORTING on target
- CLUSTER SETSLOT slot MIGRATING on source
- For each key in (CLUSTER GETKEYSINSLOT slot count):
- MIGRATE target_host target_port key target_database id timeout
- CLUSTER SETSLOT slot NODE node-id on all nodes
However this set of operations could be wrapped in a "native" command:
CLUSTER MIGRATE slot target-node
As far as I can see, once this command is integrated, the CLUSTER SETSLOT slot [NODE|MIGRATING|IMPORTING] command would not be needed anymore.
marcdejonge, companycy, jahraphael, giladwa, hpatro and 3 more
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog