ctdb-daemon: Add invalid_records flag to ctdb_db_context
authorAmitay Isaacs <amitay@gmail.com>
Wed, 14 Feb 2018 03:29:18 +0000 (14:29 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 8 Oct 2018 00:46:20 +0000 (02:46 +0200)
commit71896fddf10a92237d332779ccbb26c059caa649
tree5efbbc5dfb7b22d28ab046fcd7abd5261b097a17
parent6784ff24b8a31b9d597d24cab6e34feea2b83e29
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>
ctdb/include/ctdb_private.h