When trying to re-balance the ip assignment and shuffle ips from
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 3 Aug 2010 03:34:27 +0000 (13:34 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 6 Jul 2011 03:18:32 +0000 (13:18 +1000)
commit393b0b7155ef6ffbf2c73526cc318082bc7bd953
tree6e99cffbc33f32c1b96a84907374b990001c37ec
parent7f5596fc3e07f1f870c2bee7a3547544c3e3646e
When trying to re-balance the ip assignment and shuffle ips from
nodes with many addresses to nodes with few addresses,
loop up to num_ips+5 times instead of only 5 times.

When we have very many public ips per node, we might need to loop more than
5 times or else we will exit without reaching optimal balance.
server/ctdb_takeover.c