ctdb_ltdb_store_server: implement fastpath vacuuming deletion based on VACUUM_MIGRATE...
authorMichael Adam <obnox@samba.org>
Fri, 10 Dec 2010 13:13:50 +0000 (14:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Apr 2011 15:35:20 +0000 (17:35 +0200)
commitdfd01892bc4a03f3e324a78691da135baddfd140
treef54b54c5714e75f57a5486add7d1a31b25d9a549
parent982031c0702e35395ad30fdf13607b64b1495f1f
ctdb_ltdb_store_server: implement fastpath vacuuming deletion based on VACUUM_MIGRATED flag.

When the record has been obtained by the lmaster as part of the vacuuming-fetch
handler and it is empty and never been migrated with data, then such records
are deleted instead of being stored. These records have automatically been
deleted when leaving the former dmaster, so that they vanish for good when
hitting the lmaster in this way. This will reduces the load on traditional
vacuuming.

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit c9b65f3602f51bcbf0e6d82c12076c31e4aebe38)

Signed-off-by: Stefan Metzmacher <metze@samba.org>
server/ctdb_ltdb_server.c