redis-shake工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
245 B

#!/usr/bin/expect -f
set rb [lindex $argv 0]
set list [lrange $argv 1 end]
spawn $rb create --replicas 1 {*}$list
#expect "(type 'yes' to accept):"
expect "to accept\):"
send "yes\r"
#expect "[OK] All 16384 slots covered."
#send "\r"
expect eof