Fix problems related to master removal

This commit is contained in:
wangbin579 2018-05-24 09:23:31 +08:00
parent 33d3ed3e85
commit 2d7cfbe1e6

View File

@ -4688,6 +4688,9 @@ network_connection_pool_create_conn(network_mysqld_con *con)
if (backend != NULL) {
if (backend->state != BACKEND_STATE_UP) {
if (backend->state != BACKEND_STATE_UNKNOWN) {
continue;
}
if (backend->last_check_time == cur) {
g_debug("%s: omit create, backend:%d state:%d", G_STRLOC, i, backend->state);
continue;