1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

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 <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2018-02-14 14:29:18 +11:00 committed by Amitay Isaacs
parent 6784ff24b8
commit 71896fddf1

View File

@ -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;