ctdb-daemon: Always update database priority cluster wide
authorAmitay Isaacs <amitay@gmail.com>
Wed, 2 Apr 2014 06:17:47 +0000 (17:17 +1100)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 7 Apr 2014 12:06:26 +0000 (14:06 +0200)
commit01de7818def1367fd55d8fbd80432c5a02c3e1f6
tree09f411dc5e268177429b59eda594a41b3090f423
parent5963519ec33c436ae4616c556d8ab5c6028e6bf6
ctdb-daemon: Always update database priority cluster wide

Database priority is a global property and all the nodes should have the
priority set for the databases.  Just setting priority on one node can
lead to problems in the recovery as a database can be frozen at wrong
priority and then freezing database would not succeed.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Apr  7 14:06:26 CEST 2014 on sn-devel-104
ctdb/include/ctdb_private.h
ctdb/server/ctdb_control.c
ctdb/server/ctdb_ltdb_server.c
ctdb/server/ctdb_recoverd.c