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>
Tue, 3 Aug 2010 03:34:27 +0000 (13:34 +1000)
commit31f510cceb124e89811c58d29fae336982c2e1a4
tree668174b06b095ae04ecfe5aa90f943b7d33629fc
parent20579b46300517d11f4c12c640aa365e0cfd0658
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