MXS-2169 Allow a downed server to be selected as topology master

This is required for the case when MaxScale is started when the master is
already down.
This commit is contained in:
Esa Korhonen
2019-05-10 11:23:41 +03:00
parent d2f3e56d0a
commit 4ee30f5c52
6 changed files with 290 additions and 184 deletions

View File

@ -32,3 +32,14 @@ void DelimitedPrinter::cat(string& target, const string& addition)
target += m_current_separator + addition;
m_current_separator = m_separator;
}
void DelimitedPrinter::cat(const std::string& addition)
{
cat(m_message, addition);
m_current_separator = m_separator;
}
std::string DelimitedPrinter::message() const
{
return m_message;
}