]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- set BDB option to keep only active transaction log by default
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 23 Nov 2012 07:06:18 +0000 (08:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 23 Nov 2012 07:06:18 +0000 (08:06 +0100)
rpm-DB_CONFIG.patch [new file with mode: 0644]

diff --git a/rpm-DB_CONFIG.patch b/rpm-DB_CONFIG.patch
new file mode 100644 (file)
index 0000000..238c385
--- /dev/null
@@ -0,0 +1,13 @@
+--- rpm-5.4.10/rpmdb/DB_CONFIG.in~     2012-02-18 20:19:37.000000000 +0100
++++ rpm-5.4.10/rpmdb/DB_CONFIG.in      2012-11-22 17:32:56.647805060 +0100
+@@ -5,6 +5,10 @@
+ set_lg_dir ./log
+ set_tmp_dir ./tmp
++# prevent recovery logs (log/log.*) from growing forever and keep only active log by default
++# this makes BDB "catastrophic" (re-creation of db from logs) recovery impossible
++log_set_config DB_LOG_AUTO_REMOVE
++
+ # -- thread_count must be >= 8
+ set_thread_count 64
This page took 0.052801 seconds and 4 git commands to generate.