root@knight:/data# redis-cli -p 6381 127.0.0.1:6381> keys * (empty array) 127.0.0.1:6381> set k1 v1 (error) MOVED 12706 192.168.1.42:6383 127.0.0.1:6381> set k2 v2 OK 127.0.0.1:6381> set k3 v3 OK 127.0.0.1:6381> set k4 v4 (error) MOVED 8455 192.168.1.42:6382 127.0.0.1:6381>
127.0.0.1:6381> exit root@knight:/data# redis-cli -p 6381 -c 127.0.0.1:6381> FLUSHALL OK 127.0.0.1:6381> set k1 v1 -> Redirected to slot [12706] located at 192.168.1.42:6383 OK 192.168.1.42:6383> set k4 v4 -> Redirected to slot [8455] located at 192.168.1.42:6382 OK 192.168.1.42:6382>