From Wolfgang Mueller-Friedt
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 29 Sep 2009 03:20:18 +0000 (13:20 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 2 Oct 2009 00:08:39 +0000 (10:08 +1000)
commit09d61629b56eac3336a805f75abdd353abbe54fa
tree98ea5fe37a700121d893c7c82720c5a5b9429be8
parent50e9284a294d17f48c47996e91ed542f57b2a77e
From Wolfgang Mueller-Friedt

Remove the explicit vacuum/repack commands from the 00.ctdb eventscript
and implement this in the ctdb daemon.

Combine vacuuming and repacking into one
cheap read traverse to enumerate all candidate records
and one write traverse that both repacks the database and also deletes the record locally where we are lmaster and where the records have already been deleted remotely.

this code also adds initial autotuning heuristics for the vacuum intervals and how many records to delete in each iteration.

minor stylish changes made by ronnie s
config/events.d/00.ctdb
include/ctdb_private.h
server/ctdb_tunables.c
server/ctdb_vacuum.c