recoverd: When updating flags on nodes, send updated flags and not old flags
authorAmitay Isaacs <amitay@gmail.com>
Wed, 26 Jun 2013 05:22:46 +0000 (15:22 +1000)
committerAmitay Isaacs <amitay@gmail.com>
Fri, 28 Jun 2013 04:20:12 +0000 (14:20 +1000)
commit7eb2f89979360b6cc98ca9b17c48310277fa89fc
tree6d11252d306dc6914592a2ae0272ac865a9fc3ce
parent4f87925a287f612a6ab3b5da1a387a31c7bea28f
recoverd: When updating flags on nodes, send updated flags and not old flags

This was broken by commit a9a1156ea4e10483a4bf4265b8e9203f0af033aa.
Instead of a SRVID_SET_NODE_FLAGS message to recovery daemon, a control
was sent to the local daemon which in turn informed the recovery daemon.
And while doing this change old flags were sent via CONTROL_MODIFY_FLAGS.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
server/ctdb_recoverd.c