diff options
author | Martin Schwenke <martin@meltin.net> | 2018-05-15 18:47:29 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-05-17 04:04:30 +0200 |
commit | 61efed5a7e19825d49130b4e6785cfb29c557a32 (patch) | |
tree | 8a0667324c212f63bef061d62cb469f51b17276e /ctdb | |
parent | 9193a10f05562c756912d59882eac1cea44bb5d9 (diff) | |
download | samba-61efed5a7e19825d49130b4e6785cfb29c557a32.tar.gz |
ctdb-scripts: Drop CTDB_MAX_PERSISTENT_CHECK_ERRORS option
This must harken back to the days of yore when corrupt persistent
databases were an issue. We haven't seen this used. If CTDB fails to
start due to a corrupt persistent database then this database can be
removed by hand.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rwxr-xr-x | ctdb/config/ctdbd_wrapper | 1 | ||||
-rwxr-xr-x | ctdb/config/events.d/00.ctdb | 2 | ||||
-rw-r--r-- | ctdb/doc/ctdbd.conf.5.xml | 10 |
3 files changed, 0 insertions, 13 deletions
diff --git a/ctdb/config/ctdbd_wrapper b/ctdb/config/ctdbd_wrapper index e8f0a23a257..1642009a69c 100755 --- a/ctdb/config/ctdbd_wrapper +++ b/ctdb/config/ctdbd_wrapper @@ -69,7 +69,6 @@ build_ctdb_options () maybe_set "--no-lmaster" "$CTDB_CAPABILITY_LMASTER" "no" maybe_set "--nosetsched" "$CTDB_NOSETSCHED" "yes" maybe_set "--script-log-level" "$CTDB_SCRIPT_LOG_LEVEL" - maybe_set "--max-persistent-check-errors" "$CTDB_MAX_PERSISTENT_CHECK_ERRORS" } export_debug_variables () diff --git a/ctdb/config/events.d/00.ctdb b/ctdb/config/events.d/00.ctdb index 272dcb1ba35..8d376d2a95b 100755 --- a/ctdb/config/events.d/00.ctdb +++ b/ctdb/config/events.d/00.ctdb @@ -68,8 +68,6 @@ check_persistent_databases () _dir="${CTDB_DBDIR_PERSISTENT:-${CTDB_VARDIR}/persistent}" [ -d "$_dir" ] || return 0 - [ "${CTDB_MAX_PERSISTENT_CHECK_ERRORS:-0}" = "0" ] || return 0 - for _db in "$_dir/"*.tdb.*[0-9] ; do [ -r "$_db" ] || continue check_tdb "$_db" || \ diff --git a/ctdb/doc/ctdbd.conf.5.xml b/ctdb/doc/ctdbd.conf.5.xml index e02e86c7568..6b56159aab7 100644 --- a/ctdb/doc/ctdbd.conf.5.xml +++ b/ctdb/doc/ctdbd.conf.5.xml @@ -263,16 +263,6 @@ </varlistentry> <varlistentry> - <term>CTDB_MAX_PERSISTENT_CHECK_ERRORS=<parameter>NUM</parameter></term> - <listitem> - <para> - Default 0. Corresponds to - <option>--max-persistent-check-errors</option>. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term>CTDB_NODE_ADDRESS=<parameter>IPADDR</parameter></term> <listitem> <para> |