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)
committerMichael Adam <obnox@samba.org>
Wed, 9 Mar 2011 23:56:34 +0000 (00:56 +0100)
commit15d23a4b00b8c85ff43ae636775eec1f970999a4
tree8f484581081beb13a0d087e9dc4c84b61c476f74
parent6e58a240adc7dbfac2cec2a9d53eb19822476acd
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>
server/ctdb_ltdb_server.c