MXS-2314 Populate services with servers

The services whose servers are defined using a monitor, will
now be populated from the monitor.

Note, no consideration has yet been given to runtime changes.
This commit is contained in:
Johan Wikman
2019-02-06 14:38:48 +02:00
parent f271c5cea1
commit b4eb87dfcc
6 changed files with 48 additions and 1 deletions

View File

@ -1692,7 +1692,11 @@ static bool process_config_context(CONFIG_CONTEXT* context)
}
}
if (error_count)
if (error_count == 0)
{
MonitorManager::populate_services();
}
else
{
MXS_ERROR("%d errors were encountered while processing the configuration "
"file '%s'.",