1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

ctdb-tunables: Mark tunable MaxRedirectCount obsolete

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
Amitay Isaacs 2016-03-07 18:02:02 +11:00 committed by Amitay Isaacs
parent aa700deb64
commit 73ab0f9911
2 changed files with 1 additions and 20 deletions

View File

@ -281,25 +281,6 @@
</para>
</refsect2>
<refsect2>
<title>MaxRedirectCount</title>
<para>Default: 3</para>
<para>
If we are not the DMASTER and need to fetch a record across the
network we first send the request to the LMASTER after which the
record is passed onto the current DMASTER. If the DMASTER changes
before the request has reached that node, the request will be
passed onto the "next" DMASTER. For very hot records that migrate
rapidly across the cluster this can cause a request to "chase"
the record for many hops before it catches up with the record.
</para>
<para>
When chasing a record, this is how many hops we will chase
the record for before going back to the LMASTER to ask for
new guidance.
</para>
</refsect2>
<refsect2>
<title>MonitorInterval</title>
<para>Default: 15</para>

View File

@ -35,7 +35,7 @@ static const struct {
size_t offset;
bool obsolete;
} tunable_map[] = {
{ "MaxRedirectCount", 3, offsetof(struct ctdb_tunable_list, max_redirect_count), false },
{ "MaxRedirectCount", 3, offsetof(struct ctdb_tunable_list, max_redirect_count), true },
{ "SeqnumInterval", 1000, offsetof(struct ctdb_tunable_list, seqnum_interval), false },
{ "ControlTimeout", 60, offsetof(struct ctdb_tunable_list, control_timeout), false },
{ "TraverseTimeout", 20, offsetof(struct ctdb_tunable_list, traverse_timeout), false },