Matt Stancliff e942f3ce0f Cluster: Restore proper trib master iteration
This got removed in 2e5c394 during a new feature addition.

The prior commit had "break if masters.length == masters_count"
but we are guaranteed to aready have that condition met since
otherwise we would haven't gotten this far.

Without this break statement, it's possible some masters may
be forgotten and have zero replicas while other masters have
more than their requested number of replicas.

Thanks to carlos for pointing out this regression at:
https://groups.google.com/forum/#!topic/redis-db/_WVVqDw5B7c
2014-03-24 10:17:44 -04:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2014-03-20 16:20:37 +01:00
2013-01-19 10:59:44 +01:00
2014-03-20 16:20:37 +01:00
2013-05-14 11:23:16 +02:00
2013-01-19 10:59:44 +01:00
2014-02-28 16:00:00 +01:00
2013-12-13 13:10:05 +01:00
2014-03-20 16:20:37 +01:00
2013-01-19 10:59:44 +01:00
2014-03-24 12:00:20 +01:00
2014-03-24 12:00:20 +01:00
2013-01-19 10:59:44 +01:00
2014-01-22 09:54:55 +01:00
2013-07-16 15:43:36 +02:00
2013-08-12 11:38:21 +02:00
2013-01-19 10:59:44 +01:00
2013-07-24 18:59:54 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-09-03 15:15:51 +02:00