diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2016-08-05 15:10:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-05 15:10:41 +0200 |
commit | 9f779b33b54615d4bbaaafadfc5d5f9b93e2166b (patch) | |
tree | 3c773becd59ce7f7037c6e0ec25c50cf9782c8d6 | |
parent | c5414cef71c4ff1501ee62cbdfbb6cec52ca4296 (diff) | |
parent | d0f53079e31641c860ea577f876f4361d23f53f3 (diff) | |
download | redis-9f779b33b54615d4bbaaafadfc5d5f9b93e2166b.tar.gz |
Merge pull request #3340 from rojingeorge/unstable
Display the nodes' proper summary once the cluster is created using redis-trib
-rwxr-xr-x | src/redis-trib.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/redis-trib.rb b/src/redis-trib.rb index 68d46bdf8..b40b5decb 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -1305,6 +1305,11 @@ class RedisTrib sleep 1 wait_cluster_join 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 end |