]> git.ipfire.org Git - thirdparty/samba.git/commit
ctdb-recovery: Replace use of ctdb_dbid_map with local db_list
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Feb 2020 01:24:39 +0000 (12:24 +1100)
committerMartin Schwenke <martins@samba.org>
Mon, 23 Mar 2020 23:45:38 +0000 (23:45 +0000)
commit4c0b9c36050a0ed8a180d4ac1853224089528e8e
tree7bd18e98af89c1aebb9e34f7b567099b97f9dcb3
parent7e5a8a4884ea87bb985fe0e2b65ff130fc2ba8aa
ctdb-recovery: Replace use of ctdb_dbid_map with local db_list

This will be used to build a merged list of databases from all nodes,
allowing the recovery helper to create missing databases.

It would be possible to also include the db_name field in this
structure but that would cause a lot of churn.  This field is used
locally in the recovery of each database so can continue to live in
the relevant state structure(s).

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>
ctdb/server/ctdb_recovery_helper.c