Rename server_is_running() to server_is_usable()
The previous name was misleading. The new server_is_running() only checks for the running bit so that a server is always either running or down.
This commit is contained in:
@ -130,7 +130,7 @@ bool connect_backend_servers(SSRBackendList& backends, MXS_SESSION* session)
|
||||
{
|
||||
SERVER_REF* b = (*it)->backend();
|
||||
|
||||
if (server_is_running(b->server))
|
||||
if (server_is_usable(b->server))
|
||||
{
|
||||
servers_found += 1;
|
||||
|
||||
|
Reference in New Issue
Block a user