diff --git a/etc/script/save_load.sh b/etc/script/save_load.sh deleted file mode 100644 index a45170dc9..000000000 --- a/etc/script/save_load.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -killall -9 pikiwidb -mkdir leader follower1 - - -PWD=`pwd` -PROJECT_HOME="${PWD}/../" -BIN="${PROJECT_HOME}/bin/pikiwidb" -CONF="${PROJECT_HOME}/etc/conf/pikiwidb.conf" -cd leader && ulimit -n 99999 && rm -fr * && ${BIN} ${CONF} --port 7777 & -cd follower1 && ulimit -n 99999 && rm -fr * && ${BIN} ${CONF} --port 8888 & -sleep 5 - -redis-cli -p 7777 raft.cluster init - -redis-benchmark -p 7777 -c 5 -n 10000 -r 10000 -d 1024 -t hset -redis-cli -p 7777 raft.node dosnapshot -redis-benchmark -p 7777 -c 5 -n 10000 -r 10000 -d 1024 -t hset -redis-cli -p 7777 raft.node dosnapshot -redis-benchmark -p 7777 -c 5 -n 10000 -r 10000 -d 1024 -t hset - -redis-cli -p 8888 raft.cluster join 127.0.0.1:7777