summaryrefslogtreecommitdiffstats
path: root/ctdb/install-sh
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-05-13 15:27:04 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-23 16:18:23 +1000
commit5fdf71b8982201de989c6e7ed89782424d13236c (patch)
treeff3a49e4a08ca3da97f87d541195c431a58dc79e /ctdb/install-sh
parent3f37b4418e92e13527fbf7311a5bd4291aad2342 (diff)
downloadsamba-5fdf71b8982201de989c6e7ed89782424d13236c.tar.gz
samba-5fdf71b8982201de989c6e7ed89782424d13236c.tar.xz
samba-5fdf71b8982201de989c6e7ed89782424d13236c.zip
recoverd: takeover_run_core() should not use modified node flags
Modifying the node flags with IP-allocation-only flags is not necessary. It causes breakage if the flags are not cleared after use. ctdb_takeover_run() no longer needs the general node flags - it only needs the IP flags. Instead of modifying the node flags in nodemap, construct a custom IP flags list and have takeover_run_core() use that instead of node flags. As well as being safer, this makes the IP allocation code more self contained and a little bit clearer. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 14bd0b6961ef1294e9cba74ce875386b7dfbf446)
Diffstat (limited to 'ctdb/install-sh')
0 files changed, 0 insertions, 0 deletions