diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-02-14 14:29:18 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-10-08 02:46:20 +0200 |
commit | 71896fddf10a92237d332779ccbb26c059caa649 (patch) | |
tree | 5efbbc5dfb7b22d28ab046fcd7abd5261b097a17 /ctdb/include | |
parent | 6784ff24b8a31b9d597d24cab6e34feea2b83e29 (diff) | |
download | samba-71896fddf10a92237d332779ccbb26c059caa649.tar.gz |
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>
Diffstat (limited to 'ctdb/include')
-rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |