recoverd: Be careful about freeing the list of IP rebalance target nodes
commit566d66e6aba1536998bd94fe207a66c3a6936f52
authorMartin Schwenke <martin@meltin.net>
Fri, 6 Sep 2013 01:23:07 +0000 (6 11:23 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Thu, 19 Sep 2013 02:54:31 +0000 (19 12:54 +1000)
tree1c6a43cd05d1a4dc39dcaf0a0e09db95abc62ce1
parent4fb0d4a301d4409d125ccfb56f7d9ebba37095be
recoverd: Be careful about freeing the list of IP rebalance target nodes

It can change during a takeover run.  If it does then don't free it.

There are potentially fancier solutions (e.g. check what PNNs are new
to the list) to this issue but this is the simplest.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit e81589b7084c661adf617e166cc2c25b4939f841)
ctdb/server/ctdb_recoverd.c