diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-02-23 15:46:36 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2011-03-01 12:13:34 +1100 |
commit | 8acb677c9c225e69cad9343d62394814798a47cb (patch) | |
tree | 871e77484f83a6d69aa6a6f4d33ea20f3bad75eb /ctdb/server/ctdb_tunables.c | |
parent | e00ca55fa470d4f7751b2eb0ef36caf2bed9708d (diff) | |
download | samba-8acb677c9c225e69cad9343d62394814798a47cb.tar.gz samba-8acb677c9c225e69cad9343d62394814798a47cb.tar.xz samba-8acb677c9c225e69cad9343d62394814798a47cb.zip |
Deferred attach : at early startup, defer any db attach calls until we are out of recovery.
(This used to be ctdb commit eeaabd579841f60ab2c5b004cbbb1f5de2bfe685)
Diffstat (limited to 'ctdb/server/ctdb_tunables.c')
-rw-r--r-- | ctdb/server/ctdb_tunables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/server/ctdb_tunables.c b/ctdb/server/ctdb_tunables.c index 4cd1b457206..0f8d7c8c775 100644 --- a/ctdb/server/ctdb_tunables.c +++ b/ctdb/server/ctdb_tunables.c @@ -65,7 +65,8 @@ static const struct { { "MaxQueueDropMsg", 1000000, offsetof(struct ctdb_tunable, max_queue_depth_drop_msg) }, { "UseStatusEvents", 0, offsetof(struct ctdb_tunable, use_status_events_for_monitoring) }, { "AllowUnhealthyDBRead", 0, offsetof(struct ctdb_tunable, allow_unhealthy_db_read) }, - { "StatHistoryInterval", 1, offsetof(struct ctdb_tunable, stat_history_interval) } + { "StatHistoryInterval", 1, offsetof(struct ctdb_tunable, stat_history_interval) }, + { "DeferredAttachTO", 120, offsetof(struct ctdb_tunable, deferred_attach_timeout) } }; /* |