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);
Tested with:
=== modified file 'galerautils/ src/gu_ config. cpp' src/gu_ config. cpp 2014-02-06 19:27:50 +0000 src/gu_ config. cpp 2014-02-26 19:17:06 +0000
log_ error << "Unrecognized parameter '" << key << '\'';
not_ found = true;
--- galerautils/
+++ galerautils/
@@ -89,6 +89,8 @@
}
catch (NotFound& e)
{
+ if (key == "debug")
+ continue;
/* Throw later so that all invalid parameters get logged.*/
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) ;