MXS-1777 Change LOWEST_RESPONSE_TIME to ADAPTIVE_ROUTING

LOWEST_RESPONSE_TIME is not quite correct, and marketing material
will call it Adaptive Routing, so better match that.
This commit is contained in:
Niclas Antti
2018-10-04 19:26:16 +03:00
parent ef948042f0
commit 3b1b63d939
2 changed files with 6 additions and 6 deletions

View File

@ -190,7 +190,7 @@ BackendSelectFunction get_backend_select_function(select_criteria_t sc)
case LEAST_CURRENT_OPERATIONS:
return backend_cmp_current_load;
case LOWEST_RESPONSE_TIME:
case ADAPTIVE_ROUTING:
return backend_cmp_response_time;
}
@ -297,7 +297,7 @@ static void log_server_connections(select_criteria_t criteria, const SRWBackendL
STRSRVSTATUS(b->server));
break;
case LOWEST_RESPONSE_TIME:
case ADAPTIVE_ROUTING:
{
maxbase::Duration response_ave(server_response_time_average(b->server));
std::ostringstream os;