ctdb-recovery: Replace use of ctdb_dbid_map with local db_list
commit808c7aabcbda0272e666037b3f715facdb48fa76
authorMartin Schwenke <martin@meltin.net>
Fri, 21 Feb 2020 01:24:39 +0000 (21 12:24 +1100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 30 Mar 2020 08:06:12 +0000 (30 08:06 +0000)
tree5f742821583e2aef4824bcf3656ee4d23734a412
parent1e57e5c4e62e18390b08efd026eac8fddca4e619
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>
(cherry picked from commit 4c0b9c36050a0ed8a180d4ac1853224089528e8e)
ctdb/server/ctdb_recovery_helper.c