Commit 9f779b33 authored by Salvatore Sanfilippo's avatar Salvatore Sanfilippo Committed by GitHub
Browse files

Merge pull request #3340 from rojingeorge/unstable

Display the nodes' proper summary once the cluster is created using redis-trib
parents c5414cef d0f53079
...@@ -1305,6 +1305,11 @@ class RedisTrib ...@@ -1305,6 +1305,11 @@ class RedisTrib
sleep 1 sleep 1
wait_cluster_join wait_cluster_join
flush_nodes_config # Useful for the replicas flush_nodes_config # Useful for the replicas
# Reset the node information, so that when the
# final summary is listed in check_cluster about the newly created cluster
# all the nodes would get properly listed as slaves or masters
reset_nodes
load_cluster_info_from_node(argv[0])
check_cluster check_cluster
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment