mirror of
https://github.com/fluencelabs/redis
synced 2025-03-25 11:51:03 +00:00
fix check_open_slots
This commit is contained in:
parent
28c291c55c
commit
d5aa7e2abe
@ -407,7 +407,8 @@ class RedisTrib
|
|||||||
cluster_error \
|
cluster_error \
|
||||||
"[WARNING] Node #{n} has slots in migrating state (#{n.info[:migrating].keys.join(",")})."
|
"[WARNING] Node #{n} has slots in migrating state (#{n.info[:migrating].keys.join(",")})."
|
||||||
open_slots += n.info[:migrating].keys
|
open_slots += n.info[:migrating].keys
|
||||||
elsif n.info[:importing].size > 0
|
end
|
||||||
|
if n.info[:importing].size > 0
|
||||||
cluster_error \
|
cluster_error \
|
||||||
"[WARNING] Node #{n} has slots in importing state (#{n.info[:importing].keys.join(",")})."
|
"[WARNING] Node #{n} has slots in importing state (#{n.info[:importing].keys.join(",")})."
|
||||||
open_slots += n.info[:importing].keys
|
open_slots += n.info[:importing].keys
|
||||||
|
Loading…
x
Reference in New Issue
Block a user