1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

ctdb-common: Mark VacuumLimit tunable as obsolete

Use of this tunable was dropped over 5 years ago in commit
16837bc309.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Fri Oct  4 07:07:21 UTC 2019 on sn-devel-184
This commit is contained in:
Martin Schwenke
2019-10-02 17:52:31 +10:00
committed by Amitay Isaacs
parent 815ae64400
commit 2c54f6df71
5 changed files with 2 additions and 22 deletions

View File

@ -105,7 +105,7 @@ static struct {
offsetof(struct ctdb_tunable_list, vacuum_max_run_time) },
{ "RepackLimit", 10*1000, false,
offsetof(struct ctdb_tunable_list, repack_limit) },
{ "VacuumLimit", 5*1000, false,
{ "VacuumLimit", 5*1000, true,
offsetof(struct ctdb_tunable_list, vacuum_limit) },
{ "VacuumFastPathCount", 60, false,
offsetof(struct ctdb_tunable_list, vacuum_fast_path_count) },

View File

@ -574,10 +574,6 @@ MonitorInterval=20
<varname>RepackLimit</varname>, then the database is repacked
to get rid of the freelist records to avoid fragmentation.
</para>
<para>
Databases are repacked only if both <varname>RepackLimit</varname>
and <varname>VacuumLimit</varname> are exceeded.
</para>
</refsect2>
<refsect2>
@ -683,20 +679,6 @@ MonitorInterval=20
</para>
</refsect2>
<refsect2>
<title>VacuumLimit</title>
<para>Default: 5000</para>
<para>
During vacuuming, if the number of deleted records are more than
<varname>VacuumLimit</varname>, then databases are repacked to
avoid fragmentation.
</para>
<para>
Databases are repacked only if both <varname>RepackLimit</varname>
and <varname>VacuumLimit</varname> are exceeded.
</para>
</refsect2>
<refsect2>
<title>VacuumMaxRunTime</title>
<para>Default: 120</para>

View File

@ -809,7 +809,6 @@ RecoveryDropAllIPs = 120
VacuumInterval = 10
VacuumMaxRunTime = 120
RepackLimit = 10000
VacuumLimit = 5000
VacuumFastPathCount = 60
MaxQueueDropMsg = 1000000
AllowUnhealthyDBRead = 0

View File

@ -323,7 +323,6 @@ TickleUpdateInterval
TraverseTimeout
VacuumFastPathCount
VacuumInterval
VacuumLimit
VacuumMaxRunTime
VerboseMemoryNames
EOF
@ -336,6 +335,7 @@ check_removed_tunable ()
grep -Fiqx "$_tunable" <<EOF
NoIPHostOnAllDisabled
VacuumLimit
EOF
}

View File

@ -41,7 +41,6 @@ RecoveryDropAllIPs = 120
VacuumInterval = 10
VacuumMaxRunTime = 120
RepackLimit = 10000
VacuumLimit = 5000
VacuumFastPathCount = 60
MaxQueueDropMsg = 1000000
AllowUnhealthyDBRead = 0