From a363e0ce25b5a988cbe4c93ac09c9335e4552413 Mon Sep 17 00:00:00 2001 From: Amitay Isaacs Date: Wed, 14 Feb 2018 14:29:18 +1100 Subject: 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 (cherry picked from commit 71896fddf10a92237d332779ccbb26c059caa649) --- ctdb/include/ctdb_private.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ctdb') diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index 25d00476be2..b88cd82b999 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -387,6 +387,7 @@ struct ctdb_db_context { uint32_t freeze_transaction_id; uint32_t generation; + bool invalid_records; bool push_started; void *push_state; -- cgit v1.2.1