Merge pull request #74 from wangbin579/master

Fix problems related to master removal
This commit is contained in:
wangbin 2018-05-24 09:27:14 +08:00 committed by GitHub
commit ae1dce3c9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;