diff options
-rw-r--r-- | ctdb/doc/ctdbd.1.xml | 23 | ||||
-rw-r--r-- | ctdb/server/ctdbd.c | 5 |
2 files changed, 1 insertions, 27 deletions
diff --git a/ctdb/doc/ctdbd.1.xml b/ctdb/doc/ctdbd.1.xml index 71f23a94ea2..e9b05c218ab 100644 --- a/ctdb/doc/ctdbd.1.xml +++ b/ctdb/doc/ctdbd.1.xml @@ -403,29 +403,6 @@ <variablelist> <varlistentry> - <term>--nopublicipcheck</term> - <listitem> - <para> - This option is used when testing with multiple local - daemons on a single machine. It disables checks related - to public IP addresses. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>--sloppy-start</term> - <listitem> - <para> - This is debugging option. This speeds up the initial - recovery during startup at the expense of some consistency - checking. <emphasis>Don't use this option in - production</emphasis>. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term>--torture</term> <listitem> <para> diff --git a/ctdb/server/ctdbd.c b/ctdb/server/ctdbd.c index 9c9e84e686c..6b1d95f07c6 100644 --- a/ctdb/server/ctdbd.c +++ b/ctdb/server/ctdbd.c @@ -55,7 +55,6 @@ static struct { int no_lmaster; int no_recmaster; int script_log_level; - int no_publicipcheck; int max_persistent_check_errors; int torture; } options = { @@ -127,11 +126,9 @@ int main(int argc, const char *argv[]) { "no-lmaster", 0, POPT_ARG_NONE, &options.no_lmaster, 0, "disable lmaster role on this node", NULL }, { "no-recmaster", 0, POPT_ARG_NONE, &options.no_recmaster, 0, "disable recmaster role on this node", NULL }, { "script-log-level", 0, POPT_ARG_INT, &options.script_log_level, 0, "log level of event script output", NULL }, - { "nopublicipcheck", 0, POPT_ARG_NONE, &options.no_publicipcheck, 0, "don't check we have/don't have the correct public ip addresses", NULL }, { "max-persistent-check-errors", 0, POPT_ARG_INT, &options.max_persistent_check_errors, 0, "max allowed persistent check errors (default 0)", NULL }, - { "sloppy-start", 0, POPT_ARG_NONE, &fast_start, 0, "Do not perform full recovery on start", NULL }, { "torture", 0, POPT_ARG_NONE, &options.torture, 0, "enable nastiness in library", NULL }, POPT_TABLEEND }; @@ -325,7 +322,7 @@ int main(int argc, const char *argv[]) ctdb->do_setsched = false; } - ctdb->do_checkpublicip = (options.no_publicipcheck == 0); + ctdb->do_checkpublicip = true; t = getenv("CTDB_TEST_MODE"); if (t != NULL) { |