Add a delete_queue to the ctdb database context struct.
authorMichael Adam <obnox@samba.org>
Wed, 22 Dec 2010 13:50:53 +0000 (14:50 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 15:20:06 +0000 (17:20 +0200)
This list will be filled by the client using a new
delete control. The list will then be used to implement
a fast-path vacuuming that will traverse this list instead
of traversing the database.

similar to commit 9bbedf786b26bb074f668b31f29a9032af958673.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
include/ctdb_private.h

index d017151761ba9981563bd8384c6dfe310dc92e78..2d19527c787bfcc5d927ce550428f987ba6ddb99 100644 (file)
@@ -486,6 +486,7 @@ struct ctdb_db_context {
        bool transaction_active;
        struct ctdb_vacuum_handle *vacuum_handle;
        char *unhealthy_reason;
+       struct _trbt_tree_t *delete_queue;
 };