diff options
| author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-20 12:59:48 +1100 |
|---|---|---|
| committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2009-10-20 12:59:48 +1100 |
| commit | d788dd36279d4ccff456beffdf0611c0e326c55b (patch) | |
| tree | 4142083bdfd26b2f13ea541e2c0be511f4889b6e /ctdb/include | |
| parent | 58780f4137c271cdaf96d59654d98d79596fa662 (diff) | |
From wolfgang Mueller
Add a tuneable so that when scripts starts to hang/timeout, we can make the node unhealthy instead of banned
(This used to be ctdb commit 2e9fc6f0609833c6d8146196011ef780669d615d)
Diffstat (limited to 'ctdb/include')
| -rw-r--r-- | ctdb/include/ctdb_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h index af77556ebb..35430fc50e 100644 --- a/ctdb/include/ctdb_private.h +++ b/ctdb/include/ctdb_private.h @@ -99,6 +99,7 @@ struct ctdb_tunable { uint32_t tickle_update_interval; uint32_t script_timeout; uint32_t script_ban_count; /* ban after this many consec timeouts*/ + uint32_t script_unhealthy_on_timeout; /* don't ban on timeout; set node unhealthy */ uint32_t recovery_grace_period; uint32_t recovery_ban_period; uint32_t database_hash_size; |
