ctdb-daemon: Add a check for database generation consistency
authorAmitay Isaacs <amitay@gmail.com>
Fri, 11 Sep 2015 06:14:12 +0000 (16:14 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 7 Oct 2015 12:53:27 +0000 (14:53 +0200)
commit3cbd0409f398828ee6415229b3c23781405176ea
tree0cb837c8c193667e6cb76c36e0ee6b77ff6c63a5
parent0ff90f4fac74e61192aff100b168e38ce0adfabb
ctdb-daemon: Add a check for database generation consistency

Before setting recovery mode to normal, confirm that all the databases are
recovered by matching the database generation with the global generation.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/server/ctdb_recover.c