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>
Tue, 29 Sep 2009 03:27:19 +0000 (13:27 +1000)
commit95a3ee551241aa164967991fe5efe078e1714bde
tree6f20185a75a97b0d37ed7af2177f5958270b16e1
parent6e35feb06ec036b9036c5d1cdd94f7cef140d8a6
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