ctdb-daemon: Respect CTDB_CTRL_FLAG_ATTACH_RECOVERY when attaching databases
commit92b0fcf3a4ef1eab39c12ed289af0a8fddaf8165
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 10:08:25 +0000 (30 10:08 +0000)
tree6fcca1c816d0a9385618632796391de4ff265159
parent835f091f80af8d4264b5b9d008f809c845f48bd6
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