Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
eff68bd6
Commit
eff68bd6
authored
Mar 24, 2015
by
Salvatore Sanfilippo
Browse files
Merge pull request #2470 from superlogical/unstable
create-cluster fix for stop and watch commands
parents
9b0bcf25
761fc16b
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/create-cluster/create-cluster
View file @
eff68bd6
...
...
@@ -43,7 +43,7 @@ then
while
[
$((
PORT < ENDPORT
))
!=
"0"
]
;
do
PORT
=
$((
PORT+1
))
echo
"Stopping
$PORT
"
redis-cli
-p
$PORT
shutdown nosave
../../src/
redis-cli
-p
$PORT
shutdown nosave
done
exit
0
fi
...
...
@@ -54,7 +54,7 @@ then
while
[
1
]
;
do
clear
date
redis-cli
-p
$PORT
cluster nodes |
head
-30
../../src/
redis-cli
-p
$PORT
cluster nodes |
head
-30
sleep
1
done
exit
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment