diff options
author | Salvatore Sanfilippo <antirez@gmail.com> | 2014-03-24 18:31:55 +0100 |
---|---|---|
committer | Salvatore Sanfilippo <antirez@gmail.com> | 2014-03-24 18:31:55 +0100 |
commit | 8e6625e6ae8a77d6c0869d8e5d5409bc6068cfd1 (patch) | |
tree | 6ca8cef74db50107a050040277710579d516e08d /src/redis-trib.rb | |
parent | a006fcb8a77127e38bc45c7a622281b622623bf8 (diff) | |
parent | e942f3ce0fee5033d2d4b4e8c5b9f1d912a1d370 (diff) | |
download | redis-8e6625e6ae8a77d6c0869d8e5d5409bc6068cfd1.tar.gz |
Merge pull request #1629 from mattsta/fix-trib-master-assignment
Cluster: Restore proper trib master iteration
Diffstat (limited to 'src/redis-trib.rb')
-rwxr-xr-x | src/redis-trib.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/redis-trib.rb b/src/redis-trib.rb index 4efe11cba..85139ebb9 100755 --- a/src/redis-trib.rb +++ b/src/redis-trib.rb @@ -586,6 +586,7 @@ class RedisTrib nodes_count -= 1 assigned_replicas += 1 puts "Adding replica #{slave} to #{m}" + break } end } |