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
341ed1d1
Commit
341ed1d1
authored
Sep 25, 2013
by
antirez
Browse files
Cluster: fix redis-trib for added configEpoch field in CLUSTER NODES.
parent
32b5410a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
341ed1d1
...
...
@@ -118,7 +118,7 @@ class ClusterNode
nodes
.
each
{
|
n
|
# name addr flags role ping_sent ping_recv link_status slots
split
=
n
.
split
name
,
addr
,
flags
,
role
,
ping_sent
,
ping_recv
,
link_status
=
split
[
0
..
6
]
name
,
addr
,
flags
,
role
,
ping_sent
,
ping_recv
,
config_epoch
,
link_status
=
split
[
0
..
6
]
slots
=
split
[
7
..-
1
]
info
=
{
:name
=>
name
,
...
...
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