# 可以指定任意一个节点(M/S均可)
./redis-trib.rb reshard 127.0.0.1:7382
# 指定移动多少个 slot(哈希槽)
How many slots do you want to move (from 1 to 16384)? 250
# 指定接收的节点
What is the receiving node ID? 0e910bc1ae0c16d1f6e754b2759cbb23897a0c6e
# 指定取 slot(哈希槽)的节点
# 第一种ALL,除接收节点外,其他节点平均分配取slot
# 第二种 指定节点ID,输入done结束
Please enter all the source node IDs.
Type 'all' to use all the nodes as source nodes for the hash slots.
Type 'done' once you entered all the source nodes IDs.
Source node #1:538274656289381c0e488e95aaf6cd30731457eb
Source node #2:done
How many slots do you want to move (from 1 to 16384)? 4096
What is the receiving node ID? 04e7c3cbea818d16bbc76080234ef6a2205f4199
Please enter all the source node IDs.
Type 'all' to use all the nodes as source nodes for the hash slots.
Type 'done' once you entered all the source nodes IDs.
Source node #1:all