Merge pull request #1629 from mattsta/fix-trib-master-assignment

Cluster: Restore proper trib master iteration
This commit is contained in:
Salvatore Sanfilippo 2014-03-24 18:31:55 +01:00
commit 8e6625e6ae

View File

@ -586,6 +586,7 @@ class RedisTrib
nodes_count -= 1 nodes_count -= 1
assigned_replicas += 1 assigned_replicas += 1
puts "Adding replica #{slave} to #{m}" puts "Adding replica #{slave} to #{m}"
break
} }
end end
} }