From: Amitay Isaacs Date: Wed, 14 Feb 2018 03:29:18 +0000 (+1100) Subject: ctdb-daemon: Add invalid_records flag to ctdb_db_context X-Git-Tag: tdb-1.3.17~1451 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71896fddf10a92237d332779ccbb26c059caa649;p=thirdparty%2Fsamba.git ctdb-daemon: Add invalid_records flag to ctdb_db_context If a node becomes INACTIVE, then all the records in volatile databases are invalidated. This avoids the need to include records from such nodes during subsequent recovery after the node comes out INACTIVE state. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13641 Signed-off-by: Amitay Isaacs Reviewed-by: Martin Schwenke --- diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index b3d2e146dcf..ae154a08a0c 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -386,6 +386,7 @@ struct ctdb_db_context { uint32_t freeze_transaction_id; uint32_t generation; + bool invalid_records; bool push_started; void *push_state;