Comment 2 for bug 1285208

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Tested with:

=== modified file 'galerautils/src/gu_config.cpp'
--- galerautils/src/gu_config.cpp 2014-02-06 19:27:50 +0000
+++ galerautils/src/gu_config.cpp 2014-02-26 19:17:06 +0000
@@ -89,6 +89,8 @@
         }
         catch (NotFound& e)
         {
+ if (key == "debug")
+ continue;
             log_error << "Unrecognized parameter '" << key << '\'';
             /* Throw later so that all invalid parameters get logged.*/
             not_found = true;

This is since the debug parameter is already handled in latter wsrep_set_params:

From galera_init:

        gh->ctx = new REPL_CLASS (args);
        wsrep_set_params(*reinterpret_cast<REPL_CLASS*>(gh->ctx),
                         args->options);