summaryrefslogtreecommitdiffstats
path: root/ctdb/Makefile.in
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-03-28 14:50:36 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2012-03-28 15:02:07 +1100
commita3ee4a900f2b0e29ded07917d16e10707f07b7c3 (patch)
tree836a759cdf21624b38511bb9c520e7392c0a93e5 /ctdb/Makefile.in
parent081a8ec403474c76ce8ac496902923a649bc43db (diff)
downloadsamba-a3ee4a900f2b0e29ded07917d16e10707f07b7c3.tar.gz
samba-a3ee4a900f2b0e29ded07917d16e10707f07b7c3.tar.xz
samba-a3ee4a900f2b0e29ded07917d16e10707f07b7c3.zip
Initscript - add backup of corrupt non-persistent databases
Corrupt non-persistent databases never get analysed because ctdbd zeroes them at startup. Modify the initscript so that corrupt non-persistent databases are moved aside to a backup. If the number of backups for a particular database exceeds $CTDB_MAX_CORRUPT_DB_BACKUPS (default 10) then the oldest excess backups are garbage collected. Abstracts from and cleans up the code for checking persistent databases. Logging of related messages is done to syslog or a log file as specified. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 00cd75595685dae829758abf1a4cb644af7ed50e)
Diffstat (limited to 'ctdb/Makefile.in')
0 files changed, 0 insertions, 0 deletions