Report more details when the master is unavailable
By dumping the connection state we'll know when the connection was opened and closed and the reason why it was closed.
This commit is contained in:
parent
87b1dd2703
commit
40d05e8278
@ -738,8 +738,8 @@ SRWBackend RWSplitSession::get_master_backend()
|
||||
else
|
||||
{
|
||||
MXS_ERROR("Cannot choose server '%s' as the master because it is not "
|
||||
"in use and a new connection to it cannot be created.",
|
||||
master->name());
|
||||
"in use and a new connection to it cannot be created. Connection status: %s",
|
||||
master->name(), master->get_verbose_status().c_str());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user