diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-06-13 13:18:06 +1000 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2008-06-13 13:18:06 +1000 |
commit | 779468ab3f0dfdda57230fafb51aa4510818780c (patch) | |
tree | d6fac209bd63130b015b0bf4984ef3c897ee0122 /ctdb/server/ctdb_tunables.c | |
parent | 30535c815dc0cd1503312a76e0b9dcd439aff7c4 (diff) | |
download | samba-779468ab3f0dfdda57230fafb51aa4510818780c.tar.gz samba-779468ab3f0dfdda57230fafb51aa4510818780c.tar.xz samba-779468ab3f0dfdda57230fafb51aa4510818780c.zip |
if the event scripts hangs EventScriptsBanCount consecutive times in a row
the node will ban itself for the default recovery ban period
(This used to be ctdb commit 7239d7ecd54037b11eddf47328a3129d281e7d4a)
Diffstat (limited to 'ctdb/server/ctdb_tunables.c')
-rw-r--r-- | ctdb/server/ctdb_tunables.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c index 9518b2233c..d138137afd 100644 --- a/ctdb/server/ctdb_tunables.c +++ b/ctdb/server/ctdb_tunables.c @@ -38,6 +38,7 @@ static const struct { { "MonitorInterval", 15, offsetof(struct ctdb_tunable, monitor_interval) }, { "TickleUpdateInterval",20, offsetof(struct ctdb_tunable, tickle_update_interval) }, { "EventScriptTimeout", 20, offsetof(struct ctdb_tunable, script_timeout) }, + { "EventScriptBanCount", 5, offsetof(struct ctdb_tunable, script_ban_count) }, { "RecoveryGracePeriod", 60, offsetof(struct ctdb_tunable, recovery_grace_period) }, { "RecoveryBanPeriod", 300, offsetof(struct ctdb_tunable, recovery_ban_period) }, { "DatabaseHashSize", 10000, offsetof(struct ctdb_tunable, database_hash_size) }, |