ctdb-daemon: Respect CTDB_CTRL_FLAG_ATTACH_RECOVERY when attaching databases
commit1e57e5c4e62e18390b08efd026eac8fddca4e619
authorMartin Schwenke <martin@meltin.net>
Wed, 26 Feb 2020 00:50:09 +0000 (26 11:50 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 30 Mar 2020 08:06:12 +0000 (30 08:06 +0000)
tree32d08690b3c4abbdcf211dc599d671f940b54dca
parent05c2d86d0757653b777d0518f96beabc91bc7993
ctdb-daemon: Respect CTDB_CTRL_FLAG_ATTACH_RECOVERY when attaching databases

This is currently only set by the recovery daemon when it attaches
missing databases, so there is no obvious behaviour change.  However,
attaching missing databases can now be moved to the recovery helper as
long as it sets this flag.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14294

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
(cherry picked from commit 7e5a8a4884ea87bb985fe0e2b65ff130fc2ba8aa)
ctdb/server/ctdb_ltdb_server.c