#把127.0.0.1:9013当前master迁移到127.0.0.1:9015上 redis-trib.rb reshard 127.0.0.1:9013 #根据提示选择要迁移的slot数量(ps:这里选择500) How many slots do you want to move (from 1 to 16384)? 1(源master的需要迁移slot数量,不能单个指定) #选择要接受这些slot的node-id(127.0.0.1:9015) What is the receiving node ID? c725cda7b314701c6892f035224700e9a8336699 (ps:127.0.0.1:9015的node-id) 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:a92e4554aa2828b85f50f8f8318429d68f5213ca(源master的node-id) Source node #2:done #打印被移动的slot后,输入yes开始移动slot以及对应的数据. #Do you want to proceed with the proposed reshard plan (yes/no)? yes
thrift: # Configure the ports where to listen for Thrift-RPC traffic. You can disable # the Thrift-RPC protocol by commenting out the list of ports. ports: [9090] transport_type: framed protocol_type: binary string_max_size: 200 collection_max_size: 20 capture_reply: true obfuscate_strings: true drop_after_n_struct_fields: 100