mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-02 03:47:41 +08:00
Fix problems related to master removal
This commit is contained in:
parent
33d3ed3e85
commit
2d7cfbe1e6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user