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
190babe2
Commit
190babe2
authored
Jan 02, 2016
by
antirez
Browse files
redis-trib: Remove duplicated key in hash initialization.
parent
b1f84d41
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-trib.rb
View file @
190babe2
...
@@ -1570,7 +1570,7 @@ ALLOWED_OPTIONS={
...
@@ -1570,7 +1570,7 @@ ALLOWED_OPTIONS={
"add-node"
=>
{
"slave"
=>
false
,
"master-id"
=>
true
},
"add-node"
=>
{
"slave"
=>
false
,
"master-id"
=>
true
},
"import"
=>
{
"from"
=>
:required
,
"copy"
=>
false
,
"replace"
=>
false
},
"import"
=>
{
"from"
=>
:required
,
"copy"
=>
false
,
"replace"
=>
false
},
"reshard"
=>
{
"from"
=>
true
,
"to"
=>
true
,
"slots"
=>
true
,
"yes"
=>
false
,
"timeout"
=>
true
,
"pipeline"
=>
true
},
"reshard"
=>
{
"from"
=>
true
,
"to"
=>
true
,
"slots"
=>
true
,
"yes"
=>
false
,
"timeout"
=>
true
,
"pipeline"
=>
true
},
"rebalance"
=>
{
"weight"
=>
[],
"auto-weights"
=>
false
,
"threshold"
=>
RebalanceDefaultThreshold
,
"use-empty-masters"
=>
false
,
"timeout"
=>
true
,
"simulate"
=>
false
,
"pipeline"
=>
true
,
"threshold"
=>
true
},
"rebalance"
=>
{
"weight"
=>
[],
"auto-weights"
=>
false
,
"use-empty-masters"
=>
false
,
"timeout"
=>
true
,
"simulate"
=>
false
,
"pipeline"
=>
true
,
"threshold"
=>
true
},
"fix"
=>
{
"timeout"
=>
MigrateDefaultTimeout
},
"fix"
=>
{
"timeout"
=>
MigrateDefaultTimeout
},
}
}
...
...
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