We default to non-deterministic ip now where ips are "sticky" and dont change
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 2 Feb 2011 04:00:53 +0000 (15:00 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 2 Feb 2011 04:00:53 +0000 (15:00 +1100)
commitbb1618faa065c3f245a4dc5c813e0e1c0ae9edde
tree5a78aa14cce5d9cd2c347a34c8d836f8f3b05a5c
parent3ec163028aebc5118efb687f2c447bdde1070f93
We default to non-deterministic ip now where ips are "sticky" and dont change
too much.
This means we can simplify the way we add ips significantly and stop
trying to move them.

We also check if the node already hosts the ip, in which case we used to return an error. Instead just print an error string but return 0, ok.
This makes it easier to script, and works around broken scripts.

CQ1021034
tools/ctdb.c