[2022-07-29 14:21:55.394588] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51071, client_vc=0x7ff1684bb5e0) [2022-07-29 14:21:55.394593] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:21:55.394596] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51071, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:21:55.394603] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34040, server_sessid:3221755050, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534424, proxy_sessid:12399538384371156216, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534424, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:21:55.394671] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=63] [dc=0] server session is closing(ss_id=34040, server_sessid=3221755050, server_ip={172.20.2.117:2881}, cs_id=2147534424, proxy_sessid=12399538384371156216) [2022-07-29 14:21:55.394687] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534424, proxy_sessid=12399538384371156216, client_vc=NULL) [2022-07-29 14:21:55.394698] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51071) [2022-07-29 14:21:55.394708] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:21:55.394712] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:21:55.394715] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:21:55.394720] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:21:55.394724] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:21:55.394728] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:21:55.394734] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17021, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075715385122924, server_state_version:0}, pending_list_count=0) [2022-07-29 14:21:55.394743] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17021, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075715385122924, server_state_version:0}) [2022-07-29 14:21:55.394757] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:21:55.394769] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:21:55.394789] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17021, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075715385122924, server_state_version:0}) [2022-07-29 14:21:55.394799] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:21:55.394881] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:21:55.394886] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] data is NULL(sm_id=51069, ret=-4152) [2022-07-29 14:21:55.394890] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:21:55.394894] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51069, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:21:55.394931] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] client session destroy(cs_id=50774, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:21:55.394950] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51069) [2022-07-29 14:21:55.394988] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF169450940] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:21:55.395017] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:21:55.395041] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:21:55.395054] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:21:55.395067] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:21:55.395073] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:00.411755] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=64] [dc=0] connection accepted(client={172.20.2.46:50938}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:22:00.411881] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50938}) [2022-07-29 14:22:00.411945] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=50777, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:50938") [2022-07-29 14:22:00.411967] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=50777, get_transact_count()=0, sm_id=51072) [2022-07-29 14:22:00.411977] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:00.502011] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:00.502054] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:50938}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:00.502077] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:00.502088] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:00.502104] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:22:00.502116] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17022) [2022-07-29 14:22:00.502285] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075720502276, last_valid_time_us:1659075720502102, last_access_time_us:1659075720502102, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:00.502368] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=82] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:00.502408] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534426) [2022-07-29 14:22:00.502437] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534426, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:00.502472] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534426, get_transact_count()=0, sm_id=51073) [2022-07-29 14:22:00.502495] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:00.502603] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:00.502743] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] server session born(ss_id=34041, server_ip={172.20.2.118:2881}, cs_id=2147534426, proxy_sessid=0, server_type=1) [2022-07-29 14:22:00.503200] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534426, proxy_sessid=12399538384371156217, server_ip={172.20.2.118:2881}, ss_id=34041, server_sessid=3222023348, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41088") [2022-07-29 14:22:00.505077] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51073, cs_id=2147534426, proxy_sessid=12399538384371156217, ss_id=34041, server_sessid=3222023348, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:00.505143] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51073, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:00.505157] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:00.505160] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51073, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:00.505175] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34041, server_sessid:3222023348, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534426, proxy_sessid:12399538384371156217, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534426, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:00.505267] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] server session is closing(ss_id=34041, server_sessid=3222023348, server_ip={172.20.2.118:2881}, cs_id=2147534426, proxy_sessid=12399538384371156217) [2022-07-29 14:22:00.505295] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534426, proxy_sessid=12399538384371156217, client_vc=NULL) [2022-07-29 14:22:00.505314] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] deallocating sm(sm_id=51073) [2022-07-29 14:22:00.505333] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:00.505346] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:00.505350] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:00.505364] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:00.505376] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:00.505383] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:00.505395] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:00.505399] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:00.505499] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:00.505512] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:00.505529] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534427) [2022-07-29 14:22:00.505555] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534427, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:00.505578] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534427, get_transact_count()=0, sm_id=51074) [2022-07-29 14:22:00.505590] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:00.505631] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:00.505707] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] server session born(ss_id=34042, server_ip={172.20.2.118:2881}, cs_id=2147534427, proxy_sessid=0, server_type=1) [2022-07-29 14:22:00.505973] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534427, proxy_sessid=12399538384371156218, server_ip={172.20.2.118:2881}, ss_id=34042, server_sessid=3222023349, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41090") [2022-07-29 14:22:00.508174] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] finishing mysql tunnel((sm_id=51074, cs_id=2147534427, proxy_sessid=12399538384371156218, ss_id=34042, server_sessid=3222023349, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:00.508235] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51074, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:00.508242] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:00.508246] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51074, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:00.508255] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34042, server_sessid:3222023349, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534427, proxy_sessid:12399538384371156218, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534427, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:00.508353] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] server session is closing(ss_id=34042, server_sessid=3222023349, server_ip={172.20.2.118:2881}, cs_id=2147534427, proxy_sessid=12399538384371156218) [2022-07-29 14:22:00.508372] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534427, proxy_sessid=12399538384371156218, client_vc=NULL) [2022-07-29 14:22:00.508382] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51074) [2022-07-29 14:22:00.508399] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:00.508411] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:00.508416] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:00.508429] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:00.508442] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:00.508448] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:00.508463] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17022, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075720505130504, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:00.508481] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17022, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075720505130504, server_state_version:0}) [2022-07-29 14:22:00.508508] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:00.508530] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:00.508561] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17022, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075720505130504, server_state_version:0}) [2022-07-29 14:22:00.508580] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:00.508682] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:22:00.508696] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] data is NULL(sm_id=51072, ret=-4152) [2022-07-29 14:22:00.508702] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:00.508714] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51072, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:00.508780] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=50777, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:00.508765] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF1691B1790] [lt=17] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:00.508809] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] deallocating sm(sm_id=51072) [2022-07-29 14:22:00.508799] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:00.508824] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:00.508852] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:00.508888] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=36] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:00.508906] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=16] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:05.315201] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=59] [dc=0] connection accepted(client={172.20.2.46:50940}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:22:05.315355] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50940}) [2022-07-29 14:22:05.315443] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] client session born(cs_id=50780, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:50940") [2022-07-29 14:22:05.315483] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=50780, get_transact_count()=0, sm_id=51075) [2022-07-29 14:22:05.315499] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:05.399564] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:05.399599] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] client login audit(client_addr={172.20.2.46:50940}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:05.399623] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:05.399637] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:05.399653] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:22:05.399666] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17023) [2022-07-29 14:22:05.399846] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075725399836, last_valid_time_us:1659075725399652, last_access_time_us:1659075725399652, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:05.399970] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=122] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:05.400012] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534429) [2022-07-29 14:22:05.400036] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534429, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:05.400072] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534429, get_transact_count()=0, sm_id=51076) [2022-07-29 14:22:05.400095] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:05.400190] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:05.400341] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] server session born(ss_id=34043, server_ip={172.20.2.116:2881}, cs_id=2147534429, proxy_sessid=0, server_type=1) [2022-07-29 14:22:05.400644] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534429, proxy_sessid=12399538384371156219, server_ip={172.20.2.116:2881}, ss_id=34043, server_sessid=3221672316, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36072") [2022-07-29 14:22:05.401779] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] finishing mysql tunnel((sm_id=51076, cs_id=2147534429, proxy_sessid=12399538384371156219, ss_id=34043, server_sessid=3221672316, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:05.401861] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51076, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:05.401882] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:05.401889] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51076, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:05.401902] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34043, server_sessid:3221672316, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534429, proxy_sessid:12399538384371156219, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534429, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:05.402078] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=171] [dc=0] server session is closing(ss_id=34043, server_sessid=3221672316, server_ip={172.20.2.116:2881}, cs_id=2147534429, proxy_sessid=12399538384371156219) [2022-07-29 14:22:05.402110] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534429, proxy_sessid=12399538384371156219, client_vc=NULL) [2022-07-29 14:22:05.402129] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51076) [2022-07-29 14:22:05.402155] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:05.402165] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:05.402172] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:05.402186] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:05.402199] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:05.402208] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:05.402223] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:05.402229] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:05.402413] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:05.402456] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:05.402503] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] proxy mysql client session born(cs_id=2147534430) [2022-07-29 14:22:05.402532] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534430, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:05.402571] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534430, get_transact_count()=0, sm_id=51077) [2022-07-29 14:22:05.402598] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:05.402697] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:05.402890] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] server session born(ss_id=34044, server_ip={172.20.2.116:2881}, cs_id=2147534430, proxy_sessid=0, server_type=1) [2022-07-29 14:22:05.403172] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] succ to set proxy_sessid(cs_id=2147534430, proxy_sessid=12399538384371156220, server_ip={172.20.2.116:2881}, ss_id=34044, server_sessid=3221672317, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36074") [2022-07-29 14:22:05.404087] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51077, cs_id=2147534430, proxy_sessid=12399538384371156220, ss_id=34044, server_sessid=3221672317, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:05.404206] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51077, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:05.404219] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:05.404225] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51077, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:05.404241] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34044, server_sessid:3221672317, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534430, proxy_sessid:12399538384371156220, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534430, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:05.404436] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=187] [dc=0] server session is closing(ss_id=34044, server_sessid=3221672317, server_ip={172.20.2.116:2881}, cs_id=2147534430, proxy_sessid=12399538384371156220) [2022-07-29 14:22:05.404472] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534430, proxy_sessid=12399538384371156220, client_vc=NULL) [2022-07-29 14:22:05.404495] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] deallocating sm(sm_id=51077) [2022-07-29 14:22:05.404526] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:05.404537] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:05.404546] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:05.404557] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:05.404568] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:05.404579] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:05.404592] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17023, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075725401845474, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:05.404625] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17023, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075725401845474, server_state_version:0}) [2022-07-29 14:22:05.404673] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:05.404712] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:05.404752] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17023, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075725401845474, server_state_version:0}) [2022-07-29 14:22:05.404787] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:05.404949] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:22:05.404973] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51075, ret=-4152) [2022-07-29 14:22:05.404984] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:05.404971] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF169450940] [lt=14] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:05.404993] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51075, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:05.405002] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:05.405026] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:05.405041] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:05.405055] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:05.405062] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:05.405067] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=50780, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:05.405105] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51075) [2022-07-29 14:22:10.271966] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=67] [dc=0] connection accepted(client={172.20.2.46:50944}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:22:10.272056] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50944}) [2022-07-29 14:22:10.272101] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=50783, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:50944") [2022-07-29 14:22:10.272122] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=50783, get_transact_count()=0, sm_id=51078) [2022-07-29 14:22:10.272132] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:10.368029] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:10.368073] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] client login audit(client_addr={172.20.2.46:50944}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:10.368105] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:10.368121] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:10.368140] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:22:10.368155] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17024) [2022-07-29 14:22:10.368356] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075730368344, last_valid_time_us:1659075730368138, last_access_time_us:1659075730368138, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:10.368463] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:10.368830] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534432) [2022-07-29 14:22:10.368848] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534432, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:10.368887] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] Starting new transaction using sm(cs_id=2147534432, get_transact_count()=0, sm_id=51079) [2022-07-29 14:22:10.368951] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:10.369093] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:10.369305] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] server session born(ss_id=34045, server_ip={172.20.2.116:2881}, cs_id=2147534432, proxy_sessid=0, server_type=1) [2022-07-29 14:22:10.372984] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] succ to set proxy_sessid(cs_id=2147534432, proxy_sessid=12399538384371156221, server_ip={172.20.2.116:2881}, ss_id=34045, server_sessid=3221672360, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36076") [2022-07-29 14:22:10.378582] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] finishing mysql tunnel((sm_id=51079, cs_id=2147534432, proxy_sessid=12399538384371156221, ss_id=34045, server_sessid=3221672360, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:10.378699] INFO [PROXY.SM] ob_mysql_sm.cpp:8240 [21552][Y0-7FF167EAD3A0] [lt=95] [dc=0] Slow Query: ((client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, obproxy_client_port={172.20.2.119:36076}, server_trace_id=, route_type=ROUTE_TYPE_NONPARTITION_UNMERGE_LOCAL, user_name=proxyro, tenant_name=sys, cluster_name=ob_cluster, logic_database_name=, logic_tenant_name=, ob_proxy_protocol=0, cs_id=2147534432, proxy_sessid=12399538384371156221, ss_id=34045, server_sessid=3221672360, sm_id=51079, cmd_size_stats={client_request_bytes:74, server_request_bytes:262, server_response_bytes:84, client_response_bytes:84}, cmd_time_stats={client_transaction_idle_time_us=14, client_request_read_time_us=10, client_request_analyze_time_us=9, cluster_resource_create_time_us=0, pl_lookup_time_us=24, pl_process_time_us=63, congestion_control_time_us=0, congestion_process_time_us=0, do_observer_open_time_us=180, server_connect_time_us=92, server_sync_session_variable_time_us=0, server_send_saved_login_time_us=0, server_send_use_database_time_us=0, server_send_session_variable_time_us=0, server_send_all_session_variable_time_us=0, server_send_last_insert_id_time_us=0, server_send_start_trans_time_us=0, build_server_request_time_us=2, plugin_compress_request_time_us=0, prepare_send_request_to_server_time_us=4041, server_request_write_time_us=32, server_process_request_time_us=5378, server_response_read_time_us=5, plugin_decompress_response_time_us=0, server_response_analyze_time_us=8, ok_packet_trim_time_us=0, client_response_write_time_us=180, request_total_time_us=9653}, sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:10.378884] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51079, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:10.378895] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:10.378908] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51079, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:10.378941] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] server session do_io_close((*this={ss_id:34045, server_sessid:3221672360, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534432, proxy_sessid:12399538384371156221, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534432, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:10.379152] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=203] [dc=0] server session is closing(ss_id=34045, server_sessid=3221672360, server_ip={172.20.2.116:2881}, cs_id=2147534432, proxy_sessid=12399538384371156221) [2022-07-29 14:22:10.379191] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534432, proxy_sessid=12399538384371156221, client_vc=NULL) [2022-07-29 14:22:10.379213] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51079) [2022-07-29 14:22:10.379247] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:10.379258] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:10.379267] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:10.379279] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:10.379289] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:10.379299] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:10.379310] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:10.379318] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:10.379487] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:10.379523] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:10.379553] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534433) [2022-07-29 14:22:10.379563] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534433, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:10.379583] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534433, get_transact_count()=0, sm_id=51080) [2022-07-29 14:22:10.379600] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:10.379662] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:10.379764] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] server session born(ss_id=34046, server_ip={172.20.2.117:2881}, cs_id=2147534433, proxy_sessid=0, server_type=1) [2022-07-29 14:22:10.380193] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534433, proxy_sessid=12399538384371156222, server_ip={172.20.2.117:2881}, ss_id=34046, server_sessid=3221755058, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44144") [2022-07-29 14:22:10.381554] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51080, cs_id=2147534433, proxy_sessid=12399538384371156222, ss_id=34046, server_sessid=3221755058, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:10.381665] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51080, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:10.381677] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:10.381684] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51080, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:10.381709] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34046, server_sessid:3221755058, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534433, proxy_sessid:12399538384371156222, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534433, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:10.381875] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=159] [dc=0] server session is closing(ss_id=34046, server_sessid=3221755058, server_ip={172.20.2.117:2881}, cs_id=2147534433, proxy_sessid=12399538384371156222) [2022-07-29 14:22:10.381907] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534433, proxy_sessid=12399538384371156222, client_vc=NULL) [2022-07-29 14:22:10.381945] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51080) [2022-07-29 14:22:10.381973] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:10.381985] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:10.381992] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:10.382001] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:10.382010] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:10.382018] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:10.382031] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17024, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075730378684577, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:10.382049] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17024, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075730378684577, server_state_version:0}) [2022-07-29 14:22:10.382092] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:10.382134] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:10.382180] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17024, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075730378684577, server_state_version:0}) [2022-07-29 14:22:10.382211] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:10.382351] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:22:10.382374] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51078, ret=-4152) [2022-07-29 14:22:10.382386] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:10.382394] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51078, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:10.382393] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF1691B1790] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:10.382414] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:10.382433] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:10.382456] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:10.382465] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50783, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:10.382469] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:10.382475] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:10.382514] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51078) [2022-07-29 14:22:15.332023] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=66] [dc=0] connection accepted(client={172.20.2.46:50946}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:22:15.332186] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50946}) [2022-07-29 14:22:15.332277] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] client session born(cs_id=50786, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:50946") [2022-07-29 14:22:15.332320] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=50786, get_transact_count()=0, sm_id=51081) [2022-07-29 14:22:15.332345] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:15.416939] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:15.416988] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:50946}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:15.417017] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:15.417031] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:15.417047] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:22:15.417063] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17025) [2022-07-29 14:22:15.417265] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075735417253, last_valid_time_us:1659075735417255, last_access_time_us:1659075735417255, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:15.417371] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:15.417416] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534435) [2022-07-29 14:22:15.417443] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534435, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:15.417470] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534435, get_transact_count()=0, sm_id=51082) [2022-07-29 14:22:15.417496] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:15.417621] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:15.417825] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34047, server_ip={172.20.2.118:2881}, cs_id=2147534435, proxy_sessid=0, server_type=1) [2022-07-29 14:22:15.418296] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534435, proxy_sessid=12399538384371156223, server_ip={172.20.2.118:2881}, ss_id=34047, server_sessid=3222023350, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41100") [2022-07-29 14:22:15.420265] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51082, cs_id=2147534435, proxy_sessid=12399538384371156223, ss_id=34047, server_sessid=3222023350, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:15.420369] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51082, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:15.420379] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:15.420385] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51082, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:15.420408] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] server session do_io_close((*this={ss_id:34047, server_sessid:3222023350, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534435, proxy_sessid:12399538384371156223, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534435, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:15.420569] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=153] [dc=0] server session is closing(ss_id=34047, server_sessid=3222023350, server_ip={172.20.2.118:2881}, cs_id=2147534435, proxy_sessid=12399538384371156223) [2022-07-29 14:22:15.420603] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534435, proxy_sessid=12399538384371156223, client_vc=NULL) [2022-07-29 14:22:15.420633] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51082) [2022-07-29 14:22:15.420652] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:15.420672] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:15.420679] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:15.420689] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:15.420698] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:15.420707] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:15.420717] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:15.420723] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:15.420964] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:15.420980] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:15.421012] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534436) [2022-07-29 14:22:15.421026] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session born(cs_id=2147534436, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:15.421060] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534436, get_transact_count()=0, sm_id=51083) [2022-07-29 14:22:15.421082] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:15.421159] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:15.421289] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] server session born(ss_id=34048, server_ip={172.20.2.117:2881}, cs_id=2147534436, proxy_sessid=0, server_type=1) [2022-07-29 14:22:15.421583] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534436, proxy_sessid=12399538384371156224, server_ip={172.20.2.117:2881}, ss_id=34048, server_sessid=3221755061, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44148") [2022-07-29 14:22:15.423140] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] finishing mysql tunnel((sm_id=51083, cs_id=2147534436, proxy_sessid=12399538384371156224, ss_id=34048, server_sessid=3221755061, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:15.423239] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51083, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:15.423247] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:15.423253] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51083, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:15.423264] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34048, server_sessid:3221755061, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534436, proxy_sessid:12399538384371156224, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534436, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:15.423413] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=143] [dc=0] server session is closing(ss_id=34048, server_sessid=3221755061, server_ip={172.20.2.117:2881}, cs_id=2147534436, proxy_sessid=12399538384371156224) [2022-07-29 14:22:15.423440] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534436, proxy_sessid=12399538384371156224, client_vc=NULL) [2022-07-29 14:22:15.423456] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51083) [2022-07-29 14:22:15.423474] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:15.423482] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:15.423489] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:15.423499] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:15.423520] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:15.423529] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:15.423540] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17025, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075735420345823, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:15.423557] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17025, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075735420345823, server_state_version:0}) [2022-07-29 14:22:15.423586] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:15.423618] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:15.423658] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17025, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075735420345823, server_state_version:0}) [2022-07-29 14:22:15.423679] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:15.423809] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:22:15.423830] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51081, ret=-4152) [2022-07-29 14:22:15.423839] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:15.423832] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF169450940] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:15.423846] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51081, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:15.423861] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:15.423895] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:15.423896] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=50786, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:15.423907] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:15.423955] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51081) [2022-07-29 14:22:15.423956] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=48] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:15.423965] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:20.336650] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=40] [dc=0] connection accepted(client={172.20.2.46:50950}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:22:20.336755] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50950}) [2022-07-29 14:22:20.336801] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=50789, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:50950") [2022-07-29 14:22:20.336823] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=50789, get_transact_count()=0, sm_id=51084) [2022-07-29 14:22:20.336835] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:20.416056] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:20.416101] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] client login audit(client_addr={172.20.2.46:50950}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:20.416125] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:20.416138] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:20.416154] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:22:20.416167] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17026) [2022-07-29 14:22:20.416349] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075740416338, last_valid_time_us:1659075740416152, last_access_time_us:1659075740416152, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:20.416439] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:20.416479] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534438) [2022-07-29 14:22:20.416506] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534438, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:20.416543] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534438, get_transact_count()=0, sm_id=51085) [2022-07-29 14:22:20.416557] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:20.416649] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:20.416799] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34049, server_ip={172.20.2.118:2881}, cs_id=2147534438, proxy_sessid=0, server_type=1) [2022-07-29 14:22:20.417201] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534438, proxy_sessid=12399538384371156225, server_ip={172.20.2.118:2881}, ss_id=34049, server_sessid=3222023351, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41104") [2022-07-29 14:22:20.418189] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] finishing mysql tunnel((sm_id=51085, cs_id=2147534438, proxy_sessid=12399538384371156225, ss_id=34049, server_sessid=3222023351, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:20.418262] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51085, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:20.418272] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:20.418292] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51085, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:20.418302] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34049, server_sessid:3222023351, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534438, proxy_sessid:12399538384371156225, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534438, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:20.418431] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] server session is closing(ss_id=34049, server_sessid=3222023351, server_ip={172.20.2.118:2881}, cs_id=2147534438, proxy_sessid=12399538384371156225) [2022-07-29 14:22:20.418460] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534438, proxy_sessid=12399538384371156225, client_vc=NULL) [2022-07-29 14:22:20.418483] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] deallocating sm(sm_id=51085) [2022-07-29 14:22:20.418501] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:20.418509] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:20.418514] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:20.418522] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:20.418532] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:20.418539] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:20.418547] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:20.418552] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:20.418666] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:20.418681] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:20.418707] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534439) [2022-07-29 14:22:20.418716] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534439, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:20.418746] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534439, get_transact_count()=0, sm_id=51086) [2022-07-29 14:22:20.418755] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:20.418817] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:20.418937] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] server session born(ss_id=34050, server_ip={172.20.2.118:2881}, cs_id=2147534439, proxy_sessid=0, server_type=1) [2022-07-29 14:22:20.419382] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] succ to set proxy_sessid(cs_id=2147534439, proxy_sessid=12399538384371156226, server_ip={172.20.2.118:2881}, ss_id=34050, server_sessid=3222023352, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41106") [2022-07-29 14:22:20.421202] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51086, cs_id=2147534439, proxy_sessid=12399538384371156226, ss_id=34050, server_sessid=3222023352, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:20.421316] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51086, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:20.421340] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:20.421348] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51086, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:20.421363] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34050, server_sessid:3222023352, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534439, proxy_sessid:12399538384371156226, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534439, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:20.421556] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=185] [dc=0] server session is closing(ss_id=34050, server_sessid=3222023352, server_ip={172.20.2.118:2881}, cs_id=2147534439, proxy_sessid=12399538384371156226) [2022-07-29 14:22:20.421591] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534439, proxy_sessid=12399538384371156226, client_vc=NULL) [2022-07-29 14:22:20.421622] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51086) [2022-07-29 14:22:20.421650] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:20.421671] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:20.421680] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:20.421692] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:20.421707] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:20.421718] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:20.421740] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17026, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075740418240165, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:20.421772] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17026, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075740418240165, server_state_version:0}) [2022-07-29 14:22:20.421818] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:20.421871] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:20.421938] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17026, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075740418240165, server_state_version:0}) [2022-07-29 14:22:20.421970] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:20.422085] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:22:20.422105] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] data is NULL(sm_id=51084, ret=-4152) [2022-07-29 14:22:20.422119] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:20.422128] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51084, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:20.422214] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50789, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:20.422266] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51084) [2022-07-29 14:22:20.422280] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF1691B1510] [lt=6] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:20.422292] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:20.422313] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:20.422322] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:20.422334] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:20.422351] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=16] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:25.294972] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:50952}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:22:25.295108] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50952}) [2022-07-29 14:22:25.295195] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client session born(cs_id=50792, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:50952") [2022-07-29 14:22:25.295246] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50792, get_transact_count()=0, sm_id=51087) [2022-07-29 14:22:25.295280] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:25.379465] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:25.379504] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:50952}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:25.379532] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:25.379546] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:25.379563] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:22:25.379591] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17027) [2022-07-29 14:22:25.379773] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075745379762, last_valid_time_us:1659075745379561, last_access_time_us:1659075745379561, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:25.379878] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:25.379947] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534441) [2022-07-29 14:22:25.379975] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534441, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:25.380015] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534441, get_transact_count()=0, sm_id=51088) [2022-07-29 14:22:25.380044] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:25.380155] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:25.380338] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] server session born(ss_id=34051, server_ip={172.20.2.117:2881}, cs_id=2147534441, proxy_sessid=0, server_type=1) [2022-07-29 14:22:25.380955] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534441, proxy_sessid=12399538384371156227, server_ip={172.20.2.117:2881}, ss_id=34051, server_sessid=3221755070, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44154") [2022-07-29 14:22:25.382940] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] finishing mysql tunnel((sm_id=51088, cs_id=2147534441, proxy_sessid=12399538384371156227, ss_id=34051, server_sessid=3221755070, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:25.383064] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51088, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:25.383077] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:25.383084] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51088, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:25.383114] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] server session do_io_close((*this={ss_id:34051, server_sessid:3221755070, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534441, proxy_sessid:12399538384371156227, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534441, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:25.383320] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] server session is closing(ss_id=34051, server_sessid=3221755070, server_ip={172.20.2.117:2881}, cs_id=2147534441, proxy_sessid=12399538384371156227) [2022-07-29 14:22:25.383361] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534441, proxy_sessid=12399538384371156227, client_vc=NULL) [2022-07-29 14:22:25.383385] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51088) [2022-07-29 14:22:25.383421] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:25.383442] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:25.383452] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:25.383466] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:25.383490] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:25.383502] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:25.383514] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:25.383532] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:25.383675] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:25.383699] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:25.383735] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534442) [2022-07-29 14:22:25.383762] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534442, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:25.383799] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534442, get_transact_count()=0, sm_id=51089) [2022-07-29 14:22:25.383824] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:25.383934] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:25.384090] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34052, server_ip={172.20.2.117:2881}, cs_id=2147534442, proxy_sessid=0, server_type=1) [2022-07-29 14:22:25.384692] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534442, proxy_sessid=12399538384371156228, server_ip={172.20.2.117:2881}, ss_id=34052, server_sessid=3221755071, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44156") [2022-07-29 14:22:25.386478] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=63] [dc=0] finishing mysql tunnel((sm_id=51089, cs_id=2147534442, proxy_sessid=12399538384371156228, ss_id=34052, server_sessid=3221755071, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:25.386599] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51089, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:25.386609] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:25.386615] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51089, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:25.386629] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34052, server_sessid:3221755071, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534442, proxy_sessid:12399538384371156228, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534442, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:25.386817] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] server session is closing(ss_id=34052, server_sessid=3221755071, server_ip={172.20.2.117:2881}, cs_id=2147534442, proxy_sessid=12399538384371156228) [2022-07-29 14:22:25.386851] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534442, proxy_sessid=12399538384371156228, client_vc=NULL) [2022-07-29 14:22:25.386884] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51089) [2022-07-29 14:22:25.386899] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:25.386910] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:25.386943] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:25.386954] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:25.386966] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:25.386981] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:25.386995] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17027, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075745383037891, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:25.387032] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17027, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075745383037891, server_state_version:0}) [2022-07-29 14:22:25.387079] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:25.387118] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:25.387168] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17027, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075745383037891, server_state_version:0}) [2022-07-29 14:22:25.387203] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:25.387339] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:22:25.387365] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51087, ret=-4152) [2022-07-29 14:22:25.387376] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:25.387385] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51087, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:25.387406] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF169450940] [lt=29] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:25.387448] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:25.387470] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:25.387471] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50792, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:25.387482] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:25.387496] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:25.387503] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:25.387508] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51087) [2022-07-29 14:22:40.340690] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=31] [dc=0] connection accepted(client={172.20.2.46:50964}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:22:40.340838] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50964}) [2022-07-29 14:22:40.340910] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] client session born(cs_id=50795, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:50964") [2022-07-29 14:22:40.341014] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] Starting new transaction using sm(cs_id=50795, get_transact_count()=0, sm_id=51090) [2022-07-29 14:22:40.341033] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:40.418090] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:40.418116] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client login audit(client_addr={172.20.2.46:50964}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:40.418131] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:40.418140] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:40.418151] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:22:40.418159] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17028) [2022-07-29 14:22:40.418302] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075760418294, last_valid_time_us:1659075760418175, last_access_time_us:1659075760418175, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:40.418355] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:40.418387] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534444) [2022-07-29 14:22:40.418405] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session born(cs_id=2147534444, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:40.418424] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534444, get_transact_count()=0, sm_id=51091) [2022-07-29 14:22:40.418441] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:40.418505] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:40.418611] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] server session born(ss_id=34053, server_ip={172.20.2.117:2881}, cs_id=2147534444, proxy_sessid=0, server_type=1) [2022-07-29 14:22:40.419106] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534444, proxy_sessid=12399538384371156229, server_ip={172.20.2.117:2881}, ss_id=34053, server_sessid=3221755078, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44158") [2022-07-29 14:22:40.420438] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] finishing mysql tunnel((sm_id=51091, cs_id=2147534444, proxy_sessid=12399538384371156229, ss_id=34053, server_sessid=3221755078, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:40.420510] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51091, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:40.420518] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:40.420521] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51091, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:40.420531] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34053, server_sessid:3221755078, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534444, proxy_sessid:12399538384371156229, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534444, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:40.420647] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] server session is closing(ss_id=34053, server_sessid=3221755078, server_ip={172.20.2.117:2881}, cs_id=2147534444, proxy_sessid=12399538384371156229) [2022-07-29 14:22:40.420671] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534444, proxy_sessid=12399538384371156229, client_vc=NULL) [2022-07-29 14:22:40.420685] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51091) [2022-07-29 14:22:40.420697] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:40.420712] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:40.420718] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:40.420726] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:40.420733] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:40.420739] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:40.420747] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:40.420752] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:40.420897] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:40.420915] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:40.420953] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] proxy mysql client session born(cs_id=2147534445) [2022-07-29 14:22:40.420961] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534445, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:40.420975] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534445, get_transact_count()=0, sm_id=51092) [2022-07-29 14:22:40.420983] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:40.421055] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:40.421144] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session born(ss_id=34054, server_ip={172.20.2.116:2881}, cs_id=2147534445, proxy_sessid=0, server_type=1) [2022-07-29 14:22:40.421458] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534445, proxy_sessid=12399538384371156230, server_ip={172.20.2.116:2881}, ss_id=34054, server_sessid=3221672650, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36094") [2022-07-29 14:22:40.423022] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] finishing mysql tunnel((sm_id=51092, cs_id=2147534445, proxy_sessid=12399538384371156230, ss_id=34054, server_sessid=3221672650, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:40.423071] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51092, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:40.423077] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:40.423080] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51092, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:40.423087] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34054, server_sessid:3221672650, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534445, proxy_sessid:12399538384371156230, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534445, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:40.423176] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=85] [dc=0] server session is closing(ss_id=34054, server_sessid=3221672650, server_ip={172.20.2.116:2881}, cs_id=2147534445, proxy_sessid=12399538384371156230) [2022-07-29 14:22:40.423193] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534445, proxy_sessid=12399538384371156230, client_vc=NULL) [2022-07-29 14:22:40.423203] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51092) [2022-07-29 14:22:40.423211] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:40.423216] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:40.423220] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:40.423226] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:40.423232] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:40.423236] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:40.423243] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17028, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075760420496112, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:40.423253] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17028, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075760420496112, server_state_version:0}) [2022-07-29 14:22:40.423271] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:40.423285] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:40.423315] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17028, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075760420496112, server_state_version:0}) [2022-07-29 14:22:40.423331] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:40.423420] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:22:40.423432] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] data is NULL(sm_id=51090, ret=-4152) [2022-07-29 14:22:40.423438] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:40.423442] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51090, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:40.423474] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session destroy(cs_id=50795, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:40.423463] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF1691B1510] [lt=18] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:40.423496] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51090) [2022-07-29 14:22:40.423493] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:40.423516] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:40.423542] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:40.423565] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:40.423573] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:45.289204] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:50966}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:22:45.289352] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50966}) [2022-07-29 14:22:45.289491] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=97] [dc=0] client session born(cs_id=50798, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:50966") [2022-07-29 14:22:45.289544] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] Starting new transaction using sm(cs_id=50798, get_transact_count()=0, sm_id=51093) [2022-07-29 14:22:45.289564] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:45.364720] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:45.364758] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:50966}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:45.364787] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:45.364801] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:45.364818] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:22:45.364833] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17029) [2022-07-29 14:22:45.365069] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075765365057, last_valid_time_us:1659075765364961, last_access_time_us:1659075765364961, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:45.365176] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:45.365221] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534447) [2022-07-29 14:22:45.365248] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534447, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:45.365277] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=2147534447, get_transact_count()=0, sm_id=51094) [2022-07-29 14:22:45.365304] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:45.365420] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:45.365602] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34055, server_ip={172.20.2.117:2881}, cs_id=2147534447, proxy_sessid=0, server_type=1) [2022-07-29 14:22:45.366033] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534447, proxy_sessid=12399538384371156231, server_ip={172.20.2.117:2881}, ss_id=34055, server_sessid=3221755081, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44162") [2022-07-29 14:22:45.367226] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51094, cs_id=2147534447, proxy_sessid=12399538384371156231, ss_id=34055, server_sessid=3221755081, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:45.367352] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51094, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:45.367377] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:45.367385] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51094, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:45.367401] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34055, server_sessid:3221755081, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534447, proxy_sessid:12399538384371156231, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534447, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:45.367616] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=204] [dc=0] server session is closing(ss_id=34055, server_sessid=3221755081, server_ip={172.20.2.117:2881}, cs_id=2147534447, proxy_sessid=12399538384371156231) [2022-07-29 14:22:45.367658] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534447, proxy_sessid=12399538384371156231, client_vc=NULL) [2022-07-29 14:22:45.367694] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51094) [2022-07-29 14:22:45.367741] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:45.367765] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:45.367774] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:45.367787] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:45.367798] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:45.367809] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:45.367821] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:45.367828] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:45.367947] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:45.367964] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:45.367999] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534448) [2022-07-29 14:22:45.368018] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534448, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:45.368043] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534448, get_transact_count()=0, sm_id=51095) [2022-07-29 14:22:45.368069] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:45.368160] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:45.368322] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34056, server_ip={172.20.2.117:2881}, cs_id=2147534448, proxy_sessid=0, server_type=1) [2022-07-29 14:22:45.368686] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534448, proxy_sessid=12399538384371156232, server_ip={172.20.2.117:2881}, ss_id=34056, server_sessid=3221755082, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44164") [2022-07-29 14:22:45.369483] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51095, cs_id=2147534448, proxy_sessid=12399538384371156232, ss_id=34056, server_sessid=3221755082, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:45.369614] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=95] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51095, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:45.369640] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:45.369648] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51095, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:45.369663] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34056, server_sessid:3221755082, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534448, proxy_sessid:12399538384371156232, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534448, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:45.369857] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] server session is closing(ss_id=34056, server_sessid=3221755082, server_ip={172.20.2.117:2881}, cs_id=2147534448, proxy_sessid=12399538384371156232) [2022-07-29 14:22:45.369911] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534448, proxy_sessid=12399538384371156232, client_vc=NULL) [2022-07-29 14:22:45.370030] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] deallocating sm(sm_id=51095) [2022-07-29 14:22:45.370046] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:45.370068] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:45.370078] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:45.370090] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:45.370111] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:45.370122] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:45.370147] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17029, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075765367326257, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:45.370180] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17029, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075765367326257, server_state_version:0}) [2022-07-29 14:22:45.370226] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:45.370264] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:45.370313] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17029, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075765367326257, server_state_version:0}) [2022-07-29 14:22:45.370347] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:45.370480] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:22:45.370503] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51093, ret=-4152) [2022-07-29 14:22:45.370514] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:45.370518] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:45.370529] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51093, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:45.370546] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:45.370569] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:45.370582] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:45.370595] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:45.370604] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50798, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:45.370602] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:45.370654] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51093) [2022-07-29 14:22:50.335635] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=59] [dc=0] connection accepted(client={172.20.2.46:50970}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:22:50.335705] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50970}) [2022-07-29 14:22:50.335734] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=50801, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:50970") [2022-07-29 14:22:50.335795] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=50801, get_transact_count()=0, sm_id=51096) [2022-07-29 14:22:50.335848] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:50.419296] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:50.419342] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] client login audit(client_addr={172.20.2.46:50970}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:50.419370] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:50.419384] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:50.419403] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:22:50.419417] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17030) [2022-07-29 14:22:50.419619] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075770419608, last_valid_time_us:1659075770419401, last_access_time_us:1659075770419401, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:50.419725] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:50.419771] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534450) [2022-07-29 14:22:50.419787] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534450, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:50.419830] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534450, get_transact_count()=0, sm_id=51097) [2022-07-29 14:22:50.419846] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:50.419972] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:50.420142] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34057, server_ip={172.20.2.116:2881}, cs_id=2147534450, proxy_sessid=0, server_type=1) [2022-07-29 14:22:50.420551] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] succ to set proxy_sessid(cs_id=2147534450, proxy_sessid=12399538384371156233, server_ip={172.20.2.116:2881}, ss_id=34057, server_sessid=3221672746, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36100") [2022-07-29 14:22:50.421658] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51097, cs_id=2147534450, proxy_sessid=12399538384371156233, ss_id=34057, server_sessid=3221672746, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:50.421772] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51097, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:50.421796] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:50.421803] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51097, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:50.421818] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34057, server_sessid:3221672746, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534450, proxy_sessid:12399538384371156233, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534450, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:50.422018] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=192] [dc=0] server session is closing(ss_id=34057, server_sessid=3221672746, server_ip={172.20.2.116:2881}, cs_id=2147534450, proxy_sessid=12399538384371156233) [2022-07-29 14:22:50.422054] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534450, proxy_sessid=12399538384371156233, client_vc=NULL) [2022-07-29 14:22:50.422086] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51097) [2022-07-29 14:22:50.422115] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:50.422135] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:50.422144] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:50.422156] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:50.422178] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:50.422189] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:50.422210] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:50.422218] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:50.422460] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:50.422484] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:50.422516] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534451) [2022-07-29 14:22:50.422540] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534451, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:50.422569] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=2147534451, get_transact_count()=0, sm_id=51098) [2022-07-29 14:22:50.422595] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:50.422684] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:50.422816] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34058, server_ip={172.20.2.116:2881}, cs_id=2147534451, proxy_sessid=0, server_type=1) [2022-07-29 14:22:50.423226] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534451, proxy_sessid=12399538384371156234, server_ip={172.20.2.116:2881}, ss_id=34058, server_sessid=3221672747, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36102") [2022-07-29 14:22:50.431582] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] finishing mysql tunnel((sm_id=51098, cs_id=2147534451, proxy_sessid=12399538384371156234, ss_id=34058, server_sessid=3221672747, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:50.431687] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=82] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51098, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:50.431698] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:50.431705] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51098, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:50.431718] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34058, server_sessid:3221672747, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534451, proxy_sessid:12399538384371156234, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534451, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:22:50.431894] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=169] [dc=0] server session is closing(ss_id=34058, server_sessid=3221672747, server_ip={172.20.2.116:2881}, cs_id=2147534451, proxy_sessid=12399538384371156234) [2022-07-29 14:22:50.431977] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534451, proxy_sessid=12399538384371156234, client_vc=NULL) [2022-07-29 14:22:50.432010] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51098) [2022-07-29 14:22:50.432027] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:50.432047] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:50.432055] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:50.432068] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:50.432088] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:50.432098] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:50.432112] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17030, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075770421792379, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:50.432145] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17030, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075770421792379, server_state_version:0}) [2022-07-29 14:22:50.432179] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:50.432204] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:50.432241] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17030, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075770421792379, server_state_version:0}) [2022-07-29 14:22:50.432274] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:50.432410] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:22:50.432433] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51096, ret=-4152) [2022-07-29 14:22:50.432443] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:50.432451] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51096, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:50.432463] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B1510] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:50.432493] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:50.432507] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50801, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:50.432519] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:50.432534] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:50.432548] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:50.432556] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51096) [2022-07-29 14:22:50.432555] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:55.466300] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=51] [dc=0] connection accepted(client={172.20.2.46:50972}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:22:55.466447] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50972}) [2022-07-29 14:22:55.466528] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client session born(cs_id=50804, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:50972") [2022-07-29 14:22:55.466569] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=50804, get_transact_count()=0, sm_id=51099) [2022-07-29 14:22:55.466585] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:55.552856] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:22:55.552888] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client login audit(client_addr={172.20.2.46:50972}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:22:55.552909] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:22:55.552936] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:55.552951] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:22:55.552974] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17031) [2022-07-29 14:22:55.553148] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075775553138, last_valid_time_us:1659075775552949, last_access_time_us:1659075775552949, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:22:55.553229] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:55.553277] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] proxy mysql client session born(cs_id=2147534453) [2022-07-29 14:22:55.553299] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534453, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:55.553334] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] Starting new transaction using sm(cs_id=2147534453, get_transact_count()=0, sm_id=51100) [2022-07-29 14:22:55.553358] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:55.553454] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:55.553590] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] server session born(ss_id=34059, server_ip={172.20.2.118:2881}, cs_id=2147534453, proxy_sessid=0, server_type=1) [2022-07-29 14:22:55.554141] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534453, proxy_sessid=12399538384371156235, server_ip={172.20.2.118:2881}, ss_id=34059, server_sessid=3222023353, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41124") [2022-07-29 14:22:55.556143] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51100, cs_id=2147534453, proxy_sessid=12399538384371156235, ss_id=34059, server_sessid=3222023353, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:55.556271] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51100, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:55.556294] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:55.556312] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51100, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:55.556338] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34059, server_sessid:3222023353, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534453, proxy_sessid:12399538384371156235, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534453, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:55.556545] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=196] [dc=0] server session is closing(ss_id=34059, server_sessid=3222023353, server_ip={172.20.2.118:2881}, cs_id=2147534453, proxy_sessid=12399538384371156235) [2022-07-29 14:22:55.556587] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534453, proxy_sessid=12399538384371156235, client_vc=NULL) [2022-07-29 14:22:55.556621] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51100) [2022-07-29 14:22:55.556653] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:55.556673] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:55.556690] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:55.556713] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:55.556734] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:55.556754] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:55.556774] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:22:55.556792] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:55.556888] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:22:55.556909] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:22:55.556998] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] proxy mysql client session born(cs_id=2147534454) [2022-07-29 14:22:55.557012] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534454, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:22:55.557051] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534454, get_transact_count()=0, sm_id=51101) [2022-07-29 14:22:55.557075] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:22:55.557176] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:22:55.557329] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34060, server_ip={172.20.2.117:2881}, cs_id=2147534454, proxy_sessid=0, server_type=1) [2022-07-29 14:22:55.557786] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534454, proxy_sessid=12399538384371156236, server_ip={172.20.2.117:2881}, ss_id=34060, server_sessid=3221755091, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44172") [2022-07-29 14:22:55.559102] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51101, cs_id=2147534454, proxy_sessid=12399538384371156236, ss_id=34060, server_sessid=3221755091, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:22:55.559197] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51101, client_vc=0x7ff1684bb5e0) [2022-07-29 14:22:55.559211] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:22:55.559217] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51101, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:22:55.559228] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34060, server_sessid:3221755091, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534454, proxy_sessid:12399538384371156236, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534454, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:22:55.559368] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=133] [dc=0] server session is closing(ss_id=34060, server_sessid=3221755091, server_ip={172.20.2.117:2881}, cs_id=2147534454, proxy_sessid=12399538384371156236) [2022-07-29 14:22:55.559397] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534454, proxy_sessid=12399538384371156236, client_vc=NULL) [2022-07-29 14:22:55.559412] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51101) [2022-07-29 14:22:55.559437] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:22:55.559454] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:22:55.559460] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:22:55.559469] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:22:55.559476] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:22:55.559485] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:22:55.559495] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17031, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075775556352276, server_state_version:0}, pending_list_count=0) [2022-07-29 14:22:55.559519] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17031, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075775556352276, server_state_version:0}) [2022-07-29 14:22:55.559586] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:22:55.559620] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:22:55.559659] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17031, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075775556352276, server_state_version:0}) [2022-07-29 14:22:55.559687] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:22:55.559815] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:22:55.559835] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] data is NULL(sm_id=51099, ret=-4152) [2022-07-29 14:22:55.559844] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:22:55.559851] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51099, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:22:55.559868] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF169450940] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:22:55.559895] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:55.559913] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=50804, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:22:55.559930] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:22:55.559944] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:22:55.559956] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51099) [2022-07-29 14:22:55.559957] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:22:55.559965] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:00.236172] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=30] [dc=0] connection accepted(client={172.20.2.46:50978}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:23:00.236341] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50978}) [2022-07-29 14:23:00.236420] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] client session born(cs_id=50807, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:50978") [2022-07-29 14:23:00.236462] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=50807, get_transact_count()=0, sm_id=51102) [2022-07-29 14:23:00.236498] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:00.313240] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:00.313289] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:50978}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:00.313316] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:00.313329] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:00.313345] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:23:00.313358] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17032) [2022-07-29 14:23:00.313581] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075780313570, last_valid_time_us:1659075780313344, last_access_time_us:1659075780313344, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:00.313671] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:00.313720] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534456) [2022-07-29 14:23:00.313746] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534456, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:00.313787] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534456, get_transact_count()=0, sm_id=51103) [2022-07-29 14:23:00.313813] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:00.313951] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:00.314139] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34061, server_ip={172.20.2.116:2881}, cs_id=2147534456, proxy_sessid=0, server_type=1) [2022-07-29 14:23:00.314701] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534456, proxy_sessid=12399538384371156237, server_ip={172.20.2.116:2881}, ss_id=34061, server_sessid=3221672845, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36108") [2022-07-29 14:23:00.317231] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51103, cs_id=2147534456, proxy_sessid=12399538384371156237, ss_id=34061, server_sessid=3221672845, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:00.317332] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=76] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51103, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:00.317353] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:00.317361] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51103, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:00.317386] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34061, server_sessid:3221672845, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534456, proxy_sessid:12399538384371156237, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534456, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:00.317552] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=158] [dc=0] server session is closing(ss_id=34061, server_sessid=3221672845, server_ip={172.20.2.116:2881}, cs_id=2147534456, proxy_sessid=12399538384371156237) [2022-07-29 14:23:00.317586] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534456, proxy_sessid=12399538384371156237, client_vc=NULL) [2022-07-29 14:23:00.317618] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] deallocating sm(sm_id=51103) [2022-07-29 14:23:00.317648] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:00.317663] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:00.317670] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:00.317682] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:00.317696] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:00.317706] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:00.317728] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:00.317736] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:00.317883] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:00.317903] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:00.317970] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] proxy mysql client session born(cs_id=2147534457) [2022-07-29 14:23:00.317992] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534457, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:00.318012] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534457, get_transact_count()=0, sm_id=51104) [2022-07-29 14:23:00.318033] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:00.318093] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:00.318199] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] server session born(ss_id=34062, server_ip={172.20.2.118:2881}, cs_id=2147534457, proxy_sessid=0, server_type=1) [2022-07-29 14:23:00.318803] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] succ to set proxy_sessid(cs_id=2147534457, proxy_sessid=12399538384371156238, server_ip={172.20.2.118:2881}, ss_id=34062, server_sessid=3222023354, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41130") [2022-07-29 14:23:00.320730] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51104, cs_id=2147534457, proxy_sessid=12399538384371156238, ss_id=34062, server_sessid=3222023354, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:00.320848] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51104, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:00.320875] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:00.320882] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51104, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:00.320898] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34062, server_sessid:3222023354, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534457, proxy_sessid:12399538384371156238, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534457, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:00.321125] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=219] [dc=0] server session is closing(ss_id=34062, server_sessid=3222023354, server_ip={172.20.2.118:2881}, cs_id=2147534457, proxy_sessid=12399538384371156238) [2022-07-29 14:23:00.321161] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534457, proxy_sessid=12399538384371156238, client_vc=NULL) [2022-07-29 14:23:00.321194] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51104) [2022-07-29 14:23:00.321210] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:00.321235] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:00.321243] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:00.321255] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:00.321266] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:00.321275] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:00.321289] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17032, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075780317700043, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:00.321324] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17032, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075780317700043, server_state_version:0}) [2022-07-29 14:23:00.321361] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:00.321388] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:00.321439] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17032, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075780317700043, server_state_version:0}) [2022-07-29 14:23:00.321462] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:00.321598] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:23:00.321621] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51102, ret=-4152) [2022-07-29 14:23:00.321633] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:00.321633] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF169450A00] [lt=14] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:00.321642] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51102, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:00.321660] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:00.321680] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:00.321704] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50807, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:00.321720] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:00.321732] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:00.321738] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:00.321741] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51102) [2022-07-29 14:23:05.424165] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=62] [dc=0] connection accepted(client={172.20.2.46:50980}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:23:05.424329] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50980}) [2022-07-29 14:23:05.424433] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=50810, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:50980") [2022-07-29 14:23:05.424479] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50810, get_transact_count()=0, sm_id=51105) [2022-07-29 14:23:05.424510] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:05.501881] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:05.501916] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] client login audit(client_addr={172.20.2.46:50980}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:05.501956] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:05.501968] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:05.501984] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:23:05.501998] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17033) [2022-07-29 14:23:05.502176] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075785502166, last_valid_time_us:1659075785501982, last_access_time_us:1659075785501982, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:05.502266] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:05.502309] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534459) [2022-07-29 14:23:05.502335] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534459, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:05.502370] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=2147534459, get_transact_count()=0, sm_id=51106) [2022-07-29 14:23:05.502395] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:05.502492] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:05.502647] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34063, server_ip={172.20.2.118:2881}, cs_id=2147534459, proxy_sessid=0, server_type=1) [2022-07-29 14:23:05.503085] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534459, proxy_sessid=12399538384371156239, server_ip={172.20.2.118:2881}, ss_id=34063, server_sessid=3222023355, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41132") [2022-07-29 14:23:05.505096] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51106, cs_id=2147534459, proxy_sessid=12399538384371156239, ss_id=34063, server_sessid=3222023355, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:05.505195] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51106, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:05.505205] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:05.505211] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51106, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:05.505225] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34063, server_sessid:3222023355, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534459, proxy_sessid:12399538384371156239, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534459, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:05.505401] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=169] [dc=0] server session is closing(ss_id=34063, server_sessid=3222023355, server_ip={172.20.2.118:2881}, cs_id=2147534459, proxy_sessid=12399538384371156239) [2022-07-29 14:23:05.505433] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534459, proxy_sessid=12399538384371156239, client_vc=NULL) [2022-07-29 14:23:05.505466] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51106) [2022-07-29 14:23:05.505495] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:05.505514] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:05.505523] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:05.505534] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:05.505554] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:05.505564] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:05.505575] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:05.505586] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:05.505751] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:05.505773] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:05.505803] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534460) [2022-07-29 14:23:05.505826] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534460, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:05.505855] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534460, get_transact_count()=0, sm_id=51107) [2022-07-29 14:23:05.505866] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:05.505979] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:05.506109] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] server session born(ss_id=34064, server_ip={172.20.2.117:2881}, cs_id=2147534460, proxy_sessid=0, server_type=1) [2022-07-29 14:23:05.506623] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] succ to set proxy_sessid(cs_id=2147534460, proxy_sessid=12399538384371156240, server_ip={172.20.2.117:2881}, ss_id=34064, server_sessid=3221755096, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44180") [2022-07-29 14:23:05.508085] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] finishing mysql tunnel((sm_id=51107, cs_id=2147534460, proxy_sessid=12399538384371156240, ss_id=34064, server_sessid=3221755096, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:05.508201] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51107, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:05.508214] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:05.508222] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51107, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:05.508237] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34064, server_sessid:3221755096, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534460, proxy_sessid:12399538384371156240, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534460, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:05.508430] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=182] [dc=0] server session is closing(ss_id=34064, server_sessid=3221755096, server_ip={172.20.2.117:2881}, cs_id=2147534460, proxy_sessid=12399538384371156240) [2022-07-29 14:23:05.508472] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534460, proxy_sessid=12399538384371156240, client_vc=NULL) [2022-07-29 14:23:05.508494] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51107) [2022-07-29 14:23:05.508514] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:05.508525] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:05.508534] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:05.508546] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:05.508557] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:05.508568] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:05.508582] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17033, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075785505255483, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:05.508604] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17033, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075785505255483, server_state_version:0}) [2022-07-29 14:23:05.508640] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:05.508668] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:05.508705] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17033, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075785505255483, server_state_version:0}) [2022-07-29 14:23:05.508741] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:05.508885] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:23:05.508907] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51105, ret=-4152) [2022-07-29 14:23:05.508939] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:05.508939] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF169450940] [lt=33] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:05.508958] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51105, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:05.508965] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:05.508993] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:05.509007] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:05.509020] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:05.509025] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50810, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:05.509047] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=26] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:05.509063] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51105) [2022-07-29 14:23:10.322594] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:50984}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:23:10.322756] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50984}) [2022-07-29 14:23:10.322849] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] client session born(cs_id=50813, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:50984") [2022-07-29 14:23:10.322898] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=50813, get_transact_count()=0, sm_id=51108) [2022-07-29 14:23:10.322962] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:10.417060] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:10.417100] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:50984}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:10.417129] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:10.417143] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:10.417162] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:23:10.417187] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17034) [2022-07-29 14:23:10.417391] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075790417379, last_valid_time_us:1659075790417160, last_access_time_us:1659075790417160, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:10.417499] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:10.417546] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534462) [2022-07-29 14:23:10.417562] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534462, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:10.417593] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=2147534462, get_transact_count()=0, sm_id=51109) [2022-07-29 14:23:10.417621] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:10.417727] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:10.417895] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34065, server_ip={172.20.2.116:2881}, cs_id=2147534462, proxy_sessid=0, server_type=1) [2022-07-29 14:23:10.418273] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] succ to set proxy_sessid(cs_id=2147534462, proxy_sessid=12399538384371156241, server_ip={172.20.2.116:2881}, ss_id=34065, server_sessid=3221672941, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36116") [2022-07-29 14:23:10.419578] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51109, cs_id=2147534462, proxy_sessid=12399538384371156241, ss_id=34065, server_sessid=3221672941, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:10.419669] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51109, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:10.419679] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:10.419685] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51109, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:10.419715] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] server session do_io_close((*this={ss_id:34065, server_sessid:3221672941, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534462, proxy_sessid:12399538384371156241, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534462, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:10.419870] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=148] [dc=0] server session is closing(ss_id=34065, server_sessid=3221672941, server_ip={172.20.2.116:2881}, cs_id=2147534462, proxy_sessid=12399538384371156241) [2022-07-29 14:23:10.419898] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534462, proxy_sessid=12399538384371156241, client_vc=NULL) [2022-07-29 14:23:10.419957] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51109) [2022-07-29 14:23:10.419984] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:10.420001] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:10.420008] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:10.420018] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:10.420026] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:10.420035] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:10.420044] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:10.420050] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:10.420191] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:10.420213] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:10.420247] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534463) [2022-07-29 14:23:10.420268] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] client session born(cs_id=2147534463, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:10.420289] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534463, get_transact_count()=0, sm_id=51110) [2022-07-29 14:23:10.420308] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:10.420370] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:10.420493] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] server session born(ss_id=34066, server_ip={172.20.2.116:2881}, cs_id=2147534463, proxy_sessid=0, server_type=1) [2022-07-29 14:23:10.420803] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534463, proxy_sessid=12399538384371156242, server_ip={172.20.2.116:2881}, ss_id=34066, server_sessid=3221672943, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36118") [2022-07-29 14:23:10.421644] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51110, cs_id=2147534463, proxy_sessid=12399538384371156242, ss_id=34066, server_sessid=3221672943, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:10.421753] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51110, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:10.421774] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:10.421780] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51110, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:10.421802] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] server session do_io_close((*this={ss_id:34066, server_sessid:3221672943, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534463, proxy_sessid:12399538384371156242, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534463, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:10.421996] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34066, server_sessid=3221672943, server_ip={172.20.2.116:2881}, cs_id=2147534463, proxy_sessid=12399538384371156242) [2022-07-29 14:23:10.422027] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534463, proxy_sessid=12399538384371156242, client_vc=NULL) [2022-07-29 14:23:10.422055] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51110) [2022-07-29 14:23:10.422069] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:10.422088] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:10.422096] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:10.422106] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:10.422115] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:10.422129] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:10.422141] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17034, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075790419652064, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:10.422164] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17034, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075790419652064, server_state_version:0}) [2022-07-29 14:23:10.422199] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:10.422234] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:10.422277] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17034, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075790419652064, server_state_version:0}) [2022-07-29 14:23:10.422306] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:10.422429] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:23:10.422452] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51108, ret=-4152) [2022-07-29 14:23:10.422461] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:10.422469] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51108, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:10.422484] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF169450A00] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:10.422523] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50813, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:10.422516] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:10.422541] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:10.422555] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:10.422567] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51108) [2022-07-29 14:23:10.422583] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:10.422591] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:15.347411] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:50986}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:23:15.347543] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50986}) [2022-07-29 14:23:15.347598] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session born(cs_id=50816, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:50986") [2022-07-29 14:23:15.347632] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=50816, get_transact_count()=0, sm_id=51111) [2022-07-29 14:23:15.347657] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:15.422184] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:15.422207] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client login audit(client_addr={172.20.2.46:50986}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:15.422223] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:15.422231] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:15.422241] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:23:15.422249] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17035) [2022-07-29 14:23:15.422411] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075795422402, last_valid_time_us:1659075795422243, last_access_time_us:1659075795422243, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:15.422464] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:15.422493] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534465) [2022-07-29 14:23:15.422504] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534465, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:15.422524] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534465, get_transact_count()=0, sm_id=51112) [2022-07-29 14:23:15.422539] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:15.422611] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:15.422719] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] server session born(ss_id=34067, server_ip={172.20.2.116:2881}, cs_id=2147534465, proxy_sessid=0, server_type=1) [2022-07-29 14:23:15.423205] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534465, proxy_sessid=12399538384371156243, server_ip={172.20.2.116:2881}, ss_id=34067, server_sessid=3221672997, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36120") [2022-07-29 14:23:15.424550] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51112, cs_id=2147534465, proxy_sessid=12399538384371156243, ss_id=34067, server_sessid=3221672997, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:15.424675] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51112, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:15.424699] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:15.424706] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51112, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:15.424737] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] server session do_io_close((*this={ss_id:34067, server_sessid:3221672997, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534465, proxy_sessid:12399538384371156243, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534465, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:15.424955] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=208] [dc=0] server session is closing(ss_id=34067, server_sessid=3221672997, server_ip={172.20.2.116:2881}, cs_id=2147534465, proxy_sessid=12399538384371156243) [2022-07-29 14:23:15.424998] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534465, proxy_sessid=12399538384371156243, client_vc=NULL) [2022-07-29 14:23:15.425033] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51112) [2022-07-29 14:23:15.425065] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:15.425087] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:15.425096] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:15.425109] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:15.425131] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:15.425143] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:15.425165] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:15.425184] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:15.425308] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:15.425330] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:15.425367] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534466) [2022-07-29 14:23:15.425394] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534466, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:15.425431] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534466, get_transact_count()=0, sm_id=51113) [2022-07-29 14:23:15.425455] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:15.425556] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:15.425709] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34068, server_ip={172.20.2.117:2881}, cs_id=2147534466, proxy_sessid=0, server_type=1) [2022-07-29 14:23:15.426025] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534466, proxy_sessid=12399538384371156244, server_ip={172.20.2.117:2881}, ss_id=34068, server_sessid=3221755101, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44188") [2022-07-29 14:23:15.427203] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51113, cs_id=2147534466, proxy_sessid=12399538384371156244, ss_id=34068, server_sessid=3221755101, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:15.427365] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51113, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:15.427390] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:15.427397] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51113, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:15.427423] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34068, server_sessid:3221755101, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534466, proxy_sessid:12399538384371156244, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534466, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:15.427630] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=199] [dc=0] server session is closing(ss_id=34068, server_sessid=3221755101, server_ip={172.20.2.117:2881}, cs_id=2147534466, proxy_sessid=12399538384371156244) [2022-07-29 14:23:15.427671] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session destroy(cs_id=2147534466, proxy_sessid=12399538384371156244, client_vc=NULL) [2022-07-29 14:23:15.427703] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51113) [2022-07-29 14:23:15.427732] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:15.427754] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:15.427763] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:15.427780] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:15.427791] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:15.427812] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:15.427829] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17035, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075795424821984, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:15.427861] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17035, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075795424821984, server_state_version:0}) [2022-07-29 14:23:15.427907] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:15.427964] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:15.428014] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17035, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075795424821984, server_state_version:0}) [2022-07-29 14:23:15.428048] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:15.428199] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:23:15.428222] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF169450940] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:15.428222] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51111, ret=-4152) [2022-07-29 14:23:15.428235] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:15.428245] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:15.428244] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51111, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:15.428255] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:15.428261] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:15.428266] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:15.428268] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=1] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:15.428307] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50816, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:15.428359] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51111) [2022-07-29 14:23:20.434755] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=57] [dc=0] connection accepted(client={172.20.2.46:50990}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:23:20.434887] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50990}) [2022-07-29 14:23:20.434979] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client session born(cs_id=50819, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:50990") [2022-07-29 14:23:20.435030] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] Starting new transaction using sm(cs_id=50819, get_transact_count()=0, sm_id=51114) [2022-07-29 14:23:20.435064] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:20.518048] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:20.518089] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:50990}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:20.518117] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:20.518131] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:20.518149] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:23:20.518163] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17036) [2022-07-29 14:23:20.518384] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075800518373, last_valid_time_us:1659075800518147, last_access_time_us:1659075800518147, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:20.518490] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:20.518536] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534468) [2022-07-29 14:23:20.518552] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534468, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:20.518596] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534468, get_transact_count()=0, sm_id=51115) [2022-07-29 14:23:20.518613] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:20.518716] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:20.518912] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34069, server_ip={172.20.2.116:2881}, cs_id=2147534468, proxy_sessid=0, server_type=1) [2022-07-29 14:23:20.519306] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=156] [dc=0] succ to set proxy_sessid(cs_id=2147534468, proxy_sessid=12399538384371156245, server_ip={172.20.2.116:2881}, ss_id=34069, server_sessid=3221673040, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36124") [2022-07-29 14:23:20.520747] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51115, cs_id=2147534468, proxy_sessid=12399538384371156245, ss_id=34069, server_sessid=3221673040, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:20.520835] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51115, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:20.520844] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:20.520849] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51115, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:20.520861] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34069, server_sessid:3221673040, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534468, proxy_sessid:12399538384371156245, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534468, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:20.521023] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=155] [dc=0] server session is closing(ss_id=34069, server_sessid=3221673040, server_ip={172.20.2.116:2881}, cs_id=2147534468, proxy_sessid=12399538384371156245) [2022-07-29 14:23:20.521051] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534468, proxy_sessid=12399538384371156245, client_vc=NULL) [2022-07-29 14:23:20.521068] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51115) [2022-07-29 14:23:20.521087] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:20.521107] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:20.521114] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:20.521123] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:20.521131] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:20.521139] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:20.521147] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:20.521152] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:20.521309] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:20.521327] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:20.521348] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534469) [2022-07-29 14:23:20.521357] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534469, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:20.521376] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534469, get_transact_count()=0, sm_id=51116) [2022-07-29 14:23:20.521387] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:20.521443] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:20.521557] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] server session born(ss_id=34070, server_ip={172.20.2.117:2881}, cs_id=2147534469, proxy_sessid=0, server_type=1) [2022-07-29 14:23:20.522160] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534469, proxy_sessid=12399538384371156246, server_ip={172.20.2.117:2881}, ss_id=34070, server_sessid=3221755104, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44192") [2022-07-29 14:23:20.523568] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51116, cs_id=2147534469, proxy_sessid=12399538384371156246, ss_id=34070, server_sessid=3221755104, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:20.523634] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51116, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:20.523641] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:20.523646] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51116, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:20.523657] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34070, server_sessid:3221755104, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534469, proxy_sessid:12399538384371156246, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534469, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:20.523796] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=134] [dc=0] server session is closing(ss_id=34070, server_sessid=3221755104, server_ip={172.20.2.117:2881}, cs_id=2147534469, proxy_sessid=12399538384371156246) [2022-07-29 14:23:20.523820] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534469, proxy_sessid=12399538384371156246, client_vc=NULL) [2022-07-29 14:23:20.523833] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51116) [2022-07-29 14:23:20.523844] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:20.523852] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:20.523858] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:20.523865] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:20.523872] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:20.523879] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:20.523888] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17036, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075800520819046, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:20.523909] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17036, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075800520819046, server_state_version:0}) [2022-07-29 14:23:20.523945] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:20.523967] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:20.524005] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17036, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075800520819046, server_state_version:0}) [2022-07-29 14:23:20.524033] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:20.524140] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:23:20.524157] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51114, ret=-4152) [2022-07-29 14:23:20.524165] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:20.524171] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51114, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:20.524180] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF169450A00] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:20.524217] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=50819, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:20.524225] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:20.524250] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] deallocating sm(sm_id=51114) [2022-07-29 14:23:20.524264] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:20.524279] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:20.524293] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:20.524300] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:25.505278] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=49] [dc=0] connection accepted(client={172.20.2.46:50992}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:23:25.505388] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:50992}) [2022-07-29 14:23:25.505433] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=50822, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:50992") [2022-07-29 14:23:25.505470] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=50822, get_transact_count()=0, sm_id=51117) [2022-07-29 14:23:25.505498] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:25.589598] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:25.589638] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:50992}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:25.589665] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:25.589680] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:25.589697] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:23:25.589710] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17037) [2022-07-29 14:23:25.589912] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075805589902, last_valid_time_us:1659075805589695, last_access_time_us:1659075805589695, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:25.590056] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=142] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:25.590101] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534471) [2022-07-29 14:23:25.590117] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session born(cs_id=2147534471, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:25.590148] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534471, get_transact_count()=0, sm_id=51118) [2022-07-29 14:23:25.590178] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:25.590281] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:25.590452] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] server session born(ss_id=34071, server_ip={172.20.2.117:2881}, cs_id=2147534471, proxy_sessid=0, server_type=1) [2022-07-29 14:23:25.590885] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534471, proxy_sessid=12399538384371156247, server_ip={172.20.2.117:2881}, ss_id=34071, server_sessid=3221755111, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44194") [2022-07-29 14:23:25.592202] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51118, cs_id=2147534471, proxy_sessid=12399538384371156247, ss_id=34071, server_sessid=3221755111, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:25.592304] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51118, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:25.592325] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:25.592331] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51118, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:25.592355] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] server session do_io_close((*this={ss_id:34071, server_sessid:3221755111, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534471, proxy_sessid:12399538384371156247, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534471, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:25.592525] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=161] [dc=0] server session is closing(ss_id=34071, server_sessid=3221755111, server_ip={172.20.2.117:2881}, cs_id=2147534471, proxy_sessid=12399538384371156247) [2022-07-29 14:23:25.592558] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534471, proxy_sessid=12399538384371156247, client_vc=NULL) [2022-07-29 14:23:25.592588] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51118) [2022-07-29 14:23:25.592617] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:25.592627] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:25.592640] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:25.592652] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:25.592662] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:25.592676] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:25.592687] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:25.592693] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:25.592872] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:25.592895] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:25.592954] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534472) [2022-07-29 14:23:25.592967] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534472, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:25.592993] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534472, get_transact_count()=0, sm_id=51119) [2022-07-29 14:23:25.593005] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:25.593090] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:25.593215] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] server session born(ss_id=34072, server_ip={172.20.2.116:2881}, cs_id=2147534472, proxy_sessid=0, server_type=1) [2022-07-29 14:23:25.593638] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534472, proxy_sessid=12399538384371156248, server_ip={172.20.2.116:2881}, ss_id=34072, server_sessid=3221673095, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36130") [2022-07-29 14:23:25.595249] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] finishing mysql tunnel((sm_id=51119, cs_id=2147534472, proxy_sessid=12399538384371156248, ss_id=34072, server_sessid=3221673095, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:25.595332] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=63] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51119, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:25.595341] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:25.595346] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51119, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:25.595357] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34072, server_sessid:3221673095, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534472, proxy_sessid:12399538384371156248, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534472, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:25.595514] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=152] [dc=0] server session is closing(ss_id=34072, server_sessid=3221673095, server_ip={172.20.2.116:2881}, cs_id=2147534472, proxy_sessid=12399538384371156248) [2022-07-29 14:23:25.595542] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534472, proxy_sessid=12399538384371156248, client_vc=NULL) [2022-07-29 14:23:25.595563] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] deallocating sm(sm_id=51119) [2022-07-29 14:23:25.595576] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:25.595596] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:25.595603] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:25.595613] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:25.595627] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:25.595636] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:25.595648] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17037, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075805592284568, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:25.595665] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17037, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075805592284568, server_state_version:0}) [2022-07-29 14:23:25.595718] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:25.595752] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:25.595796] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17037, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075805592284568, server_state_version:0}) [2022-07-29 14:23:25.595825] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:25.595965] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:23:25.595985] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] data is NULL(sm_id=51117, ret=-4152) [2022-07-29 14:23:25.595995] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:25.596003] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51117, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:25.596033] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:25.596069] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50822, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:25.596063] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:25.596088] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:25.596102] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:25.596111] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51117) [2022-07-29 14:23:25.596130] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=28] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:25.596139] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:30.464673] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=51] [dc=0] connection accepted(client={172.20.2.46:50998}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:23:30.464799] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:50998}) [2022-07-29 14:23:30.464880] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] client session born(cs_id=50825, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:50998") [2022-07-29 14:23:30.464954] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50825, get_transact_count()=0, sm_id=51120) [2022-07-29 14:23:30.464995] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:30.551704] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:30.551753] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:50998}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:30.551776] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:30.551787] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:30.551804] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:23:30.551815] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17038) [2022-07-29 14:23:30.552042] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075810552033, last_valid_time_us:1659075810551802, last_access_time_us:1659075810551802, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:30.552127] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=83] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:30.552169] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534474) [2022-07-29 14:23:30.552182] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534474, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:30.552210] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534474, get_transact_count()=0, sm_id=51121) [2022-07-29 14:23:30.552223] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:30.552312] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:30.552456] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] server session born(ss_id=34073, server_ip={172.20.2.118:2881}, cs_id=2147534474, proxy_sessid=0, server_type=1) [2022-07-29 14:23:30.552975] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534474, proxy_sessid=12399538384371156249, server_ip={172.20.2.118:2881}, ss_id=34073, server_sessid=3222023356, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41152") [2022-07-29 14:23:30.555103] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51121, cs_id=2147534474, proxy_sessid=12399538384371156249, ss_id=34073, server_sessid=3222023356, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:30.555216] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=85] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51121, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:30.555239] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:30.555246] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51121, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:30.555260] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34073, server_sessid:3222023356, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534474, proxy_sessid:12399538384371156249, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534474, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:30.555443] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=175] [dc=0] server session is closing(ss_id=34073, server_sessid=3222023356, server_ip={172.20.2.118:2881}, cs_id=2147534474, proxy_sessid=12399538384371156249) [2022-07-29 14:23:30.555478] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534474, proxy_sessid=12399538384371156249, client_vc=NULL) [2022-07-29 14:23:30.555503] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] deallocating sm(sm_id=51121) [2022-07-29 14:23:30.555526] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:30.555549] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:30.555558] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:30.555570] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:30.555580] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:30.555589] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:30.555600] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:30.555607] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:30.555746] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:30.555767] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:30.555796] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534475) [2022-07-29 14:23:30.555819] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534475, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:30.555847] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] Starting new transaction using sm(cs_id=2147534475, get_transact_count()=0, sm_id=51122) [2022-07-29 14:23:30.555859] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:30.555960] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:30.556096] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34074, server_ip={172.20.2.118:2881}, cs_id=2147534475, proxy_sessid=0, server_type=1) [2022-07-29 14:23:30.556539] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534475, proxy_sessid=12399538384371156250, server_ip={172.20.2.118:2881}, ss_id=34074, server_sessid=3222023357, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41154") [2022-07-29 14:23:30.558306] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51122, cs_id=2147534475, proxy_sessid=12399538384371156250, ss_id=34074, server_sessid=3222023357, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:30.558431] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51122, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:30.558440] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:30.558446] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51122, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:30.558457] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34074, server_sessid:3222023357, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534475, proxy_sessid:12399538384371156250, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534475, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:30.558608] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=145] [dc=0] server session is closing(ss_id=34074, server_sessid=3222023357, server_ip={172.20.2.118:2881}, cs_id=2147534475, proxy_sessid=12399538384371156250) [2022-07-29 14:23:30.558635] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534475, proxy_sessid=12399538384371156250, client_vc=NULL) [2022-07-29 14:23:30.558651] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51122) [2022-07-29 14:23:30.558664] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:30.558673] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:30.558679] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:30.558689] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:30.558705] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:30.558714] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:30.558738] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17038, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075810555283036, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:30.558755] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17038, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075810555283036, server_state_version:0}) [2022-07-29 14:23:30.558795] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:30.558818] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:30.558864] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17038, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075810555283036, server_state_version:0}) [2022-07-29 14:23:30.558883] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:30.559031] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:23:30.559048] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51120, ret=-4152) [2022-07-29 14:23:30.559057] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:30.559064] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51120, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:30.559072] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF169450A00] [lt=51] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:30.559099] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:30.559119] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=50825, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:30.559122] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:30.559135] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:30.559147] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:30.559153] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51120) [2022-07-29 14:23:30.559153] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:35.462468] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=49] [dc=0] connection accepted(client={172.20.2.46:51000}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:23:35.462574] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51000}) [2022-07-29 14:23:35.462615] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=50828, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51000") [2022-07-29 14:23:35.462644] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=50828, get_transact_count()=0, sm_id=51123) [2022-07-29 14:23:35.462654] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:35.540802] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:35.540844] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] client login audit(client_addr={172.20.2.46:51000}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:35.540867] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:35.540878] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:35.540892] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:23:35.540903] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17039) [2022-07-29 14:23:35.541120] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075815541111, last_valid_time_us:1659075815540891, last_access_time_us:1659075815540891, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:35.541205] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=83] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:35.541243] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534477) [2022-07-29 14:23:35.541256] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534477, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:35.541288] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] Starting new transaction using sm(cs_id=2147534477, get_transact_count()=0, sm_id=51124) [2022-07-29 14:23:35.541312] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:35.541399] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:35.541540] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] server session born(ss_id=34075, server_ip={172.20.2.117:2881}, cs_id=2147534477, proxy_sessid=0, server_type=1) [2022-07-29 14:23:35.542029] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534477, proxy_sessid=12399538384371156251, server_ip={172.20.2.117:2881}, ss_id=34075, server_sessid=3221755116, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44202") [2022-07-29 14:23:35.544037] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51124, cs_id=2147534477, proxy_sessid=12399538384371156251, ss_id=34075, server_sessid=3221755116, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:35.544159] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51124, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:35.544184] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:35.544191] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51124, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:35.544216] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34075, server_sessid:3221755116, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534477, proxy_sessid:12399538384371156251, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534477, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:35.544442] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=215] [dc=0] server session is closing(ss_id=34075, server_sessid=3221755116, server_ip={172.20.2.117:2881}, cs_id=2147534477, proxy_sessid=12399538384371156251) [2022-07-29 14:23:35.544482] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534477, proxy_sessid=12399538384371156251, client_vc=NULL) [2022-07-29 14:23:35.544516] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51124) [2022-07-29 14:23:35.544547] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:35.544568] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:35.544576] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:35.544591] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:35.544612] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:35.544623] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:35.544644] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:35.544652] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:35.544805] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:35.544826] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:35.544904] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534478) [2022-07-29 14:23:35.544964] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] client session born(cs_id=2147534478, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:35.545002] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534478, get_transact_count()=0, sm_id=51125) [2022-07-29 14:23:35.545027] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:35.545118] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:35.545273] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34076, server_ip={172.20.2.117:2881}, cs_id=2147534478, proxy_sessid=0, server_type=1) [2022-07-29 14:23:35.545659] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534478, proxy_sessid=12399538384371156252, server_ip={172.20.2.117:2881}, ss_id=34076, server_sessid=3221755117, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44204") [2022-07-29 14:23:35.547505] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51125, cs_id=2147534478, proxy_sessid=12399538384371156252, ss_id=34076, server_sessid=3221755117, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:35.547628] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51125, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:35.547643] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:35.547649] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51125, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:35.547667] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34076, server_sessid:3221755117, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534478, proxy_sessid:12399538384371156252, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534478, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:35.547851] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=177] [dc=0] server session is closing(ss_id=34076, server_sessid=3221755117, server_ip={172.20.2.117:2881}, cs_id=2147534478, proxy_sessid=12399538384371156252) [2022-07-29 14:23:35.547883] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534478, proxy_sessid=12399538384371156252, client_vc=NULL) [2022-07-29 14:23:35.547901] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51125) [2022-07-29 14:23:35.547943] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:35.547953] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:35.547961] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:35.547971] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:35.547981] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:35.547991] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:35.548004] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17039, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075815544132505, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:35.548023] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17039, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075815544132505, server_state_version:0}) [2022-07-29 14:23:35.548058] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:35.548089] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:35.548179] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17039, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075815544132505, server_state_version:0}) [2022-07-29 14:23:35.548201] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:35.548333] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:23:35.548349] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] data is NULL(sm_id=51123, ret=-4152) [2022-07-29 14:23:35.548360] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:35.548357] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:35.548370] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51123, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:35.548384] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:35.548406] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:35.548419] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:35.548432] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:35.548433] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50828, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:35.548439] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:35.548472] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51123) [2022-07-29 14:23:40.474486] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=31] [dc=0] connection accepted(client={172.20.2.46:51004}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:23:40.474661] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51004}) [2022-07-29 14:23:40.474732] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client session born(cs_id=50831, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51004") [2022-07-29 14:23:40.474774] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=50831, get_transact_count()=0, sm_id=51126) [2022-07-29 14:23:40.474807] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:40.559024] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:40.559069] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] client login audit(client_addr={172.20.2.46:51004}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:40.559096] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:40.559110] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:40.559127] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:23:40.559141] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17040) [2022-07-29 14:23:40.559332] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075820559321, last_valid_time_us:1659075820559126, last_access_time_us:1659075820559126, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:40.559435] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=101] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:40.559481] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534480) [2022-07-29 14:23:40.559496] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534480, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:40.559526] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534480, get_transact_count()=0, sm_id=51127) [2022-07-29 14:23:40.559553] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:40.559670] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:40.559837] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34077, server_ip={172.20.2.118:2881}, cs_id=2147534480, proxy_sessid=0, server_type=1) [2022-07-29 14:23:40.560354] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534480, proxy_sessid=12399538384371156253, server_ip={172.20.2.118:2881}, ss_id=34077, server_sessid=3222023358, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41160") [2022-07-29 14:23:40.562884] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] finishing mysql tunnel((sm_id=51127, cs_id=2147534480, proxy_sessid=12399538384371156253, ss_id=34077, server_sessid=3222023358, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:40.563077] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=162] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51127, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:40.563090] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:40.563097] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51127, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:40.563112] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34077, server_sessid:3222023358, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534480, proxy_sessid:12399538384371156253, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534480, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:40.563344] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=222] [dc=0] server session is closing(ss_id=34077, server_sessid=3222023358, server_ip={172.20.2.118:2881}, cs_id=2147534480, proxy_sessid=12399538384371156253) [2022-07-29 14:23:40.563383] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534480, proxy_sessid=12399538384371156253, client_vc=NULL) [2022-07-29 14:23:40.563420] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51127) [2022-07-29 14:23:40.563440] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:40.563451] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:40.563460] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:40.563473] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:40.563483] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:40.563495] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:40.563505] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:40.563512] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:40.563689] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:40.563728] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:40.563794] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] proxy mysql client session born(cs_id=2147534481) [2022-07-29 14:23:40.563824] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534481, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:40.563862] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534481, get_transact_count()=0, sm_id=51128) [2022-07-29 14:23:40.563888] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:40.563997] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:40.564167] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] server session born(ss_id=34078, server_ip={172.20.2.117:2881}, cs_id=2147534481, proxy_sessid=0, server_type=1) [2022-07-29 14:23:40.564536] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534481, proxy_sessid=12399538384371156254, server_ip={172.20.2.117:2881}, ss_id=34078, server_sessid=3221755120, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44208") [2022-07-29 14:23:40.565533] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51128, cs_id=2147534481, proxy_sessid=12399538384371156254, ss_id=34078, server_sessid=3221755120, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:40.565645] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51128, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:40.565661] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:40.565668] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51128, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:40.565684] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34078, server_sessid:3221755120, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534481, proxy_sessid:12399538384371156254, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534481, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:40.565871] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=180] [dc=0] server session is closing(ss_id=34078, server_sessid=3221755120, server_ip={172.20.2.117:2881}, cs_id=2147534481, proxy_sessid=12399538384371156254) [2022-07-29 14:23:40.565905] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534481, proxy_sessid=12399538384371156254, client_vc=NULL) [2022-07-29 14:23:40.565951] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] deallocating sm(sm_id=51128) [2022-07-29 14:23:40.565982] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:40.565992] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:40.566001] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:40.566012] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:40.566022] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:40.566031] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:40.566045] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17040, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075820563053214, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:40.566066] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17040, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075820563053214, server_state_version:0}) [2022-07-29 14:23:40.566100] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:40.566125] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:40.566163] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17040, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075820563053214, server_state_version:0}) [2022-07-29 14:23:40.566185] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:40.566336] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:23:40.566360] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51126, ret=-4152) [2022-07-29 14:23:40.566372] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:40.566381] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF169450A00] [lt=37] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:40.566381] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51126, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:40.566400] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:40.566420] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:40.566428] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:40.566436] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:40.566440] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:40.566456] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50831, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:40.566505] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51126) [2022-07-29 14:23:45.595968] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=34] [dc=0] connection accepted(client={172.20.2.46:51006}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:23:45.596068] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51006}) [2022-07-29 14:23:45.596110] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=50834, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51006") [2022-07-29 14:23:45.596133] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=50834, get_transact_count()=0, sm_id=51129) [2022-07-29 14:23:45.596153] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:45.680250] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:45.680293] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] client login audit(client_addr={172.20.2.46:51006}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:45.680308] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:45.680314] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:45.680325] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:23:45.680340] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17041) [2022-07-29 14:23:45.680473] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075825680465, last_valid_time_us:1659075825680323, last_access_time_us:1659075825680323, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:45.680519] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:45.680546] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534483) [2022-07-29 14:23:45.680563] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534483, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:45.680583] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534483, get_transact_count()=0, sm_id=51130) [2022-07-29 14:23:45.680593] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:45.680654] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:45.680758] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] server session born(ss_id=34079, server_ip={172.20.2.117:2881}, cs_id=2147534483, proxy_sessid=0, server_type=1) [2022-07-29 14:23:45.681210] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534483, proxy_sessid=12399538384371156255, server_ip={172.20.2.117:2881}, ss_id=34079, server_sessid=3221755123, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44210") [2022-07-29 14:23:45.682274] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51130, cs_id=2147534483, proxy_sessid=12399538384371156255, ss_id=34079, server_sessid=3221755123, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:45.682395] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51130, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:45.682407] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:45.682414] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51130, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:45.682428] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34079, server_sessid:3221755123, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534483, proxy_sessid:12399538384371156255, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534483, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:45.682611] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=175] [dc=0] server session is closing(ss_id=34079, server_sessid=3221755123, server_ip={172.20.2.117:2881}, cs_id=2147534483, proxy_sessid=12399538384371156255) [2022-07-29 14:23:45.682647] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534483, proxy_sessid=12399538384371156255, client_vc=NULL) [2022-07-29 14:23:45.682679] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51130) [2022-07-29 14:23:45.682702] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:45.682712] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:45.682720] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:45.682731] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:45.682741] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:45.682752] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:45.682776] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:45.682784] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:45.683043] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:45.683113] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=68] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:45.683170] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] proxy mysql client session born(cs_id=2147534484) [2022-07-29 14:23:45.683183] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534484, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:45.683206] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534484, get_transact_count()=0, sm_id=51131) [2022-07-29 14:23:45.683230] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:45.683308] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:45.683458] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34080, server_ip={172.20.2.116:2881}, cs_id=2147534484, proxy_sessid=0, server_type=1) [2022-07-29 14:23:45.683990] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534484, proxy_sessid=12399538384371156256, server_ip={172.20.2.116:2881}, ss_id=34080, server_sessid=3221673288, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36146") [2022-07-29 14:23:45.685359] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51131, cs_id=2147534484, proxy_sessid=12399538384371156256, ss_id=34080, server_sessid=3221673288, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:45.685476] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51131, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:45.685500] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:45.685508] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51131, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:45.685535] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34080, server_sessid:3221673288, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534484, proxy_sessid:12399538384371156256, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534484, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:45.685740] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=196] [dc=0] server session is closing(ss_id=34080, server_sessid=3221673288, server_ip={172.20.2.116:2881}, cs_id=2147534484, proxy_sessid=12399538384371156256) [2022-07-29 14:23:45.685776] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534484, proxy_sessid=12399538384371156256, client_vc=NULL) [2022-07-29 14:23:45.685808] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51131) [2022-07-29 14:23:45.685837] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:45.685863] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:45.685872] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:45.685884] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:45.685894] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:45.685904] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:45.685972] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17041, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075825682374279, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:45.686006] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17041, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075825682374279, server_state_version:0}) [2022-07-29 14:23:45.686054] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:45.686088] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:45.686158] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17041, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075825682374279, server_state_version:0}) [2022-07-29 14:23:45.686181] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:45.686320] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:23:45.686345] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51129, ret=-4152) [2022-07-29 14:23:45.686357] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:45.686366] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51129, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:45.686360] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:45.686391] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:45.686415] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:45.686428] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:45.686442] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50834, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:45.686456] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:45.686464] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:45.686480] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51129) [2022-07-29 14:23:50.437573] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51010}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:23:50.437702] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51010}) [2022-07-29 14:23:50.437749] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=50837, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51010") [2022-07-29 14:23:50.437772] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=50837, get_transact_count()=0, sm_id=51132) [2022-07-29 14:23:50.437793] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:50.512635] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:23:50.512682] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] client login audit(client_addr={172.20.2.46:51010}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:23:50.512710] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:23:50.512724] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:50.512740] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:23:50.512754] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17042) [2022-07-29 14:23:50.512977] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075830512966, last_valid_time_us:1659075830512738, last_access_time_us:1659075830512738, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:23:50.513083] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:50.513493] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534486) [2022-07-29 14:23:50.513510] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534486, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:50.513541] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534486, get_transact_count()=0, sm_id=51133) [2022-07-29 14:23:50.513557] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:50.513685] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:50.513857] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34081, server_ip={172.20.2.117:2881}, cs_id=2147534486, proxy_sessid=0, server_type=1) [2022-07-29 14:23:50.514342] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534486, proxy_sessid=12399538384371156257, server_ip={172.20.2.117:2881}, ss_id=34081, server_sessid=3221755127, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44214") [2022-07-29 14:23:50.516252] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51133, cs_id=2147534486, proxy_sessid=12399538384371156257, ss_id=34081, server_sessid=3221755127, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:50.516305] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51133, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:50.516311] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:50.516314] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51133, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:50.516322] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34081, server_sessid:3221755127, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534486, proxy_sessid:12399538384371156257, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534486, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:23:50.516417] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] server session is closing(ss_id=34081, server_sessid=3221755127, server_ip={172.20.2.117:2881}, cs_id=2147534486, proxy_sessid=12399538384371156257) [2022-07-29 14:23:50.516437] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534486, proxy_sessid=12399538384371156257, client_vc=NULL) [2022-07-29 14:23:50.516448] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51133) [2022-07-29 14:23:50.516460] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:50.516465] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:50.516469] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:50.516476] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:50.516481] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:50.516486] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:50.516492] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:23:50.516496] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:50.516617] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:23:50.516631] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:23:50.516647] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534487) [2022-07-29 14:23:50.516655] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534487, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:23:50.516677] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534487, get_transact_count()=0, sm_id=51134) [2022-07-29 14:23:50.516683] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:23:50.516724] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:23:50.516800] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] server session born(ss_id=34082, server_ip={172.20.2.118:2881}, cs_id=2147534487, proxy_sessid=0, server_type=1) [2022-07-29 14:23:50.517349] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534487, proxy_sessid=12399538384371156258, server_ip={172.20.2.118:2881}, ss_id=34082, server_sessid=3222023359, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41170") [2022-07-29 14:23:50.519239] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51134, cs_id=2147534487, proxy_sessid=12399538384371156258, ss_id=34082, server_sessid=3222023359, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:23:50.519364] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51134, client_vc=0x7ff1684bb5e0) [2022-07-29 14:23:50.519376] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:23:50.519383] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51134, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:23:50.519408] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34082, server_sessid:3222023359, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534487, proxy_sessid:12399538384371156258, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534487, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:23:50.519610] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=191] [dc=0] server session is closing(ss_id=34082, server_sessid=3222023359, server_ip={172.20.2.118:2881}, cs_id=2147534487, proxy_sessid=12399538384371156258) [2022-07-29 14:23:50.519659] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session destroy(cs_id=2147534487, proxy_sessid=12399538384371156258, client_vc=NULL) [2022-07-29 14:23:50.519693] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51134) [2022-07-29 14:23:50.519723] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:23:50.519743] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:23:50.519752] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:23:50.519765] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:23:50.519786] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:23:50.519797] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:23:50.519815] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17042, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075830516291735, server_state_version:0}, pending_list_count=0) [2022-07-29 14:23:50.519846] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17042, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075830516291735, server_state_version:0}) [2022-07-29 14:23:50.519897] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:23:50.519953] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:23:50.520005] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17042, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075830516291735, server_state_version:0}) [2022-07-29 14:23:50.520036] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:23:50.520158] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:23:50.520180] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51132, ret=-4152) [2022-07-29 14:23:50.520192] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:23:50.520201] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51132, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:23:50.520265] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50837, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:23:50.520315] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51132) [2022-07-29 14:23:50.520329] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF169450A00] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:23:50.520342] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:50.520362] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:23:50.520371] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:23:50.520393] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:23:50.520400] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:05.528895] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=33] [dc=0] connection accepted(client={172.20.2.46:51016}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:24:05.529125] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51016}) [2022-07-29 14:24:05.529211] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client session born(cs_id=50840, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51016") [2022-07-29 14:24:05.529275] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] Starting new transaction using sm(cs_id=50840, get_transact_count()=0, sm_id=51135) [2022-07-29 14:24:05.529304] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:05.612046] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:05.612090] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] client login audit(client_addr={172.20.2.46:51016}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:05.612119] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:05.612134] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:05.612151] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:24:05.612171] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17043) [2022-07-29 14:24:05.612379] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075845612365, last_valid_time_us:1659075845612149, last_access_time_us:1659075845612149, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:05.612484] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:05.612530] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534489) [2022-07-29 14:24:05.612558] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534489, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:05.612585] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534489, get_transact_count()=0, sm_id=51136) [2022-07-29 14:24:05.612612] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:05.612729] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:05.612895] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34083, server_ip={172.20.2.117:2881}, cs_id=2147534489, proxy_sessid=0, server_type=1) [2022-07-29 14:24:05.613424] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] succ to set proxy_sessid(cs_id=2147534489, proxy_sessid=12399538384371156259, server_ip={172.20.2.117:2881}, ss_id=34083, server_sessid=3221755138, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44218") [2022-07-29 14:24:05.614875] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=69] [dc=0] finishing mysql tunnel((sm_id=51136, cs_id=2147534489, proxy_sessid=12399538384371156259, ss_id=34083, server_sessid=3221755138, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:05.615037] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=128] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51136, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:05.615062] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:05.615070] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51136, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:05.615120] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] server session do_io_close((*this={ss_id:34083, server_sessid:3221755138, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534489, proxy_sessid:12399538384371156259, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534489, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:05.615322] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34083, server_sessid=3221755138, server_ip={172.20.2.117:2881}, cs_id=2147534489, proxy_sessid=12399538384371156259) [2022-07-29 14:24:05.615370] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session destroy(cs_id=2147534489, proxy_sessid=12399538384371156259, client_vc=NULL) [2022-07-29 14:24:05.615405] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51136) [2022-07-29 14:24:05.615439] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:05.615461] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:05.615470] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:05.615489] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:05.615500] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:05.615510] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:05.615523] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:05.615531] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:05.615658] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:05.615682] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:05.615741] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534490) [2022-07-29 14:24:05.615769] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534490, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:05.615808] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534490, get_transact_count()=0, sm_id=51137) [2022-07-29 14:24:05.615834] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:05.615979] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:05.616138] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34084, server_ip={172.20.2.117:2881}, cs_id=2147534490, proxy_sessid=0, server_type=1) [2022-07-29 14:24:05.616552] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534490, proxy_sessid=12399538384371156260, server_ip={172.20.2.117:2881}, ss_id=34084, server_sessid=3221755139, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44220") [2022-07-29 14:24:05.617562] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51137, cs_id=2147534490, proxy_sessid=12399538384371156260, ss_id=34084, server_sessid=3221755139, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:05.617686] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51137, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:05.617711] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:05.617719] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51137, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:05.617747] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34084, server_sessid:3221755139, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534490, proxy_sessid:12399538384371156260, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534490, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:05.618064] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=306] [dc=0] server session is closing(ss_id=34084, server_sessid=3221755139, server_ip={172.20.2.117:2881}, cs_id=2147534490, proxy_sessid=12399538384371156260) [2022-07-29 14:24:05.618116] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client session destroy(cs_id=2147534490, proxy_sessid=12399538384371156260, client_vc=NULL) [2022-07-29 14:24:05.618153] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51137) [2022-07-29 14:24:05.618185] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:05.618209] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:05.618219] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:05.618232] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:05.618273] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:05.618285] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:05.618312] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17043, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075845615010290, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:05.618348] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17043, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075845615010290, server_state_version:0}) [2022-07-29 14:24:05.618398] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:05.618445] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:05.618482] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17043, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075845615010290, server_state_version:0}) [2022-07-29 14:24:05.618505] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:05.618650] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:24:05.618676] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51135, ret=-4152) [2022-07-29 14:24:05.618677] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF1691B1510] [lt=25] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:05.618689] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:05.618695] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:05.618698] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51135, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:05.618721] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:05.618730] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:05.618740] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:05.618744] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:05.618767] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50840, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:05.618823] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51135) [2022-07-29 14:24:10.498972] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51020}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:24:10.499142] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51020}) [2022-07-29 14:24:10.499230] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] client session born(cs_id=50843, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51020") [2022-07-29 14:24:10.499289] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50843, get_transact_count()=0, sm_id=51138) [2022-07-29 14:24:10.499320] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:10.582780] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:10.582801] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client login audit(client_addr={172.20.2.46:51020}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:10.582814] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:10.582821] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:10.582829] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:24:10.582836] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17044) [2022-07-29 14:24:10.582970] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075850582962, last_valid_time_us:1659075850582828, last_access_time_us:1659075850582828, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:10.583015] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:10.583042] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534492) [2022-07-29 14:24:10.583050] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534492, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:10.583069] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534492, get_transact_count()=0, sm_id=51139) [2022-07-29 14:24:10.583077] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:10.583133] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:10.583233] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34085, server_ip={172.20.2.118:2881}, cs_id=2147534492, proxy_sessid=0, server_type=1) [2022-07-29 14:24:10.583874] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534492, proxy_sessid=12399538384371156261, server_ip={172.20.2.118:2881}, ss_id=34085, server_sessid=3222023360, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41176") [2022-07-29 14:24:10.586027] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] finishing mysql tunnel((sm_id=51139, cs_id=2147534492, proxy_sessid=12399538384371156261, ss_id=34085, server_sessid=3222023360, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:10.586166] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51139, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:10.586178] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:10.586185] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51139, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:10.586203] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] server session do_io_close((*this={ss_id:34085, server_sessid:3222023360, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534492, proxy_sessid:12399538384371156261, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534492, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:10.586406] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=192] [dc=0] server session is closing(ss_id=34085, server_sessid=3222023360, server_ip={172.20.2.118:2881}, cs_id=2147534492, proxy_sessid=12399538384371156261) [2022-07-29 14:24:10.586457] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session destroy(cs_id=2147534492, proxy_sessid=12399538384371156261, client_vc=NULL) [2022-07-29 14:24:10.586490] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51139) [2022-07-29 14:24:10.586521] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:10.586542] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:10.586551] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:10.586565] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:10.586580] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:10.586591] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:10.586613] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:10.586620] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:10.586765] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:10.586801] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:10.586850] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] proxy mysql client session born(cs_id=2147534493) [2022-07-29 14:24:10.586867] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534493, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:10.586910] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=2147534493, get_transact_count()=0, sm_id=51140) [2022-07-29 14:24:10.586946] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:10.587047] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:10.587213] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] server session born(ss_id=34086, server_ip={172.20.2.118:2881}, cs_id=2147534493, proxy_sessid=0, server_type=1) [2022-07-29 14:24:10.587714] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534493, proxy_sessid=12399538384371156262, server_ip={172.20.2.118:2881}, ss_id=34086, server_sessid=3222023361, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41178") [2022-07-29 14:24:10.589600] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] finishing mysql tunnel((sm_id=51140, cs_id=2147534493, proxy_sessid=12399538384371156262, ss_id=34086, server_sessid=3222023361, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:10.589739] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51140, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:10.589749] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:10.589755] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51140, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:10.589768] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34086, server_sessid:3222023361, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534493, proxy_sessid:12399538384371156262, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534493, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:10.589967] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=191] [dc=0] server session is closing(ss_id=34086, server_sessid=3222023361, server_ip={172.20.2.118:2881}, cs_id=2147534493, proxy_sessid=12399538384371156262) [2022-07-29 14:24:10.590000] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534493, proxy_sessid=12399538384371156262, client_vc=NULL) [2022-07-29 14:24:10.590021] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] deallocating sm(sm_id=51140) [2022-07-29 14:24:10.590050] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:10.590059] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:10.590066] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:10.590076] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:10.590086] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:10.590095] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:10.590112] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17044, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075850586126319, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:10.590135] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17044, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075850586126319, server_state_version:0}) [2022-07-29 14:24:10.590167] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:10.590201] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:10.590246] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17044, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075850586126319, server_state_version:0}) [2022-07-29 14:24:10.590265] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:10.590396] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:24:10.590416] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] data is NULL(sm_id=51138, ret=-4152) [2022-07-29 14:24:10.590426] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:10.590434] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51138, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:10.590439] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF169450A00] [lt=30] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:10.590464] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:10.590487] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50843, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:10.590500] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:10.590519] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51138) [2022-07-29 14:24:10.590514] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:10.590528] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:10.590534] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:15.702774] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=128] [dc=0] connection accepted(client={172.20.2.46:51022}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:24:15.702961] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51022}) [2022-07-29 14:24:15.703047] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=50846, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51022") [2022-07-29 14:24:15.703105] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] Starting new transaction using sm(cs_id=50846, get_transact_count()=0, sm_id=51141) [2022-07-29 14:24:15.703124] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:15.780758] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:15.780782] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client login audit(client_addr={172.20.2.46:51022}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:15.780795] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:15.780801] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:15.780810] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:24:15.780817] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17045) [2022-07-29 14:24:15.780962] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075855780954, last_valid_time_us:1659075855780809, last_access_time_us:1659075855780809, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:15.781008] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:15.781038] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534495) [2022-07-29 14:24:15.781046] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534495, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:15.781066] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534495, get_transact_count()=0, sm_id=51142) [2022-07-29 14:24:15.781082] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:15.781142] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:15.781241] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session born(ss_id=34087, server_ip={172.20.2.118:2881}, cs_id=2147534495, proxy_sessid=0, server_type=1) [2022-07-29 14:24:15.781672] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534495, proxy_sessid=12399538384371156263, server_ip={172.20.2.118:2881}, ss_id=34087, server_sessid=3222023362, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41180") [2022-07-29 14:24:15.783560] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51142, cs_id=2147534495, proxy_sessid=12399538384371156263, ss_id=34087, server_sessid=3222023362, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:15.783618] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51142, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:15.783629] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:15.783633] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51142, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:15.783642] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34087, server_sessid:3222023362, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534495, proxy_sessid:12399538384371156263, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534495, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:15.783749] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] server session is closing(ss_id=34087, server_sessid=3222023362, server_ip={172.20.2.118:2881}, cs_id=2147534495, proxy_sessid=12399538384371156263) [2022-07-29 14:24:15.783777] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534495, proxy_sessid=12399538384371156263, client_vc=NULL) [2022-07-29 14:24:15.783790] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51142) [2022-07-29 14:24:15.783807] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:15.783813] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:15.783818] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:15.783826] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:15.783833] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:15.783838] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:15.783845] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:15.783850] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:15.783986] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:15.784003] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:15.784043] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534496) [2022-07-29 14:24:15.784051] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534496, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:15.784068] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534496, get_transact_count()=0, sm_id=51143) [2022-07-29 14:24:15.784074] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:15.784120] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:15.784198] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session born(ss_id=34088, server_ip={172.20.2.118:2881}, cs_id=2147534496, proxy_sessid=0, server_type=1) [2022-07-29 14:24:15.784521] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534496, proxy_sessid=12399538384371156264, server_ip={172.20.2.118:2881}, ss_id=34088, server_sessid=3222023363, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41182") [2022-07-29 14:24:15.786506] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51143, cs_id=2147534496, proxy_sessid=12399538384371156264, ss_id=34088, server_sessid=3222023363, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:15.786556] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51143, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:15.786563] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:15.786566] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51143, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:15.786573] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34088, server_sessid:3222023363, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534496, proxy_sessid:12399538384371156264, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534496, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:15.786668] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] server session is closing(ss_id=34088, server_sessid=3222023363, server_ip={172.20.2.118:2881}, cs_id=2147534496, proxy_sessid=12399538384371156264) [2022-07-29 14:24:15.786687] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534496, proxy_sessid=12399538384371156264, client_vc=NULL) [2022-07-29 14:24:15.786697] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51143) [2022-07-29 14:24:15.786715] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:15.786721] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:15.786726] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:15.786733] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:15.786739] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:15.786744] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:15.786752] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17045, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075855783604435, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:15.786771] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17045, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075855783604435, server_state_version:0}) [2022-07-29 14:24:15.786791] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:15.786815] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:15.786855] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17045, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075855783604435, server_state_version:0}) [2022-07-29 14:24:15.786874] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:15.786973] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:24:15.786988] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] data is NULL(sm_id=51141, ret=-4152) [2022-07-29 14:24:15.786993] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:15.786998] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51141, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:15.787030] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=50846, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:15.787020] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF1691B1510] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:15.787051] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51141) [2022-07-29 14:24:15.787052] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:15.787077] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:15.787105] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:15.787129] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:15.787136] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:20.462041] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=65] [dc=0] connection accepted(client={172.20.2.46:51026}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:24:20.462227] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51026}) [2022-07-29 14:24:20.462306] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client session born(cs_id=50849, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51026") [2022-07-29 14:24:20.462349] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=50849, get_transact_count()=0, sm_id=51144) [2022-07-29 14:24:20.462366] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:20.536087] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:20.536123] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51026}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:20.536144] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:20.536155] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:20.536178] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:24:20.536189] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17046) [2022-07-29 14:24:20.536363] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075860536352, last_valid_time_us:1659075860536167, last_access_time_us:1659075860536167, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:20.536438] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:20.536474] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534498) [2022-07-29 14:24:20.536496] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] client session born(cs_id=2147534498, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:20.536521] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534498, get_transact_count()=0, sm_id=51145) [2022-07-29 14:24:20.536541] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:20.536622] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:20.536746] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34089, server_ip={172.20.2.118:2881}, cs_id=2147534498, proxy_sessid=0, server_type=1) [2022-07-29 14:24:20.537300] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534498, proxy_sessid=12399538384371156265, server_ip={172.20.2.118:2881}, ss_id=34089, server_sessid=3222023364, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41184") [2022-07-29 14:24:20.538776] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] finishing mysql tunnel((sm_id=51145, cs_id=2147534498, proxy_sessid=12399538384371156265, ss_id=34089, server_sessid=3222023364, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:20.538851] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51145, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:20.538860] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:20.538865] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51145, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:20.538903] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] server session do_io_close((*this={ss_id:34089, server_sessid:3222023364, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534498, proxy_sessid:12399538384371156265, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534498, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:20.539036] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=127] [dc=0] server session is closing(ss_id=34089, server_sessid=3222023364, server_ip={172.20.2.118:2881}, cs_id=2147534498, proxy_sessid=12399538384371156265) [2022-07-29 14:24:20.539062] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534498, proxy_sessid=12399538384371156265, client_vc=NULL) [2022-07-29 14:24:20.539080] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51145) [2022-07-29 14:24:20.539094] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:20.539109] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:20.539115] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:20.539125] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:20.539132] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:20.539138] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:20.539145] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:20.539150] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:20.539329] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:20.539368] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:20.539409] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] proxy mysql client session born(cs_id=2147534499) [2022-07-29 14:24:20.539437] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534499, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:20.539485] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] Starting new transaction using sm(cs_id=2147534499, get_transact_count()=0, sm_id=51146) [2022-07-29 14:24:20.539511] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:20.539597] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:20.539743] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] server session born(ss_id=34090, server_ip={172.20.2.118:2881}, cs_id=2147534499, proxy_sessid=0, server_type=1) [2022-07-29 14:24:20.540129] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534499, proxy_sessid=12399538384371156266, server_ip={172.20.2.118:2881}, ss_id=34090, server_sessid=3222023365, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41186") [2022-07-29 14:24:20.541632] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51146, cs_id=2147534499, proxy_sessid=12399538384371156266, ss_id=34090, server_sessid=3222023365, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:20.541742] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51146, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:20.541765] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:20.541809] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51146, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:20.541838] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session do_io_close((*this={ss_id:34090, server_sessid:3222023365, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534499, proxy_sessid:12399538384371156266, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534499, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:20.542045] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=200] [dc=0] server session is closing(ss_id=34090, server_sessid=3222023365, server_ip={172.20.2.118:2881}, cs_id=2147534499, proxy_sessid=12399538384371156266) [2022-07-29 14:24:20.542080] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534499, proxy_sessid=12399538384371156266, client_vc=NULL) [2022-07-29 14:24:20.542111] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51146) [2022-07-29 14:24:20.542127] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:20.542166] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:20.542186] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:20.542198] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:20.542220] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:20.542231] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:20.542258] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17046, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075860538961862, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:20.542291] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17046, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075860538961862, server_state_version:0}) [2022-07-29 14:24:20.542337] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:20.542376] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:20.542425] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17046, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075860538961862, server_state_version:0}) [2022-07-29 14:24:20.542459] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:20.542614] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:24:20.542632] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] data is NULL(sm_id=51144, ret=-4152) [2022-07-29 14:24:20.542643] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:20.542652] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51144, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:20.542728] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50849, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:20.542719] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF169450A00] [lt=14] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:20.542752] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:20.542777] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51144) [2022-07-29 14:24:20.542794] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=40] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:20.542810] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:20.542823] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:20.542829] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:25.608250] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=48] [dc=0] connection accepted(client={172.20.2.46:51028}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:24:25.608377] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51028}) [2022-07-29 14:24:25.608435] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=50852, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51028") [2022-07-29 14:24:25.608482] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50852, get_transact_count()=0, sm_id=51147) [2022-07-29 14:24:25.608517] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:25.692215] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:25.692240] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client login audit(client_addr={172.20.2.46:51028}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:25.692262] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:25.692271] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:25.692281] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:24:25.692290] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17047) [2022-07-29 14:24:25.692431] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075865692423, last_valid_time_us:1659075865692280, last_access_time_us:1659075865692280, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:25.692495] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:25.692528] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534501) [2022-07-29 14:24:25.692538] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534501, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:25.692559] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534501, get_transact_count()=0, sm_id=51148) [2022-07-29 14:24:25.692569] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:25.692636] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:25.692748] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session born(ss_id=34091, server_ip={172.20.2.116:2881}, cs_id=2147534501, proxy_sessid=0, server_type=1) [2022-07-29 14:24:25.698559] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534501, proxy_sessid=12399538384371156267, server_ip={172.20.2.116:2881}, ss_id=34091, server_sessid=3221673692, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36168") [2022-07-29 14:24:25.705578] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=63] [dc=0] finishing mysql tunnel((sm_id=51148, cs_id=2147534501, proxy_sessid=12399538384371156267, ss_id=34091, server_sessid=3221673692, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:25.705680] INFO [PROXY.SM] ob_mysql_sm.cpp:8240 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] Slow Query: ((client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, obproxy_client_port={172.20.2.119:36168}, server_trace_id=, route_type=ROUTE_TYPE_NONPARTITION_UNMERGE_LOCAL, user_name=proxyro, tenant_name=sys, cluster_name=ob_cluster, logic_database_name=, logic_tenant_name=, ob_proxy_protocol=0, cs_id=2147534501, proxy_sessid=12399538384371156267, ss_id=34091, server_sessid=3221673692, sm_id=51148, cmd_size_stats={client_request_bytes:74, server_request_bytes:262, server_response_bytes:84, client_response_bytes:84}, cmd_time_stats={client_transaction_idle_time_us=8, client_request_read_time_us=4, client_request_analyze_time_us=4, cluster_resource_create_time_us=0, pl_lookup_time_us=14, pl_process_time_us=37, congestion_control_time_us=0, congestion_process_time_us=0, do_observer_open_time_us=92, server_connect_time_us=60, server_sync_session_variable_time_us=0, server_send_saved_login_time_us=0, server_send_use_database_time_us=0, server_send_session_variable_time_us=0, server_send_all_session_variable_time_us=0, server_send_last_insert_id_time_us=0, server_send_start_trans_time_us=0, build_server_request_time_us=2, plugin_compress_request_time_us=0, prepare_send_request_to_server_time_us=6055, server_request_write_time_us=31, server_process_request_time_us=6768, server_response_read_time_us=7, plugin_decompress_response_time_us=0, server_response_analyze_time_us=10, ok_packet_trim_time_us=0, client_response_write_time_us=170, request_total_time_us=13066}, sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:25.705855] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51148, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:25.705866] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:25.705873] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51148, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:25.705890] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34091, server_sessid:3221673692, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534501, proxy_sessid:12399538384371156267, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534501, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:25.706232] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=332] [dc=0] server session is closing(ss_id=34091, server_sessid=3221673692, server_ip={172.20.2.116:2881}, cs_id=2147534501, proxy_sessid=12399538384371156267) [2022-07-29 14:24:25.706274] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534501, proxy_sessid=12399538384371156267, client_vc=NULL) [2022-07-29 14:24:25.706298] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51148) [2022-07-29 14:24:25.706319] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:25.706330] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:25.706338] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:25.706350] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:25.706360] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:25.706370] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:25.706381] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:25.706389] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:25.706576] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:25.706603] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:25.706640] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534502) [2022-07-29 14:24:25.706656] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=2147534502, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:25.706696] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534502, get_transact_count()=0, sm_id=51149) [2022-07-29 14:24:25.706721] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:25.706814] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:25.707011] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34092, server_ip={172.20.2.117:2881}, cs_id=2147534502, proxy_sessid=0, server_type=1) [2022-07-29 14:24:25.707514] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534502, proxy_sessid=12399538384371156268, server_ip={172.20.2.117:2881}, ss_id=34092, server_sessid=3221755152, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44236") [2022-07-29 14:24:25.708749] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51149, cs_id=2147534502, proxy_sessid=12399538384371156268, ss_id=34092, server_sessid=3221755152, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:25.708855] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51149, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:25.708865] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:25.708872] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51149, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:25.708886] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34092, server_sessid:3221755152, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534502, proxy_sessid:12399538384371156268, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534502, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:25.709090] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=197] [dc=0] server session is closing(ss_id=34092, server_sessid=3221755152, server_ip={172.20.2.117:2881}, cs_id=2147534502, proxy_sessid=12399538384371156268) [2022-07-29 14:24:25.709123] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534502, proxy_sessid=12399538384371156268, client_vc=NULL) [2022-07-29 14:24:25.709141] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51149) [2022-07-29 14:24:25.709157] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:25.709167] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:25.709175] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:25.709186] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:25.709209] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:25.709220] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:25.709239] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17047, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075865706353503, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:25.709260] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17047, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075865706353503, server_state_version:0}) [2022-07-29 14:24:25.709297] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:25.709334] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:25.709373] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17047, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075865706353503, server_state_version:0}) [2022-07-29 14:24:25.709408] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:25.709561] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:24:25.709587] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51147, ret=-4152) [2022-07-29 14:24:25.709603] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:25.709599] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B1510] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:25.709613] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51147, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:25.709627] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:25.709649] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:25.709661] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:25.709673] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:25.709678] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:25.709687] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=50852, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:25.709726] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51147) [2022-07-29 14:24:30.565619] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=68] [dc=0] connection accepted(client={172.20.2.46:51034}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:24:30.565752] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51034}) [2022-07-29 14:24:30.565793] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session born(cs_id=50855, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51034") [2022-07-29 14:24:30.565820] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=50855, get_transact_count()=0, sm_id=51150) [2022-07-29 14:24:30.565847] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:30.645236] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:30.645273] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] client login audit(client_addr={172.20.2.46:51034}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:30.645292] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:30.645302] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:30.645315] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:24:30.645324] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17048) [2022-07-29 14:24:30.645474] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075870645465, last_valid_time_us:1659075870645313, last_access_time_us:1659075870645313, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:30.645538] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:30.645571] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534504) [2022-07-29 14:24:30.645590] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session born(cs_id=2147534504, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:30.645613] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534504, get_transact_count()=0, sm_id=51151) [2022-07-29 14:24:30.645625] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:30.645709] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:30.645830] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session born(ss_id=34093, server_ip={172.20.2.118:2881}, cs_id=2147534504, proxy_sessid=0, server_type=1) [2022-07-29 14:24:30.646374] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534504, proxy_sessid=12399538384371156269, server_ip={172.20.2.118:2881}, ss_id=34093, server_sessid=3222023366, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41192") [2022-07-29 14:24:30.648509] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] finishing mysql tunnel((sm_id=51151, cs_id=2147534504, proxy_sessid=12399538384371156269, ss_id=34093, server_sessid=3222023366, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:30.648640] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51151, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:30.648652] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:30.648660] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51151, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:30.648675] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34093, server_sessid:3222023366, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534504, proxy_sessid:12399538384371156269, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534504, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:30.648876] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=192] [dc=0] server session is closing(ss_id=34093, server_sessid=3222023366, server_ip={172.20.2.118:2881}, cs_id=2147534504, proxy_sessid=12399538384371156269) [2022-07-29 14:24:30.648915] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534504, proxy_sessid=12399538384371156269, client_vc=NULL) [2022-07-29 14:24:30.648971] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] deallocating sm(sm_id=51151) [2022-07-29 14:24:30.648991] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:30.649013] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:30.649023] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:30.649036] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:30.649052] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:30.649064] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:30.649081] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:30.649089] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:30.649210] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:30.649233] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:30.649263] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534505) [2022-07-29 14:24:30.649289] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534505, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:30.649323] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534505, get_transact_count()=0, sm_id=51152) [2022-07-29 14:24:30.649347] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:30.649443] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:30.649598] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34094, server_ip={172.20.2.117:2881}, cs_id=2147534505, proxy_sessid=0, server_type=1) [2022-07-29 14:24:30.650117] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534505, proxy_sessid=12399538384371156270, server_ip={172.20.2.117:2881}, ss_id=34094, server_sessid=3221755155, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44240") [2022-07-29 14:24:30.651251] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51152, cs_id=2147534505, proxy_sessid=12399538384371156270, ss_id=34094, server_sessid=3221755155, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:30.651380] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51152, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:30.651405] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:30.651413] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51152, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:30.651439] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34094, server_sessid:3221755155, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534505, proxy_sessid:12399538384371156270, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534505, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:30.651633] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=185] [dc=0] server session is closing(ss_id=34094, server_sessid=3221755155, server_ip={172.20.2.117:2881}, cs_id=2147534505, proxy_sessid=12399538384371156270) [2022-07-29 14:24:30.651669] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534505, proxy_sessid=12399538384371156270, client_vc=NULL) [2022-07-29 14:24:30.651701] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51152) [2022-07-29 14:24:30.651717] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:30.651744] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:30.651753] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:30.651764] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:30.651775] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:30.651785] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:30.651804] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17048, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075870648617787, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:30.651838] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17048, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075870648617787, server_state_version:0}) [2022-07-29 14:24:30.651885] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:30.651942] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:30.651993] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17048, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075870648617787, server_state_version:0}) [2022-07-29 14:24:30.652029] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:30.652157] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:24:30.652181] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51150, ret=-4152) [2022-07-29 14:24:30.652193] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:30.652202] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51150, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:30.652275] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50855, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:30.652325] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51150) [2022-07-29 14:24:30.652365] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:30.652389] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:30.652417] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:30.652426] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:30.652449] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:30.652456] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:35.692335] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=57] [dc=0] connection accepted(client={172.20.2.46:51036}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:24:35.692448] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51036}) [2022-07-29 14:24:35.692503] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=50858, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51036") [2022-07-29 14:24:35.692546] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=50858, get_transact_count()=0, sm_id=51153) [2022-07-29 14:24:35.692573] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:35.776731] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:35.776771] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51036}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:35.776800] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:35.776814] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:35.776831] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:24:35.776846] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17049) [2022-07-29 14:24:35.777065] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075875777053, last_valid_time_us:1659075875776829, last_access_time_us:1659075875776829, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:35.777170] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:35.777215] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534507) [2022-07-29 14:24:35.777242] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534507, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:35.777283] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534507, get_transact_count()=0, sm_id=51154) [2022-07-29 14:24:35.777304] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:35.777411] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:35.777582] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34095, server_ip={172.20.2.118:2881}, cs_id=2147534507, proxy_sessid=0, server_type=1) [2022-07-29 14:24:35.778093] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534507, proxy_sessid=12399538384371156271, server_ip={172.20.2.118:2881}, ss_id=34095, server_sessid=3222023367, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41196") [2022-07-29 14:24:35.779460] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51154, cs_id=2147534507, proxy_sessid=12399538384371156271, ss_id=34095, server_sessid=3222023367, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:35.779582] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51154, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:35.779604] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:35.779612] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51154, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:35.779637] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34095, server_sessid:3222023367, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534507, proxy_sessid:12399538384371156271, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534507, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:35.779838] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34095, server_sessid=3222023367, server_ip={172.20.2.118:2881}, cs_id=2147534507, proxy_sessid=12399538384371156271) [2022-07-29 14:24:35.779879] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534507, proxy_sessid=12399538384371156271, client_vc=NULL) [2022-07-29 14:24:35.779912] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51154) [2022-07-29 14:24:35.779953] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:35.779963] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:35.779971] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:35.779983] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:35.779993] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:35.780003] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:35.780014] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:35.780020] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:35.780148] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:35.780170] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:35.780204] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534508) [2022-07-29 14:24:35.780227] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=2147534508, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:35.780263] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534508, get_transact_count()=0, sm_id=51155) [2022-07-29 14:24:35.780286] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:35.780381] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:35.780531] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34096, server_ip={172.20.2.117:2881}, cs_id=2147534508, proxy_sessid=0, server_type=1) [2022-07-29 14:24:35.781037] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534508, proxy_sessid=12399538384371156272, server_ip={172.20.2.117:2881}, ss_id=34096, server_sessid=3221755158, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44244") [2022-07-29 14:24:35.782345] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51155, cs_id=2147534508, proxy_sessid=12399538384371156272, ss_id=34096, server_sessid=3221755158, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:35.782462] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51155, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:35.782488] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:35.782496] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51155, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:35.782522] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34096, server_sessid:3221755158, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534508, proxy_sessid:12399538384371156272, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534508, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:35.782715] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=183] [dc=0] server session is closing(ss_id=34096, server_sessid=3221755158, server_ip={172.20.2.117:2881}, cs_id=2147534508, proxy_sessid=12399538384371156272) [2022-07-29 14:24:35.782767] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client session destroy(cs_id=2147534508, proxy_sessid=12399538384371156272, client_vc=NULL) [2022-07-29 14:24:35.782804] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51155) [2022-07-29 14:24:35.782825] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:35.782835] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:35.782848] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:35.782862] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:35.782883] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:35.782895] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:35.783004] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17049, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075875779556699, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:35.783038] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17049, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075875779556699, server_state_version:0}) [2022-07-29 14:24:35.783085] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:35.783126] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:35.783176] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17049, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075875779556699, server_state_version:0}) [2022-07-29 14:24:35.783199] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:35.783343] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:24:35.783367] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51153, ret=-4152) [2022-07-29 14:24:35.783379] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:35.783375] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1510] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:35.783388] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51153, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:35.783401] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:35.783432] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:35.783444] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:35.783456] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:35.783461] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:35.783476] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50858, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:35.783534] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51153) [2022-07-29 14:24:40.605889] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=78] [dc=0] connection accepted(client={172.20.2.46:51040}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:24:40.606033] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51040}) [2022-07-29 14:24:40.606087] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=50861, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51040") [2022-07-29 14:24:40.606125] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=50861, get_transact_count()=0, sm_id=51156) [2022-07-29 14:24:40.606143] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:40.683815] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:40.683857] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51040}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:40.683883] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:40.683896] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:40.683911] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:24:40.683942] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17050) [2022-07-29 14:24:40.684127] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075880684116, last_valid_time_us:1659075880683910, last_access_time_us:1659075880683910, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:40.684225] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:40.684268] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534510) [2022-07-29 14:24:40.684294] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534510, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:40.684332] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534510, get_transact_count()=0, sm_id=51157) [2022-07-29 14:24:40.684358] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:40.684456] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:40.684610] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] server session born(ss_id=34097, server_ip={172.20.2.118:2881}, cs_id=2147534510, proxy_sessid=0, server_type=1) [2022-07-29 14:24:40.685247] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534510, proxy_sessid=12399538384371156273, server_ip={172.20.2.118:2881}, ss_id=34097, server_sessid=3222023368, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41200") [2022-07-29 14:24:40.687136] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] finishing mysql tunnel((sm_id=51157, cs_id=2147534510, proxy_sessid=12399538384371156273, ss_id=34097, server_sessid=3222023368, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:40.687243] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51157, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:40.687265] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:40.687273] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51157, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:40.687298] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34097, server_sessid:3222023368, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534510, proxy_sessid:12399538384371156273, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534510, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:40.687469] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=162] [dc=0] server session is closing(ss_id=34097, server_sessid=3222023368, server_ip={172.20.2.118:2881}, cs_id=2147534510, proxy_sessid=12399538384371156273) [2022-07-29 14:24:40.687513] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534510, proxy_sessid=12399538384371156273, client_vc=NULL) [2022-07-29 14:24:40.687547] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51157) [2022-07-29 14:24:40.687576] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:40.687596] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:40.687605] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:40.687617] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:40.687637] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:40.687648] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:40.687659] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:40.687665] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:40.687812] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:40.687835] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:40.687866] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534511) [2022-07-29 14:24:40.687889] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534511, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:40.687940] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534511, get_transact_count()=0, sm_id=51158) [2022-07-29 14:24:40.687965] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:40.688040] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:40.688167] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] server session born(ss_id=34098, server_ip={172.20.2.117:2881}, cs_id=2147534511, proxy_sessid=0, server_type=1) [2022-07-29 14:24:40.688562] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534511, proxy_sessid=12399538384371156274, server_ip={172.20.2.117:2881}, ss_id=34098, server_sessid=3221755161, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44248") [2022-07-29 14:24:40.689773] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51158, cs_id=2147534511, proxy_sessid=12399538384371156274, ss_id=34098, server_sessid=3221755161, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:40.689880] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=82] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51158, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:40.689897] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:40.689903] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51158, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:40.689965] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34098, server_sessid:3221755161, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534511, proxy_sessid:12399538384371156274, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534511, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:40.690144] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=171] [dc=0] server session is closing(ss_id=34098, server_sessid=3221755161, server_ip={172.20.2.117:2881}, cs_id=2147534511, proxy_sessid=12399538384371156274) [2022-07-29 14:24:40.690176] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534511, proxy_sessid=12399538384371156274, client_vc=NULL) [2022-07-29 14:24:40.690206] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51158) [2022-07-29 14:24:40.690232] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:40.690242] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:40.690250] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:40.690260] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:40.690281] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:40.690291] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:40.690304] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17050, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075880687370315, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:40.690334] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17050, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075880687370315, server_state_version:0}) [2022-07-29 14:24:40.690376] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:40.690412] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:40.690457] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17050, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075880687370315, server_state_version:0}) [2022-07-29 14:24:40.690487] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:40.690608] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:24:40.690630] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51156, ret=-4152) [2022-07-29 14:24:40.690640] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:40.690650] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51156, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:40.690661] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF169450940] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:40.690695] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:40.690719] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50861, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:40.690732] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:40.690754] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51156) [2022-07-29 14:24:40.690747] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:40.690762] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:40.690769] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:46.204684] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=50] [dc=0] connection accepted(client={172.20.2.46:51042}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:24:46.204801] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51042}) [2022-07-29 14:24:46.204854] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=50864, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51042") [2022-07-29 14:24:46.204897] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=50864, get_transact_count()=0, sm_id=51159) [2022-07-29 14:24:46.204977] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:46.296105] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:46.296134] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51042}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:46.296153] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:46.296175] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:46.296191] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:24:46.296205] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17051) [2022-07-29 14:24:46.296377] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075886296367, last_valid_time_us:1659075886296278, last_access_time_us:1659075886296278, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:46.296470] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:46.296510] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534513) [2022-07-29 14:24:46.296536] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534513, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:46.296564] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534513, get_transact_count()=0, sm_id=51160) [2022-07-29 14:24:46.296589] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:46.296683] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:46.296832] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] server session born(ss_id=34099, server_ip={172.20.2.117:2881}, cs_id=2147534513, proxy_sessid=0, server_type=1) [2022-07-29 14:24:46.297328] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534513, proxy_sessid=12399538384371156275, server_ip={172.20.2.117:2881}, ss_id=34099, server_sessid=3221755165, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44250") [2022-07-29 14:24:46.298485] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] finishing mysql tunnel((sm_id=51160, cs_id=2147534513, proxy_sessid=12399538384371156275, ss_id=34099, server_sessid=3221755165, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:46.298617] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51160, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:46.298641] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:46.298649] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51160, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:46.298677] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34099, server_sessid:3221755165, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534513, proxy_sessid:12399538384371156275, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534513, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:46.298890] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=203] [dc=0] server session is closing(ss_id=34099, server_sessid=3221755165, server_ip={172.20.2.117:2881}, cs_id=2147534513, proxy_sessid=12399538384371156275) [2022-07-29 14:24:46.298949] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534513, proxy_sessid=12399538384371156275, client_vc=NULL) [2022-07-29 14:24:46.298987] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] deallocating sm(sm_id=51160) [2022-07-29 14:24:46.299007] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:46.299019] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:46.299027] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:46.299041] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:46.299063] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:46.299075] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:46.299086] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:46.299094] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:46.299218] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:46.299243] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:46.299277] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534514) [2022-07-29 14:24:46.299303] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534514, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:46.299337] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534514, get_transact_count()=0, sm_id=51161) [2022-07-29 14:24:46.299361] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:46.299451] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:46.299632] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] server session born(ss_id=34100, server_ip={172.20.2.118:2881}, cs_id=2147534514, proxy_sessid=0, server_type=1) [2022-07-29 14:24:46.300175] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534514, proxy_sessid=12399538384371156276, server_ip={172.20.2.118:2881}, ss_id=34100, server_sessid=3222023369, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41206") [2022-07-29 14:24:46.302240] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51161, cs_id=2147534514, proxy_sessid=12399538384371156276, ss_id=34100, server_sessid=3222023369, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:46.302345] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51161, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:46.302356] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:46.302369] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51161, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:46.302384] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34100, server_sessid:3222023369, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534514, proxy_sessid:12399538384371156276, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534514, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:46.302572] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] server session is closing(ss_id=34100, server_sessid=3222023369, server_ip={172.20.2.118:2881}, cs_id=2147534514, proxy_sessid=12399538384371156276) [2022-07-29 14:24:46.302605] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534514, proxy_sessid=12399538384371156276, client_vc=NULL) [2022-07-29 14:24:46.302636] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51161) [2022-07-29 14:24:46.302651] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:46.302675] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:46.302683] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:46.302694] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:46.302704] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:46.302714] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:46.302728] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17051, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075886298593117, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:46.302749] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17051, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075886298593117, server_state_version:0}) [2022-07-29 14:24:46.302784] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:46.302822] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:46.302869] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17051, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075886298593117, server_state_version:0}) [2022-07-29 14:24:46.302904] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:46.303053] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:24:46.303077] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51159, ret=-4152) [2022-07-29 14:24:46.303089] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:46.303098] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51159, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:46.303118] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF1691B1510] [lt=4] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:46.303160] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50864, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:46.303149] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:46.303174] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:46.303189] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:46.303208] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51159) [2022-07-29 14:24:46.303219] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:46.303227] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:51.848614] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=85] [dc=0] connection accepted(client={172.20.2.46:51046}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:24:51.848779] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51046}) [2022-07-29 14:24:51.848872] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] client session born(cs_id=50867, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51046") [2022-07-29 14:24:51.848998] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=95] [dc=0] Starting new transaction using sm(cs_id=50867, get_transact_count()=0, sm_id=51162) [2022-07-29 14:24:51.849043] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:51.933752] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:51.933780] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client login audit(client_addr={172.20.2.46:51046}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:51.933798] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:51.933806] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:51.933818] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:24:51.933828] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17052) [2022-07-29 14:24:51.933995] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075891933987, last_valid_time_us:1659075891933827, last_access_time_us:1659075891933827, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:51.934061] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:51.934097] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534516) [2022-07-29 14:24:51.934107] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534516, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:51.934129] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534516, get_transact_count()=0, sm_id=51163) [2022-07-29 14:24:51.934144] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:51.934216] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:51.934353] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] server session born(ss_id=34101, server_ip={172.20.2.116:2881}, cs_id=2147534516, proxy_sessid=0, server_type=1) [2022-07-29 14:24:51.934803] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534516, proxy_sessid=12399538384371156277, server_ip={172.20.2.116:2881}, ss_id=34101, server_sessid=3221673934, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36188") [2022-07-29 14:24:51.936226] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51163, cs_id=2147534516, proxy_sessid=12399538384371156277, ss_id=34101, server_sessid=3221673934, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:51.936323] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51163, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:51.936353] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:51.936360] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51163, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:51.936374] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34101, server_sessid:3221673934, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534516, proxy_sessid:12399538384371156277, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534516, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:51.936544] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=162] [dc=0] server session is closing(ss_id=34101, server_sessid=3221673934, server_ip={172.20.2.116:2881}, cs_id=2147534516, proxy_sessid=12399538384371156277) [2022-07-29 14:24:51.936577] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534516, proxy_sessid=12399538384371156277, client_vc=NULL) [2022-07-29 14:24:51.936597] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51163) [2022-07-29 14:24:51.936614] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:51.936636] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:51.936644] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:51.936655] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:51.936665] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:51.936674] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:51.936683] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:51.936690] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:51.936833] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:51.936855] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:51.936883] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534517) [2022-07-29 14:24:51.936906] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534517, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:51.936954] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] Starting new transaction using sm(cs_id=2147534517, get_transact_count()=0, sm_id=51164) [2022-07-29 14:24:51.936965] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:51.937046] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:51.937168] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34102, server_ip={172.20.2.117:2881}, cs_id=2147534517, proxy_sessid=0, server_type=1) [2022-07-29 14:24:51.937418] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534517, proxy_sessid=12399538384371156278, server_ip={172.20.2.117:2881}, ss_id=34102, server_sessid=3221755168, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44256") [2022-07-29 14:24:51.938287] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] finishing mysql tunnel((sm_id=51164, cs_id=2147534517, proxy_sessid=12399538384371156278, ss_id=34102, server_sessid=3221755168, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:51.938355] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51164, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:51.938365] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:51.938369] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51164, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:51.938378] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34102, server_sessid:3221755168, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534517, proxy_sessid:12399538384371156278, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534517, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:51.938488] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] server session is closing(ss_id=34102, server_sessid=3221755168, server_ip={172.20.2.117:2881}, cs_id=2147534517, proxy_sessid=12399538384371156278) [2022-07-29 14:24:51.938509] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534517, proxy_sessid=12399538384371156278, client_vc=NULL) [2022-07-29 14:24:51.938529] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] deallocating sm(sm_id=51164) [2022-07-29 14:24:51.938539] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:51.938553] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:51.938559] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:51.938565] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:51.938571] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:51.938578] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:51.938587] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17052, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075891936302848, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:51.938599] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17052, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075891936302848, server_state_version:0}) [2022-07-29 14:24:51.938622] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:51.938648] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:51.938682] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17052, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075891936302848, server_state_version:0}) [2022-07-29 14:24:51.938703] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:51.938804] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:24:51.938820] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51162, ret=-4152) [2022-07-29 14:24:51.938827] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:51.938832] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51162, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:51.938870] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=50867, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:51.938866] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:51.938894] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51162) [2022-07-29 14:24:51.938911] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:51.938970] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=57] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:51.939005] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=29] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:51.939028] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:51.939035] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:56.960645] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51048}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:24:56.960770] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51048}) [2022-07-29 14:24:56.960828] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session born(cs_id=50870, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51048") [2022-07-29 14:24:56.960869] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=50870, get_transact_count()=0, sm_id=51165) [2022-07-29 14:24:56.960889] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:57.047265] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:24:57.047302] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51048}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:24:57.047330] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:24:57.047344] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:57.047360] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:24:57.047373] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17053) [2022-07-29 14:24:57.047568] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075897047557, last_valid_time_us:1659075897047363, last_access_time_us:1659075897047363, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:24:57.047661] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:57.047710] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534519) [2022-07-29 14:24:57.047739] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534519, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:57.047778] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534519, get_transact_count()=0, sm_id=51166) [2022-07-29 14:24:57.047804] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:57.047911] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:57.048086] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] server session born(ss_id=34103, server_ip={172.20.2.118:2881}, cs_id=2147534519, proxy_sessid=0, server_type=1) [2022-07-29 14:24:57.048595] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534519, proxy_sessid=12399538384371156279, server_ip={172.20.2.118:2881}, ss_id=34103, server_sessid=3222023370, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41212") [2022-07-29 14:24:57.050381] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51166, cs_id=2147534519, proxy_sessid=12399538384371156279, ss_id=34103, server_sessid=3222023370, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:57.050494] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51166, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:57.050505] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:57.050511] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51166, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:57.050525] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34103, server_sessid:3222023370, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534519, proxy_sessid:12399538384371156279, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534519, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:24:57.050692] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=159] [dc=0] server session is closing(ss_id=34103, server_sessid=3222023370, server_ip={172.20.2.118:2881}, cs_id=2147534519, proxy_sessid=12399538384371156279) [2022-07-29 14:24:57.050726] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534519, proxy_sessid=12399538384371156279, client_vc=NULL) [2022-07-29 14:24:57.050759] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51166) [2022-07-29 14:24:57.050791] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:57.050801] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:57.050808] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:57.050820] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:57.050830] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:57.050841] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:57.050861] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:24:57.050869] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:57.050951] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:24:57.050972] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:24:57.051000] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534520) [2022-07-29 14:24:57.051023] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534520, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:24:57.051046] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534520, get_transact_count()=0, sm_id=51167) [2022-07-29 14:24:57.051057] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:24:57.051129] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:24:57.051252] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34104, server_ip={172.20.2.118:2881}, cs_id=2147534520, proxy_sessid=0, server_type=1) [2022-07-29 14:24:57.051637] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534520, proxy_sessid=12399538384371156280, server_ip={172.20.2.118:2881}, ss_id=34104, server_sessid=3222023371, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41214") [2022-07-29 14:24:57.053336] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] finishing mysql tunnel((sm_id=51167, cs_id=2147534520, proxy_sessid=12399538384371156280, ss_id=34104, server_sessid=3222023371, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:24:57.053404] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51167, client_vc=0x7ff1684bb5e0) [2022-07-29 14:24:57.053411] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:24:57.053414] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51167, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:24:57.053422] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34104, server_sessid:3222023371, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534520, proxy_sessid:12399538384371156280, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534520, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:24:57.053530] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] server session is closing(ss_id=34104, server_sessid=3222023371, server_ip={172.20.2.118:2881}, cs_id=2147534520, proxy_sessid=12399538384371156280) [2022-07-29 14:24:57.053549] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534520, proxy_sessid=12399538384371156280, client_vc=NULL) [2022-07-29 14:24:57.053559] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51167) [2022-07-29 14:24:57.053568] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:24:57.053573] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:24:57.053578] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:24:57.053584] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:24:57.053590] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:24:57.053596] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:24:57.053604] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17053, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075897050473888, server_state_version:0}, pending_list_count=0) [2022-07-29 14:24:57.053623] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17053, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075897050473888, server_state_version:0}) [2022-07-29 14:24:57.053643] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:57.053659] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:24:57.053694] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17053, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075897050473888, server_state_version:0}) [2022-07-29 14:24:57.053713] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:24:57.053809] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:24:57.053823] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] data is NULL(sm_id=51165, ret=-4152) [2022-07-29 14:24:57.053830] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:24:57.053835] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51165, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:24:57.053830] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF1691B1510] [lt=16] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:24:57.053848] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:57.053859] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:24:57.053865] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:24:57.053871] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:24:57.053870] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=50870, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:24:57.053873] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:24:57.053892] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51165) [2022-07-29 14:25:01.841863] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51054}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:25:01.841986] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51054}) [2022-07-29 14:25:01.842077] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] client session born(cs_id=50873, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51054") [2022-07-29 14:25:01.842126] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=50873, get_transact_count()=0, sm_id=51168) [2022-07-29 14:25:01.842153] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:01.930093] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:01.930128] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] client login audit(client_addr={172.20.2.46:51054}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:01.930153] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:01.930165] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:01.930182] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:25:01.930195] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17054) [2022-07-29 14:25:01.930373] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075901930362, last_valid_time_us:1659075901930285, last_access_time_us:1659075901930285, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:01.930463] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:01.930505] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534522) [2022-07-29 14:25:01.930533] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534522, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:01.930560] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534522, get_transact_count()=0, sm_id=51169) [2022-07-29 14:25:01.930573] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:01.930668] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:01.930821] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] server session born(ss_id=34105, server_ip={172.20.2.116:2881}, cs_id=2147534522, proxy_sessid=0, server_type=1) [2022-07-29 14:25:01.931251] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534522, proxy_sessid=12399538384371156281, server_ip={172.20.2.116:2881}, ss_id=34105, server_sessid=3221674031, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36196") [2022-07-29 14:25:01.932530] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51169, cs_id=2147534522, proxy_sessid=12399538384371156281, ss_id=34105, server_sessid=3221674031, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:01.932581] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51169, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:01.932587] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:01.932590] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51169, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:01.932599] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34105, server_sessid:3221674031, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534522, proxy_sessid:12399538384371156281, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534522, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:01.932693] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] server session is closing(ss_id=34105, server_sessid=3221674031, server_ip={172.20.2.116:2881}, cs_id=2147534522, proxy_sessid=12399538384371156281) [2022-07-29 14:25:01.932712] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534522, proxy_sessid=12399538384371156281, client_vc=NULL) [2022-07-29 14:25:01.932723] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51169) [2022-07-29 14:25:01.932734] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:01.932748] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:01.932753] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:01.932760] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:01.932765] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:01.932776] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:01.932782] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:01.932786] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:01.932898] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:01.932913] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:01.932940] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] proxy mysql client session born(cs_id=2147534523) [2022-07-29 14:25:01.932947] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534523, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:01.932966] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534523, get_transact_count()=0, sm_id=51170) [2022-07-29 14:25:01.932975] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:01.933013] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:01.933089] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] server session born(ss_id=34106, server_ip={172.20.2.118:2881}, cs_id=2147534523, proxy_sessid=0, server_type=1) [2022-07-29 14:25:01.933574] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534523, proxy_sessid=12399538384371156282, server_ip={172.20.2.118:2881}, ss_id=34106, server_sessid=3222023372, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41218") [2022-07-29 14:25:01.935020] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=131] [dc=0] finishing mysql tunnel((sm_id=51170, cs_id=2147534523, proxy_sessid=12399538384371156282, ss_id=34106, server_sessid=3222023372, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:01.935119] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51170, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:01.935132] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:01.935137] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51170, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:01.935148] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34106, server_sessid:3222023372, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534523, proxy_sessid:12399538384371156282, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534523, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:01.935279] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=125] [dc=0] server session is closing(ss_id=34106, server_sessid=3222023372, server_ip={172.20.2.118:2881}, cs_id=2147534523, proxy_sessid=12399538384371156282) [2022-07-29 14:25:01.935303] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534523, proxy_sessid=12399538384371156282, client_vc=NULL) [2022-07-29 14:25:01.935326] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] deallocating sm(sm_id=51170) [2022-07-29 14:25:01.935338] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:01.935354] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:01.935361] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:01.935369] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:01.935376] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:01.935383] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:01.935393] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17054, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075901932569596, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:01.935412] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17054, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075901932569596, server_state_version:0}) [2022-07-29 14:25:01.935475] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:01.935505] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:01.935532] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17054, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075901932569596, server_state_version:0}) [2022-07-29 14:25:01.935547] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:01.935646] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:25:01.935663] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] data is NULL(sm_id=51168, ret=-4152) [2022-07-29 14:25:01.935666] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:01.935671] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:01.935676] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:01.935678] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51168, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:01.935685] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=8] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:01.935690] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:01.935695] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:01.935698] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:01.935722] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=50873, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:01.935749] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51168) [2022-07-29 14:25:06.841199] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=42] [dc=0] connection accepted(client={172.20.2.46:51056}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:25:06.841368] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51056}) [2022-07-29 14:25:06.841471] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] client session born(cs_id=50876, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51056") [2022-07-29 14:25:06.841518] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50876, get_transact_count()=0, sm_id=51171) [2022-07-29 14:25:06.841552] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:06.925566] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:06.925617] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] client login audit(client_addr={172.20.2.46:51056}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:06.925643] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:06.925655] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:06.925673] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:25:06.925685] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17055) [2022-07-29 14:25:06.925862] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075906925851, last_valid_time_us:1659075906925671, last_access_time_us:1659075906925671, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:06.926011] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=146] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:06.926058] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534525) [2022-07-29 14:25:06.926094] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client session born(cs_id=2147534525, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:06.926132] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] Starting new transaction using sm(cs_id=2147534525, get_transact_count()=0, sm_id=51172) [2022-07-29 14:25:06.926157] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:06.926257] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:06.926411] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] server session born(ss_id=34107, server_ip={172.20.2.118:2881}, cs_id=2147534525, proxy_sessid=0, server_type=1) [2022-07-29 14:25:06.926873] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534525, proxy_sessid=12399538384371156283, server_ip={172.20.2.118:2881}, ss_id=34107, server_sessid=3222023373, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41220") [2022-07-29 14:25:06.928774] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] finishing mysql tunnel((sm_id=51172, cs_id=2147534525, proxy_sessid=12399538384371156283, ss_id=34107, server_sessid=3222023373, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:06.928869] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51172, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:06.928895] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:06.928901] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51172, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:06.928914] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34107, server_sessid:3222023373, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534525, proxy_sessid:12399538384371156283, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534525, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:06.929100] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=179] [dc=0] server session is closing(ss_id=34107, server_sessid=3222023373, server_ip={172.20.2.118:2881}, cs_id=2147534525, proxy_sessid=12399538384371156283) [2022-07-29 14:25:06.929132] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534525, proxy_sessid=12399538384371156283, client_vc=NULL) [2022-07-29 14:25:06.929152] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51172) [2022-07-29 14:25:06.929169] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:06.929177] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:06.929183] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:06.929194] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:06.929202] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:06.929211] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:06.929220] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:06.929230] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:06.929338] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:06.929358] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:06.929385] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534526) [2022-07-29 14:25:06.929406] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534526, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:06.929429] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534526, get_transact_count()=0, sm_id=51173) [2022-07-29 14:25:06.929449] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:06.929515] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:06.929628] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] server session born(ss_id=34108, server_ip={172.20.2.117:2881}, cs_id=2147534526, proxy_sessid=0, server_type=1) [2022-07-29 14:25:06.930194] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534526, proxy_sessid=12399538384371156284, server_ip={172.20.2.117:2881}, ss_id=34108, server_sessid=3221755179, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44268") [2022-07-29 14:25:06.931604] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51173, cs_id=2147534526, proxy_sessid=12399538384371156284, ss_id=34108, server_sessid=3221755179, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:06.931706] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=78] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51173, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:06.931717] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:06.931723] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51173, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:06.931757] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34108, server_sessid:3221755179, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534526, proxy_sessid:12399538384371156284, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534526, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:06.931967] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=157] [dc=0] server session is closing(ss_id=34108, server_sessid=3221755179, server_ip={172.20.2.117:2881}, cs_id=2147534526, proxy_sessid=12399538384371156284) [2022-07-29 14:25:06.931998] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534526, proxy_sessid=12399538384371156284, client_vc=NULL) [2022-07-29 14:25:06.932016] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51173) [2022-07-29 14:25:06.932041] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:06.932055] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:06.932062] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:06.932072] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:06.932081] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:06.932090] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:06.932103] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17055, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075906928978412, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:06.932132] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17055, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075906928978412, server_state_version:0}) [2022-07-29 14:25:06.932172] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:06.932206] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:06.932249] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17055, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075906928978412, server_state_version:0}) [2022-07-29 14:25:06.932280] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:06.932418] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:25:06.932440] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] data is NULL(sm_id=51171, ret=-4152) [2022-07-29 14:25:06.932450] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:06.932458] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51171, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:06.932466] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF1691B1510] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:06.932512] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=50876, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:06.932498] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:06.932521] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:06.932534] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:06.932544] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51171) [2022-07-29 14:25:06.932548] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:06.932555] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:12.042249] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=31] [dc=0] connection accepted(client={172.20.2.46:51060}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:25:12.042438] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51060}) [2022-07-29 14:25:12.042505] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client session born(cs_id=50879, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51060") [2022-07-29 14:25:12.042549] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=50879, get_transact_count()=0, sm_id=51174) [2022-07-29 14:25:12.042579] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:12.128435] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:12.128467] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51060}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:12.128491] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:12.128502] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:12.128517] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:25:12.128529] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17056) [2022-07-29 14:25:12.128702] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075912128691, last_valid_time_us:1659075912128516, last_access_time_us:1659075912128516, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:12.128794] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:12.128832] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534528) [2022-07-29 14:25:12.128855] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534528, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:12.128880] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534528, get_transact_count()=0, sm_id=51175) [2022-07-29 14:25:12.128894] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:12.129018] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:12.129172] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] server session born(ss_id=34109, server_ip={172.20.2.118:2881}, cs_id=2147534528, proxy_sessid=0, server_type=1) [2022-07-29 14:25:12.129634] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534528, proxy_sessid=12399538384371156285, server_ip={172.20.2.118:2881}, ss_id=34109, server_sessid=3222023374, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41224") [2022-07-29 14:25:12.131212] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] finishing mysql tunnel((sm_id=51175, cs_id=2147534528, proxy_sessid=12399538384371156285, ss_id=34109, server_sessid=3222023374, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:12.131266] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51175, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:12.131271] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:12.131274] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51175, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:12.131280] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] server session do_io_close((*this={ss_id:34109, server_sessid:3222023374, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534528, proxy_sessid:12399538384371156285, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534528, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:12.131359] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] server session is closing(ss_id=34109, server_sessid=3222023374, server_ip={172.20.2.118:2881}, cs_id=2147534528, proxy_sessid=12399538384371156285) [2022-07-29 14:25:12.131379] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534528, proxy_sessid=12399538384371156285, client_vc=NULL) [2022-07-29 14:25:12.131395] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51175) [2022-07-29 14:25:12.131408] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:12.131413] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:12.131417] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:12.131423] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:12.131427] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:12.131433] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:12.131437] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:12.131441] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:12.131549] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:12.131561] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:12.131578] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534529) [2022-07-29 14:25:12.131584] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] client session born(cs_id=2147534529, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:12.131613] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534529, get_transact_count()=0, sm_id=51176) [2022-07-29 14:25:12.131619] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:12.131679] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:12.131759] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] server session born(ss_id=34110, server_ip={172.20.2.118:2881}, cs_id=2147534529, proxy_sessid=0, server_type=1) [2022-07-29 14:25:12.132265] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534529, proxy_sessid=12399538384371156286, server_ip={172.20.2.118:2881}, ss_id=34110, server_sessid=3222023375, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41226") [2022-07-29 14:25:12.133541] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] finishing mysql tunnel((sm_id=51176, cs_id=2147534529, proxy_sessid=12399538384371156286, ss_id=34110, server_sessid=3222023375, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:12.133648] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=82] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51176, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:12.133664] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:12.133671] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51176, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:12.133685] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34110, server_sessid:3222023375, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534529, proxy_sessid:12399538384371156286, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534529, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:12.133863] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=170] [dc=0] server session is closing(ss_id=34110, server_sessid=3222023375, server_ip={172.20.2.118:2881}, cs_id=2147534529, proxy_sessid=12399538384371156286) [2022-07-29 14:25:12.133896] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534529, proxy_sessid=12399538384371156286, client_vc=NULL) [2022-07-29 14:25:12.133994] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51176) [2022-07-29 14:25:12.134021] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:12.134035] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:12.134043] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:12.134053] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:12.134063] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:12.134073] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:12.134087] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17056, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075912131250775, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:12.134120] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17056, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075912131250775, server_state_version:0}) [2022-07-29 14:25:12.134154] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:12.134179] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:12.134216] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17056, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075912131250775, server_state_version:0}) [2022-07-29 14:25:12.134247] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:12.134380] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:25:12.134402] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51174, ret=-4152) [2022-07-29 14:25:12.134413] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:12.134421] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51174, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:12.134418] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF169450940] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:12.134447] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:12.134469] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:12.134478] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50879, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:12.134481] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:12.134511] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:12.134515] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51174) [2022-07-29 14:25:12.134519] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:16.805580] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=60] [dc=0] connection accepted(client={172.20.2.46:51062}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:25:16.805684] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51062}) [2022-07-29 14:25:16.805739] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=50882, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51062") [2022-07-29 14:25:16.805778] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=50882, get_transact_count()=0, sm_id=51177) [2022-07-29 14:25:16.805805] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:16.880279] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:16.880329] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] client login audit(client_addr={172.20.2.46:51062}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:16.880361] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:16.880376] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:16.880396] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:25:16.880411] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17057) [2022-07-29 14:25:16.880629] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075916880617, last_valid_time_us:1659075916880394, last_access_time_us:1659075916880394, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:16.880735] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:16.880789] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534531) [2022-07-29 14:25:16.880821] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534531, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:16.880865] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534531, get_transact_count()=0, sm_id=51178) [2022-07-29 14:25:16.880884] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:16.881038] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:16.881222] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34111, server_ip={172.20.2.117:2881}, cs_id=2147534531, proxy_sessid=0, server_type=1) [2022-07-29 14:25:16.881585] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] succ to set proxy_sessid(cs_id=2147534531, proxy_sessid=12399538384371156287, server_ip={172.20.2.117:2881}, ss_id=34111, server_sessid=3221755184, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44274") [2022-07-29 14:25:16.882695] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51178, cs_id=2147534531, proxy_sessid=12399538384371156287, ss_id=34111, server_sessid=3221755184, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:16.882826] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51178, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:16.882838] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:16.882844] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51178, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:16.882859] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34111, server_sessid:3221755184, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534531, proxy_sessid:12399538384371156287, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534531, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:16.883072] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=205] [dc=0] server session is closing(ss_id=34111, server_sessid=3221755184, server_ip={172.20.2.117:2881}, cs_id=2147534531, proxy_sessid=12399538384371156287) [2022-07-29 14:25:16.883110] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534531, proxy_sessid=12399538384371156287, client_vc=NULL) [2022-07-29 14:25:16.883134] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51178) [2022-07-29 14:25:16.883153] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:16.883178] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:16.883189] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:16.883202] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:16.883225] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:16.883237] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:16.883248] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:16.883255] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:16.883379] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:16.883405] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:16.883436] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534532) [2022-07-29 14:25:16.883485] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] client session born(cs_id=2147534532, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:16.883522] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534532, get_transact_count()=0, sm_id=51179) [2022-07-29 14:25:16.883549] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:16.883626] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:16.883756] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34112, server_ip={172.20.2.117:2881}, cs_id=2147534532, proxy_sessid=0, server_type=1) [2022-07-29 14:25:16.884185] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534532, proxy_sessid=12399538384371156288, server_ip={172.20.2.117:2881}, ss_id=34112, server_sessid=3221755185, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44276") [2022-07-29 14:25:16.885207] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] finishing mysql tunnel((sm_id=51179, cs_id=2147534532, proxy_sessid=12399538384371156288, ss_id=34112, server_sessid=3221755185, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:16.885328] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51179, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:16.885353] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:16.885361] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51179, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:16.885388] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34112, server_sessid:3221755185, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534532, proxy_sessid:12399538384371156288, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534532, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:16.885582] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=184] [dc=0] server session is closing(ss_id=34112, server_sessid=3221755185, server_ip={172.20.2.117:2881}, cs_id=2147534532, proxy_sessid=12399538384371156288) [2022-07-29 14:25:16.885616] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534532, proxy_sessid=12399538384371156288, client_vc=NULL) [2022-07-29 14:25:16.885650] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51179) [2022-07-29 14:25:16.885666] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:16.885676] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:16.885684] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:16.885695] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:16.885706] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:16.885714] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:16.885734] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17057, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075916883114472, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:16.885755] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17057, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075916883114472, server_state_version:0}) [2022-07-29 14:25:16.885802] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:16.885840] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:16.885876] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17057, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075916883114472, server_state_version:0}) [2022-07-29 14:25:16.885912] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:16.886137] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:25:16.886163] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] data is NULL(sm_id=51177, ret=-4152) [2022-07-29 14:25:16.886175] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:16.886184] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51177, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:16.886185] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF1691B1510] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:16.886218] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:16.886242] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:16.886247] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50882, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:16.886256] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:16.886269] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:16.886284] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51177) [2022-07-29 14:25:16.886290] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=20] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:21.862671] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51066}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:25:21.862832] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51066}) [2022-07-29 14:25:21.862984] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] client session born(cs_id=50885, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51066") [2022-07-29 14:25:21.863033] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=50885, get_transact_count()=0, sm_id=51180) [2022-07-29 14:25:21.863051] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:21.946118] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:21.946150] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client login audit(client_addr={172.20.2.46:51066}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:21.946174] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:21.946184] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:21.946199] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:25:21.946210] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17058) [2022-07-29 14:25:21.946414] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075921946404, last_valid_time_us:1659075921946329, last_access_time_us:1659075921946329, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:21.946499] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=84] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:21.946543] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534534) [2022-07-29 14:25:21.946567] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534534, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:21.946604] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534534, get_transact_count()=0, sm_id=51181) [2022-07-29 14:25:21.946617] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:21.946710] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:21.946852] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] server session born(ss_id=34113, server_ip={172.20.2.118:2881}, cs_id=2147534534, proxy_sessid=0, server_type=1) [2022-07-29 14:25:21.947368] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534534, proxy_sessid=12399538384371156289, server_ip={172.20.2.118:2881}, ss_id=34113, server_sessid=3222023376, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41232") [2022-07-29 14:25:21.949391] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51181, cs_id=2147534534, proxy_sessid=12399538384371156289, ss_id=34113, server_sessid=3222023376, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:21.949507] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51181, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:21.949540] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:21.949546] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51181, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:21.949558] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34113, server_sessid:3222023376, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534534, proxy_sessid:12399538384371156289, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534534, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:21.949760] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=195] [dc=0] server session is closing(ss_id=34113, server_sessid=3222023376, server_ip={172.20.2.118:2881}, cs_id=2147534534, proxy_sessid=12399538384371156289) [2022-07-29 14:25:21.949790] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534534, proxy_sessid=12399538384371156289, client_vc=NULL) [2022-07-29 14:25:21.949819] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] deallocating sm(sm_id=51181) [2022-07-29 14:25:21.949835] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:21.949854] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:21.949861] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:21.949872] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:21.949880] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:21.949889] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:21.949908] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:21.949914] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:21.950063] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:21.950083] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:21.950109] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534535) [2022-07-29 14:25:21.950119] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534535, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:21.950146] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534535, get_transact_count()=0, sm_id=51182) [2022-07-29 14:25:21.950161] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:21.950224] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:21.950335] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] server session born(ss_id=34114, server_ip={172.20.2.118:2881}, cs_id=2147534535, proxy_sessid=0, server_type=1) [2022-07-29 14:25:21.950784] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] succ to set proxy_sessid(cs_id=2147534535, proxy_sessid=12399538384371156290, server_ip={172.20.2.118:2881}, ss_id=34114, server_sessid=3222023377, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41234") [2022-07-29 14:25:21.952331] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=80] [dc=0] finishing mysql tunnel((sm_id=51182, cs_id=2147534535, proxy_sessid=12399538384371156290, ss_id=34114, server_sessid=3222023377, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:21.952417] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51182, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:21.952430] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:21.952435] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51182, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:21.952447] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34114, server_sessid:3222023377, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534535, proxy_sessid:12399538384371156290, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534535, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:21.952609] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=156] [dc=0] server session is closing(ss_id=34114, server_sessid=3222023377, server_ip={172.20.2.118:2881}, cs_id=2147534535, proxy_sessid=12399538384371156290) [2022-07-29 14:25:21.952635] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534535, proxy_sessid=12399538384371156290, client_vc=NULL) [2022-07-29 14:25:21.952650] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51182) [2022-07-29 14:25:21.952667] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:21.952686] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:21.952693] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:21.952702] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:21.952715] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:21.952723] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:21.952734] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17058, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075921949489022, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:21.952761] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17058, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075921949489022, server_state_version:0}) [2022-07-29 14:25:21.952790] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:21.952810] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:21.952855] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17058, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075921949489022, server_state_version:0}) [2022-07-29 14:25:21.952873] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:21.952974] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:25:21.952994] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] data is NULL(sm_id=51180, ret=-4152) [2022-07-29 14:25:21.953003] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:21.953011] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51180, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:21.953065] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=50885, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:21.953105] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] deallocating sm(sm_id=51180) [2022-07-29 14:25:21.953129] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF169450940] [lt=17] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:21.953139] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:21.953153] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:21.953159] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:21.953170] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:21.953174] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:26.959648] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=46] [dc=0] connection accepted(client={172.20.2.46:51068}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:25:26.959768] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51068}) [2022-07-29 14:25:26.959819] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=50888, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51068") [2022-07-29 14:25:26.959866] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=50888, get_transact_count()=0, sm_id=51183) [2022-07-29 14:25:26.959898] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:27.049273] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:27.049326] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] client login audit(client_addr={172.20.2.46:51068}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:27.049352] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:27.049366] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:27.049382] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:25:27.049397] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17059) [2022-07-29 14:25:27.049595] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075927049584, last_valid_time_us:1659075927049381, last_access_time_us:1659075927049381, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:27.049700] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:27.049744] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534537) [2022-07-29 14:25:27.049759] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534537, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:27.049788] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534537, get_transact_count()=0, sm_id=51184) [2022-07-29 14:25:27.049818] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:27.049947] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:27.050124] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34115, server_ip={172.20.2.117:2881}, cs_id=2147534537, proxy_sessid=0, server_type=1) [2022-07-29 14:25:27.050503] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534537, proxy_sessid=12399538384371156291, server_ip={172.20.2.117:2881}, ss_id=34115, server_sessid=3221755194, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44282") [2022-07-29 14:25:27.052306] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51184, cs_id=2147534537, proxy_sessid=12399538384371156291, ss_id=34115, server_sessid=3221755194, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:27.052422] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51184, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:27.052446] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:27.052465] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51184, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:27.052491] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34115, server_sessid:3221755194, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534537, proxy_sessid:12399538384371156291, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534537, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:27.052702] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=202] [dc=0] server session is closing(ss_id=34115, server_sessid=3221755194, server_ip={172.20.2.117:2881}, cs_id=2147534537, proxy_sessid=12399538384371156291) [2022-07-29 14:25:27.052751] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534537, proxy_sessid=12399538384371156291, client_vc=NULL) [2022-07-29 14:25:27.052786] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51184) [2022-07-29 14:25:27.052805] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:27.052815] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:27.052824] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:27.052836] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:27.052850] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:27.052861] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:27.052885] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:27.052893] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:27.053106] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:27.053132] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:27.053176] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] proxy mysql client session born(cs_id=2147534538) [2022-07-29 14:25:27.053202] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534538, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:27.053232] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=2147534538, get_transact_count()=0, sm_id=51185) [2022-07-29 14:25:27.053257] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:27.053337] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:27.053477] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34116, server_ip={172.20.2.118:2881}, cs_id=2147534538, proxy_sessid=0, server_type=1) [2022-07-29 14:25:27.054020] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534538, proxy_sessid=12399538384371156292, server_ip={172.20.2.118:2881}, ss_id=34116, server_sessid=3222023378, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41238") [2022-07-29 14:25:27.056076] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51185, cs_id=2147534538, proxy_sessid=12399538384371156292, ss_id=34116, server_sessid=3222023378, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:27.056179] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51185, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:27.056204] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:27.056211] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51185, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:27.056238] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34116, server_sessid:3222023378, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534538, proxy_sessid:12399538384371156292, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534538, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:27.056429] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=183] [dc=0] server session is closing(ss_id=34116, server_sessid=3222023378, server_ip={172.20.2.118:2881}, cs_id=2147534538, proxy_sessid=12399538384371156292) [2022-07-29 14:25:27.056464] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534538, proxy_sessid=12399538384371156292, client_vc=NULL) [2022-07-29 14:25:27.056496] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51185) [2022-07-29 14:25:27.056525] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:27.056546] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:27.056555] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:27.056567] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:27.056589] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:27.056600] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:27.056624] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17059, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075927052400988, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:27.056656] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17059, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075927052400988, server_state_version:0}) [2022-07-29 14:25:27.056705] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:27.056747] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:27.056780] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17059, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075927052400988, server_state_version:0}) [2022-07-29 14:25:27.056815] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:27.056967] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:25:27.056990] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51183, ret=-4152) [2022-07-29 14:25:27.057001] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:27.057011] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51183, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:27.057009] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF1691B2A10] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:27.057035] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:27.057055] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:27.057068] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:27.057085] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50888, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:27.057099] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:27.057108] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=8] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:27.057121] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51183) [2022-07-29 14:25:31.989671] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51074}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:25:31.989845] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51074}) [2022-07-29 14:25:31.989965] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session born(cs_id=50891, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51074") [2022-07-29 14:25:31.990013] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50891, get_transact_count()=0, sm_id=51186) [2022-07-29 14:25:31.990047] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:32.074753] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:32.074780] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] client login audit(client_addr={172.20.2.46:51074}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:32.074797] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:32.074805] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:32.074815] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:25:32.074824] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17060) [2022-07-29 14:25:32.074981] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075932074971, last_valid_time_us:1659075932074814, last_access_time_us:1659075932074814, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:32.075036] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:32.075331] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534540) [2022-07-29 14:25:32.075341] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534540, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:32.075362] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534540, get_transact_count()=0, sm_id=51187) [2022-07-29 14:25:32.075373] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:32.075446] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:32.075564] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session born(ss_id=34117, server_ip={172.20.2.118:2881}, cs_id=2147534540, proxy_sessid=0, server_type=1) [2022-07-29 14:25:32.075907] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534540, proxy_sessid=12399538384371156293, server_ip={172.20.2.118:2881}, ss_id=34117, server_sessid=3222023379, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41240") [2022-07-29 14:25:32.078453] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] finishing mysql tunnel((sm_id=51187, cs_id=2147534540, proxy_sessid=12399538384371156293, ss_id=34117, server_sessid=3222023379, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:32.078513] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51187, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:32.078519] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:32.078523] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51187, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:32.078530] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34117, server_sessid:3222023379, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534540, proxy_sessid:12399538384371156293, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534540, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:32.078629] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=95] [dc=0] server session is closing(ss_id=34117, server_sessid=3222023379, server_ip={172.20.2.118:2881}, cs_id=2147534540, proxy_sessid=12399538384371156293) [2022-07-29 14:25:32.078648] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534540, proxy_sessid=12399538384371156293, client_vc=NULL) [2022-07-29 14:25:32.078664] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51187) [2022-07-29 14:25:32.078683] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:32.078689] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:32.078693] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:32.078701] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:32.078707] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:32.078714] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:32.078720] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:32.078724] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:32.078833] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:32.078848] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:32.078875] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534541) [2022-07-29 14:25:32.078881] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534541, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:32.078902] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534541, get_transact_count()=0, sm_id=51188) [2022-07-29 14:25:32.078909] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:32.078969] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:32.079041] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34118, server_ip={172.20.2.118:2881}, cs_id=2147534541, proxy_sessid=0, server_type=1) [2022-07-29 14:25:32.079438] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534541, proxy_sessid=12399538384371156294, server_ip={172.20.2.118:2881}, ss_id=34118, server_sessid=3222023380, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41242") [2022-07-29 14:25:32.080709] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51188, cs_id=2147534541, proxy_sessid=12399538384371156294, ss_id=34118, server_sessid=3222023380, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:32.080828] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51188, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:32.080841] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:32.080848] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51188, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:32.080863] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34118, server_sessid:3222023380, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534541, proxy_sessid:12399538384371156294, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534541, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:32.081120] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=248] [dc=0] server session is closing(ss_id=34118, server_sessid=3222023380, server_ip={172.20.2.118:2881}, cs_id=2147534541, proxy_sessid=12399538384371156294) [2022-07-29 14:25:32.081167] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534541, proxy_sessid=12399538384371156294, client_vc=NULL) [2022-07-29 14:25:32.081203] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] deallocating sm(sm_id=51188) [2022-07-29 14:25:32.081225] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:32.081248] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:32.081257] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:32.081269] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:32.081291] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:32.081303] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:32.081317] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17060, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075932078500733, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:32.081351] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17060, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075932078500733, server_state_version:0}) [2022-07-29 14:25:32.081388] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:32.081428] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:32.081478] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17060, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075932078500733, server_state_version:0}) [2022-07-29 14:25:32.081515] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:32.081657] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:25:32.081695] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:32.081681] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51186, ret=-4152) [2022-07-29 14:25:32.081728] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:32.081738] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51186, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:32.081728] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:32.081752] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:32.081765] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:32.081778] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:32.081785] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:32.081800] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50891, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:32.081838] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51186) [2022-07-29 14:25:42.192624] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=57] [dc=0] connection accepted(client={172.20.2.46:51078}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:25:42.192756] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51078}) [2022-07-29 14:25:42.192831] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] client session born(cs_id=50894, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51078") [2022-07-29 14:25:42.192885] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] Starting new transaction using sm(cs_id=50894, get_transact_count()=0, sm_id=51189) [2022-07-29 14:25:42.192916] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:42.271343] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:42.271372] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51078}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:42.271397] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:42.271407] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:42.271419] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:25:42.271429] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17061) [2022-07-29 14:25:42.271576] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075942271568, last_valid_time_us:1659075942271418, last_access_time_us:1659075942271418, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:42.271647] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=69] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:42.271681] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534543) [2022-07-29 14:25:42.271692] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session born(cs_id=2147534543, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:42.271717] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534543, get_transact_count()=0, sm_id=51190) [2022-07-29 14:25:42.271736] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:42.271809] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:42.271954] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] server session born(ss_id=34119, server_ip={172.20.2.116:2881}, cs_id=2147534543, proxy_sessid=0, server_type=1) [2022-07-29 14:25:42.272377] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534543, proxy_sessid=12399538384371156295, server_ip={172.20.2.116:2881}, ss_id=34119, server_sessid=3221674417, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36224") [2022-07-29 14:25:42.273433] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] finishing mysql tunnel((sm_id=51190, cs_id=2147534543, proxy_sessid=12399538384371156295, ss_id=34119, server_sessid=3221674417, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:42.273493] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51190, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:42.273500] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:42.273503] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51190, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:42.273513] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34119, server_sessid:3221674417, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534543, proxy_sessid:12399538384371156295, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534543, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:42.273628] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] server session is closing(ss_id=34119, server_sessid=3221674417, server_ip={172.20.2.116:2881}, cs_id=2147534543, proxy_sessid=12399538384371156295) [2022-07-29 14:25:42.273650] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534543, proxy_sessid=12399538384371156295, client_vc=NULL) [2022-07-29 14:25:42.273673] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] deallocating sm(sm_id=51190) [2022-07-29 14:25:42.273686] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:42.273701] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:42.273706] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:42.273715] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:42.273722] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:42.273729] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:42.273737] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:42.273746] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:42.273859] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:42.273873] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:42.273891] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534544) [2022-07-29 14:25:42.273907] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534544, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:42.273932] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534544, get_transact_count()=0, sm_id=51191) [2022-07-29 14:25:42.273938] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:42.273980] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:42.274063] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] server session born(ss_id=34120, server_ip={172.20.2.118:2881}, cs_id=2147534544, proxy_sessid=0, server_type=1) [2022-07-29 14:25:42.274541] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] succ to set proxy_sessid(cs_id=2147534544, proxy_sessid=12399538384371156296, server_ip={172.20.2.118:2881}, ss_id=34120, server_sessid=3222023381, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41246") [2022-07-29 14:25:42.275905] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] finishing mysql tunnel((sm_id=51191, cs_id=2147534544, proxy_sessid=12399538384371156296, ss_id=34120, server_sessid=3222023381, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:42.275973] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51191, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:42.275979] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:42.275983] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51191, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:42.275991] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34120, server_sessid:3222023381, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534544, proxy_sessid:12399538384371156296, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534544, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:42.276098] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] server session is closing(ss_id=34120, server_sessid=3222023381, server_ip={172.20.2.118:2881}, cs_id=2147534544, proxy_sessid=12399538384371156296) [2022-07-29 14:25:42.276117] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534544, proxy_sessid=12399538384371156296, client_vc=NULL) [2022-07-29 14:25:42.276127] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51191) [2022-07-29 14:25:42.276136] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:42.276147] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:42.276152] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:42.276158] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:42.276164] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:42.276170] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:42.276179] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17061, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075942273480123, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:42.276191] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17061, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075942273480123, server_state_version:0}) [2022-07-29 14:25:42.276222] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:42.276240] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:42.276264] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17061, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075942273480123, server_state_version:0}) [2022-07-29 14:25:42.276277] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:42.276379] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:25:42.276394] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] data is NULL(sm_id=51189, ret=-4152) [2022-07-29 14:25:42.276401] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:42.276406] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51189, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:42.276446] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=50894, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:42.276429] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF1691B2A10] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:42.276471] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51189) [2022-07-29 14:25:42.276480] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:42.276507] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=26] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:42.276521] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:42.276535] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:42.276541] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:47.149614] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=60] [dc=0] connection accepted(client={172.20.2.46:51080}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:25:47.149804] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51080}) [2022-07-29 14:25:47.149897] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] client session born(cs_id=50897, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51080") [2022-07-29 14:25:47.149962] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] Starting new transaction using sm(cs_id=50897, get_transact_count()=0, sm_id=51192) [2022-07-29 14:25:47.149978] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:47.236369] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:47.236406] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51080}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:47.236436] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:47.236450] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:47.236467] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:25:47.236482] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17062) [2022-07-29 14:25:47.236701] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075947236689, last_valid_time_us:1659075947236465, last_access_time_us:1659075947236465, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:47.236805] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:47.236852] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534546) [2022-07-29 14:25:47.236881] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534546, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:47.236910] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534546, get_transact_count()=0, sm_id=51193) [2022-07-29 14:25:47.236952] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:47.237066] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:47.237243] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] server session born(ss_id=34121, server_ip={172.20.2.116:2881}, cs_id=2147534546, proxy_sessid=0, server_type=1) [2022-07-29 14:25:47.237654] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534546, proxy_sessid=12399538384371156297, server_ip={172.20.2.116:2881}, ss_id=34121, server_sessid=3221674468, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36228") [2022-07-29 14:25:47.238763] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51193, cs_id=2147534546, proxy_sessid=12399538384371156297, ss_id=34121, server_sessid=3221674468, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:47.238832] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51193, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:47.238846] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:47.238850] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51193, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:47.238862] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34121, server_sessid:3221674468, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534546, proxy_sessid:12399538384371156297, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534546, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:47.239015] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=146] [dc=0] server session is closing(ss_id=34121, server_sessid=3221674468, server_ip={172.20.2.116:2881}, cs_id=2147534546, proxy_sessid=12399538384371156297) [2022-07-29 14:25:47.239039] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534546, proxy_sessid=12399538384371156297, client_vc=NULL) [2022-07-29 14:25:47.239052] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51193) [2022-07-29 14:25:47.239066] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:47.239072] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:47.239077] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:47.239088] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:47.239094] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:47.239103] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:47.239110] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:47.239114] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:47.239264] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:47.239276] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:47.239298] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534547) [2022-07-29 14:25:47.239313] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session born(cs_id=2147534547, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:47.239330] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534547, get_transact_count()=0, sm_id=51194) [2022-07-29 14:25:47.239344] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:47.239400] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:47.239496] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34122, server_ip={172.20.2.118:2881}, cs_id=2147534547, proxy_sessid=0, server_type=1) [2022-07-29 14:25:47.239968] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534547, proxy_sessid=12399538384371156298, server_ip={172.20.2.118:2881}, ss_id=34122, server_sessid=3222023382, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41250") [2022-07-29 14:25:47.241308] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51194, cs_id=2147534547, proxy_sessid=12399538384371156298, ss_id=34122, server_sessid=3222023382, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:47.241425] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51194, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:47.241445] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:47.241452] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51194, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:47.241482] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] server session do_io_close((*this={ss_id:34122, server_sessid:3222023382, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534547, proxy_sessid:12399538384371156298, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534547, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:47.241679] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34122, server_sessid=3222023382, server_ip={172.20.2.118:2881}, cs_id=2147534547, proxy_sessid=12399538384371156298) [2022-07-29 14:25:47.241710] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534547, proxy_sessid=12399538384371156298, client_vc=NULL) [2022-07-29 14:25:47.241729] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51194) [2022-07-29 14:25:47.241745] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:47.241762] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:47.241769] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:47.241791] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:47.241807] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:47.241815] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:47.241829] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17062, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075947238814141, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:47.241861] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17062, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075947238814141, server_state_version:0}) [2022-07-29 14:25:47.241891] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:47.241916] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:47.241981] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17062, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075947238814141, server_state_version:0}) [2022-07-29 14:25:47.242001] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:47.242119] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:25:47.242141] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] data is NULL(sm_id=51192, ret=-4152) [2022-07-29 14:25:47.242151] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:47.242166] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51192, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:47.242157] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF169450940] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:47.242183] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:47.242207] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:47.242219] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:47.242233] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:47.242241] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=50897, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:47.242240] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:47.242277] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51192) [2022-07-29 14:25:52.154712] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=61] [dc=0] connection accepted(client={172.20.2.46:51084}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:25:52.154951] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51084}) [2022-07-29 14:25:52.155052] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] client session born(cs_id=50900, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51084") [2022-07-29 14:25:52.155081] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=50900, get_transact_count()=0, sm_id=51195) [2022-07-29 14:25:52.155096] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:52.228187] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:52.228222] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] client login audit(client_addr={172.20.2.46:51084}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:52.228245] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:52.228258] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:52.228272] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:25:52.228284] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17063) [2022-07-29 14:25:52.228461] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075952228451, last_valid_time_us:1659075952228270, last_access_time_us:1659075952228270, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:52.228554] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:52.228594] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534549) [2022-07-29 14:25:52.228607] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534549, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:52.228633] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534549, get_transact_count()=0, sm_id=51196) [2022-07-29 14:25:52.228658] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:52.228748] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:52.228901] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] server session born(ss_id=34123, server_ip={172.20.2.117:2881}, cs_id=2147534549, proxy_sessid=0, server_type=1) [2022-07-29 14:25:52.229248] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] succ to set proxy_sessid(cs_id=2147534549, proxy_sessid=12399538384371156299, server_ip={172.20.2.117:2881}, ss_id=34123, server_sessid=3221757057, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44298") [2022-07-29 14:25:52.230247] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51196, cs_id=2147534549, proxy_sessid=12399538384371156299, ss_id=34123, server_sessid=3221757057, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:52.230366] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=97] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51196, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:52.230385] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:52.230391] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51196, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:52.230405] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34123, server_sessid:3221757057, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534549, proxy_sessid:12399538384371156299, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534549, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:52.230568] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=156] [dc=0] server session is closing(ss_id=34123, server_sessid=3221757057, server_ip={172.20.2.117:2881}, cs_id=2147534549, proxy_sessid=12399538384371156299) [2022-07-29 14:25:52.230599] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534549, proxy_sessid=12399538384371156299, client_vc=NULL) [2022-07-29 14:25:52.230628] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51196) [2022-07-29 14:25:52.230654] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:52.230680] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:52.230688] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:52.230699] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:52.230708] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:52.230724] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:52.230733] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:52.230740] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:52.230877] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:52.230901] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:52.230941] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534550) [2022-07-29 14:25:52.230953] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534550, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:52.231008] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] Starting new transaction using sm(cs_id=2147534550, get_transact_count()=0, sm_id=51197) [2022-07-29 14:25:52.231030] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:52.231092] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:52.231212] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] server session born(ss_id=34124, server_ip={172.20.2.118:2881}, cs_id=2147534550, proxy_sessid=0, server_type=1) [2022-07-29 14:25:52.231900] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534550, proxy_sessid=12399538384371156300, server_ip={172.20.2.118:2881}, ss_id=34124, server_sessid=3222023383, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41254") [2022-07-29 14:25:52.235666] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51197, cs_id=2147534550, proxy_sessid=12399538384371156300, ss_id=34124, server_sessid=3222023383, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:52.235767] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51197, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:52.235776] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:52.235781] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51197, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:52.235792] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34124, server_sessid:3222023383, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534550, proxy_sessid:12399538384371156300, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534550, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:52.235942] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=142] [dc=0] server session is closing(ss_id=34124, server_sessid=3222023383, server_ip={172.20.2.118:2881}, cs_id=2147534550, proxy_sessid=12399538384371156300) [2022-07-29 14:25:52.235970] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534550, proxy_sessid=12399538384371156300, client_vc=NULL) [2022-07-29 14:25:52.235994] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51197) [2022-07-29 14:25:52.236006] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:52.236030] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:52.236037] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:52.236044] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:52.236052] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:52.236059] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:52.236069] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17063, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075952230480492, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:52.236084] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17063, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075952230480492, server_state_version:0}) [2022-07-29 14:25:52.236109] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:52.236138] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:52.236169] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17063, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075952230480492, server_state_version:0}) [2022-07-29 14:25:52.236194] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:52.236329] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:25:52.236347] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] data is NULL(sm_id=51195, ret=-4152) [2022-07-29 14:25:52.236355] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:52.236345] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B2A10] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:52.236361] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51195, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:52.236376] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:52.236400] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:52.236414] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=50900, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:52.236413] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:52.236426] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:52.236433] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:52.236441] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51195) [2022-07-29 14:25:57.151567] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=81] [dc=0] connection accepted(client={172.20.2.46:51086}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:25:57.151713] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51086}) [2022-07-29 14:25:57.151812] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session born(cs_id=50903, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51086") [2022-07-29 14:25:57.151845] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=50903, get_transact_count()=0, sm_id=51198) [2022-07-29 14:25:57.151876] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:57.225479] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:25:57.225513] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] client login audit(client_addr={172.20.2.46:51086}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:25:57.225533] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:25:57.225558] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:57.225571] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:25:57.225582] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17064) [2022-07-29 14:25:57.225993] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075957225984, last_valid_time_us:1659075957225984, last_access_time_us:1659075957225984, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:25:57.226071] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=76] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:57.226111] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534552) [2022-07-29 14:25:57.226137] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534552, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:57.226163] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534552, get_transact_count()=0, sm_id=51199) [2022-07-29 14:25:57.226180] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:57.226266] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:57.226396] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] server session born(ss_id=34125, server_ip={172.20.2.118:2881}, cs_id=2147534552, proxy_sessid=0, server_type=1) [2022-07-29 14:25:57.226824] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534552, proxy_sessid=12399538384371156301, server_ip={172.20.2.118:2881}, ss_id=34125, server_sessid=3222023384, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41256") [2022-07-29 14:25:57.228189] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] finishing mysql tunnel((sm_id=51199, cs_id=2147534552, proxy_sessid=12399538384371156301, ss_id=34125, server_sessid=3222023384, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:57.228252] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51199, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:57.228266] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:57.228270] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51199, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:57.228278] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34125, server_sessid:3222023384, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534552, proxy_sessid:12399538384371156301, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534552, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:25:57.228379] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] server session is closing(ss_id=34125, server_sessid=3222023384, server_ip={172.20.2.118:2881}, cs_id=2147534552, proxy_sessid=12399538384371156301) [2022-07-29 14:25:57.228399] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534552, proxy_sessid=12399538384371156301, client_vc=NULL) [2022-07-29 14:25:57.228433] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] deallocating sm(sm_id=51199) [2022-07-29 14:25:57.228444] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:57.228450] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:57.228454] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:57.228466] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:57.228471] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:57.228476] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:57.228482] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:25:57.228486] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:57.228593] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:25:57.228608] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:25:57.228625] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534553) [2022-07-29 14:25:57.228631] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534553, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:25:57.228645] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534553, get_transact_count()=0, sm_id=51200) [2022-07-29 14:25:57.228658] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:25:57.228698] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:25:57.228771] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] server session born(ss_id=34126, server_ip={172.20.2.118:2881}, cs_id=2147534553, proxy_sessid=0, server_type=1) [2022-07-29 14:25:57.229152] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534553, proxy_sessid=12399538384371156302, server_ip={172.20.2.118:2881}, ss_id=34126, server_sessid=3222023385, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41258") [2022-07-29 14:25:57.230941] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51200, cs_id=2147534553, proxy_sessid=12399538384371156302, ss_id=34126, server_sessid=3222023385, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:25:57.231006] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51200, client_vc=0x7ff1684bb5e0) [2022-07-29 14:25:57.231013] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:25:57.231016] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51200, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:25:57.231025] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34126, server_sessid:3222023385, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534553, proxy_sessid:12399538384371156302, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534553, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:25:57.231134] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] server session is closing(ss_id=34126, server_sessid=3222023385, server_ip={172.20.2.118:2881}, cs_id=2147534553, proxy_sessid=12399538384371156302) [2022-07-29 14:25:57.231153] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534553, proxy_sessid=12399538384371156302, client_vc=NULL) [2022-07-29 14:25:57.231169] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51200) [2022-07-29 14:25:57.231178] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:25:57.231352] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=173] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:25:57.231359] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:25:57.231370] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:25:57.231378] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:25:57.231385] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:25:57.231398] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17064, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075957228239744, server_state_version:0}, pending_list_count=0) [2022-07-29 14:25:57.231463] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17064, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075957228239744, server_state_version:0}) [2022-07-29 14:25:57.231531] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:57.231552] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:25:57.231587] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17064, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075957228239744, server_state_version:0}) [2022-07-29 14:25:57.231609] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:25:57.231745] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:25:57.231764] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] data is NULL(sm_id=51198, ret=-4152) [2022-07-29 14:25:57.231773] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:25:57.231781] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51198, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:25:57.231792] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF169450940] [lt=20] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:25:57.231825] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:57.231845] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=50903, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:25:57.231849] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:25:57.231864] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:25:57.231878] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:25:57.231884] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:25:57.231900] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51198) [2022-07-29 14:26:07.321282] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=62] [dc=0] connection accepted(client={172.20.2.46:51094}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:26:07.321428] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51094}) [2022-07-29 14:26:07.321477] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=50906, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51094") [2022-07-29 14:26:07.321502] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=50906, get_transact_count()=0, sm_id=51201) [2022-07-29 14:26:07.321514] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:07.398898] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:07.398946] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:51094}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:07.398964] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:07.398973] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:07.398984] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:26:07.398993] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17065) [2022-07-29 14:26:07.399135] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075967399127, last_valid_time_us:1659075967398983, last_access_time_us:1659075967398983, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:07.399195] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:07.399229] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534555) [2022-07-29 14:26:07.399247] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534555, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:07.399269] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534555, get_transact_count()=0, sm_id=51202) [2022-07-29 14:26:07.399287] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:07.399359] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:07.399500] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session born(ss_id=34127, server_ip={172.20.2.117:2881}, cs_id=2147534555, proxy_sessid=0, server_type=1) [2022-07-29 14:26:07.400032] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534555, proxy_sessid=12399538384371156303, server_ip={172.20.2.117:2881}, ss_id=34127, server_sessid=3221757068, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44306") [2022-07-29 14:26:07.401276] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51202, cs_id=2147534555, proxy_sessid=12399538384371156303, ss_id=34127, server_sessid=3221757068, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:07.401381] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=78] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51202, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:07.401406] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:07.401414] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51202, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:07.401429] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34127, server_sessid:3221757068, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534555, proxy_sessid:12399538384371156303, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534555, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:07.401646] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=209] [dc=0] server session is closing(ss_id=34127, server_sessid=3221757068, server_ip={172.20.2.117:2881}, cs_id=2147534555, proxy_sessid=12399538384371156303) [2022-07-29 14:26:07.401683] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534555, proxy_sessid=12399538384371156303, client_vc=NULL) [2022-07-29 14:26:07.401718] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51202) [2022-07-29 14:26:07.401749] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:07.401771] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:07.401781] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:07.401794] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:07.401805] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:07.401816] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:07.401842] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:07.401850] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:07.402031] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:07.402077] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:07.402123] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] proxy mysql client session born(cs_id=2147534556) [2022-07-29 14:26:07.402152] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534556, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:07.402191] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534556, get_transact_count()=0, sm_id=51203) [2022-07-29 14:26:07.402218] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:07.402357] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:07.402519] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] server session born(ss_id=34128, server_ip={172.20.2.118:2881}, cs_id=2147534556, proxy_sessid=0, server_type=1) [2022-07-29 14:26:07.403010] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534556, proxy_sessid=12399538384371156304, server_ip={172.20.2.118:2881}, ss_id=34128, server_sessid=3222023386, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41262") [2022-07-29 14:26:07.404213] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51203, cs_id=2147534556, proxy_sessid=12399538384371156304, ss_id=34128, server_sessid=3222023386, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:07.404370] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=132] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51203, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:07.404395] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:07.404402] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51203, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:07.404428] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34128, server_sessid:3222023386, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534556, proxy_sessid:12399538384371156304, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534556, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:07.404648] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=212] [dc=0] server session is closing(ss_id=34128, server_sessid=3222023386, server_ip={172.20.2.118:2881}, cs_id=2147534556, proxy_sessid=12399538384371156304) [2022-07-29 14:26:07.404694] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534556, proxy_sessid=12399538384371156304, client_vc=NULL) [2022-07-29 14:26:07.404725] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51203) [2022-07-29 14:26:07.404752] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:07.404773] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:07.404793] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:07.404816] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:07.404838] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:07.404859] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:07.404884] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17065, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075967401360757, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:07.404966] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17065, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075967401360757, server_state_version:0}) [2022-07-29 14:26:07.405014] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:07.405054] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:07.405089] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17065, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075967401360757, server_state_version:0}) [2022-07-29 14:26:07.405123] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:07.405269] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:26:07.405292] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51201, ret=-4152) [2022-07-29 14:26:07.405314] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:07.405324] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51201, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:07.405307] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF16944F240] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:07.405361] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=46] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:07.405388] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=26] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:07.405388] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50906, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:07.405401] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:07.405418] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:07.405425] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51201) [2022-07-29 14:26:07.405423] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:12.176885] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=39] [dc=0] connection accepted(client={172.20.2.46:51096}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:26:12.177127] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51096}) [2022-07-29 14:26:12.177172] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=50909, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51096") [2022-07-29 14:26:12.177203] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=50909, get_transact_count()=0, sm_id=51204) [2022-07-29 14:26:12.177214] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:12.270291] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:12.270324] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51096}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:12.270348] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:12.270360] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:12.270375] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:26:12.270387] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17066) [2022-07-29 14:26:12.270556] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075972270546, last_valid_time_us:1659075972270373, last_access_time_us:1659075972270373, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:12.270641] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=83] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:12.270680] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534558) [2022-07-29 14:26:12.270715] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client session born(cs_id=2147534558, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:12.270743] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534558, get_transact_count()=0, sm_id=51205) [2022-07-29 14:26:12.270756] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:12.270844] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:12.271005] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] server session born(ss_id=34129, server_ip={172.20.2.118:2881}, cs_id=2147534558, proxy_sessid=0, server_type=1) [2022-07-29 14:26:12.271530] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534558, proxy_sessid=12399538384371156305, server_ip={172.20.2.118:2881}, ss_id=34129, server_sessid=3222023387, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41264") [2022-07-29 14:26:12.273521] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51205, cs_id=2147534558, proxy_sessid=12399538384371156305, ss_id=34129, server_sessid=3222023387, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:12.273670] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=118] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51205, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:12.273695] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:12.273714] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51205, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:12.273742] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34129, server_sessid:3222023387, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534558, proxy_sessid:12399538384371156305, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534558, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:12.273957] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=206] [dc=0] server session is closing(ss_id=34129, server_sessid=3222023387, server_ip={172.20.2.118:2881}, cs_id=2147534558, proxy_sessid=12399538384371156305) [2022-07-29 14:26:12.273997] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534558, proxy_sessid=12399538384371156305, client_vc=NULL) [2022-07-29 14:26:12.274041] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] deallocating sm(sm_id=51205) [2022-07-29 14:26:12.274062] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:12.274087] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:12.274096] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:12.274109] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:12.274119] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:12.274130] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:12.274142] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:12.274149] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:12.274294] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:12.274317] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:12.274349] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534559) [2022-07-29 14:26:12.274375] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534559, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:12.274412] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534559, get_transact_count()=0, sm_id=51206) [2022-07-29 14:26:12.274439] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:12.274520] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:12.274739] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34130, server_ip={172.20.2.118:2881}, cs_id=2147534559, proxy_sessid=0, server_type=1) [2022-07-29 14:26:12.275137] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] succ to set proxy_sessid(cs_id=2147534559, proxy_sessid=12399538384371156306, server_ip={172.20.2.118:2881}, ss_id=34130, server_sessid=3222023388, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41266") [2022-07-29 14:26:12.276955] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51206, cs_id=2147534559, proxy_sessid=12399538384371156306, ss_id=34130, server_sessid=3222023388, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:12.277063] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51206, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:12.277073] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:12.277079] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51206, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:12.277091] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34130, server_sessid:3222023388, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534559, proxy_sessid:12399538384371156306, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534559, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:12.277244] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=147] [dc=0] server session is closing(ss_id=34130, server_sessid=3222023388, server_ip={172.20.2.118:2881}, cs_id=2147534559, proxy_sessid=12399538384371156306) [2022-07-29 14:26:12.277283] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session destroy(cs_id=2147534559, proxy_sessid=12399538384371156306, client_vc=NULL) [2022-07-29 14:26:12.277300] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51206) [2022-07-29 14:26:12.277314] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:12.277335] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:12.277342] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:12.277351] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:12.277359] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:12.277367] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:12.277379] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17066, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075972273646695, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:12.277396] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17066, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075972273646695, server_state_version:0}) [2022-07-29 14:26:12.277425] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:12.277458] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:12.277501] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17066, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075972273646695, server_state_version:0}) [2022-07-29 14:26:12.277529] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:12.277659] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:26:12.277680] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] data is NULL(sm_id=51204, ret=-4152) [2022-07-29 14:26:12.277690] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:12.277698] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51204, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:12.277692] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:12.277716] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:12.277732] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:12.277740] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:12.277749] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:12.277747] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50909, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:12.277753] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:12.277777] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51204) [2022-07-29 14:26:17.167949] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51098}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:26:17.168113] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51098}) [2022-07-29 14:26:17.168199] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client session born(cs_id=50912, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51098") [2022-07-29 14:26:17.168246] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50912, get_transact_count()=0, sm_id=51207) [2022-07-29 14:26:17.168276] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:17.246883] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:17.246938] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] client login audit(client_addr={172.20.2.46:51098}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:17.246964] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:17.246978] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:17.246996] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:26:17.247025] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17067) [2022-07-29 14:26:17.247221] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075977247211, last_valid_time_us:1659075977246994, last_access_time_us:1659075977246994, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:17.247335] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:17.247378] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534561) [2022-07-29 14:26:17.247405] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534561, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:17.247445] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534561, get_transact_count()=0, sm_id=51208) [2022-07-29 14:26:17.247472] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:17.247612] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:17.247775] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34131, server_ip={172.20.2.118:2881}, cs_id=2147534561, proxy_sessid=0, server_type=1) [2022-07-29 14:26:17.248235] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534561, proxy_sessid=12399538384371156307, server_ip={172.20.2.118:2881}, ss_id=34131, server_sessid=3222023389, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41268") [2022-07-29 14:26:17.249434] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] finishing mysql tunnel((sm_id=51208, cs_id=2147534561, proxy_sessid=12399538384371156307, ss_id=34131, server_sessid=3222023389, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:17.249557] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51208, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:17.249624] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:17.249632] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51208, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:17.249648] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34131, server_sessid:3222023389, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534561, proxy_sessid:12399538384371156307, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534561, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:17.249847] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=190] [dc=0] server session is closing(ss_id=34131, server_sessid=3222023389, server_ip={172.20.2.118:2881}, cs_id=2147534561, proxy_sessid=12399538384371156307) [2022-07-29 14:26:17.249886] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534561, proxy_sessid=12399538384371156307, client_vc=NULL) [2022-07-29 14:26:17.249983] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51208) [2022-07-29 14:26:17.250018] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:17.250028] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:17.250039] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:17.250052] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:17.250075] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:17.250086] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:17.250108] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:17.250127] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:17.250245] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:17.250269] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:17.250300] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534562) [2022-07-29 14:26:17.250327] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534562, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:17.250351] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534562, get_transact_count()=0, sm_id=51209) [2022-07-29 14:26:17.250363] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:17.250443] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:17.250589] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34132, server_ip={172.20.2.118:2881}, cs_id=2147534562, proxy_sessid=0, server_type=1) [2022-07-29 14:26:17.251080] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534562, proxy_sessid=12399538384371156308, server_ip={172.20.2.118:2881}, ss_id=34132, server_sessid=3222023390, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41270") [2022-07-29 14:26:17.252782] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51209, cs_id=2147534562, proxy_sessid=12399538384371156308, ss_id=34132, server_sessid=3222023390, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:17.252894] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51209, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:17.252913] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:17.252983] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=68] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51209, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:17.252998] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34132, server_sessid:3222023390, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534562, proxy_sessid:12399538384371156308, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534562, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:17.253190] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=184] [dc=0] server session is closing(ss_id=34132, server_sessid=3222023390, server_ip={172.20.2.118:2881}, cs_id=2147534562, proxy_sessid=12399538384371156308) [2022-07-29 14:26:17.253225] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534562, proxy_sessid=12399538384371156308, client_vc=NULL) [2022-07-29 14:26:17.253258] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51209) [2022-07-29 14:26:17.253273] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:17.253296] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:17.253305] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:17.253317] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:17.253340] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:17.253350] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:17.253364] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17067, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075977250133798, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:17.253384] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17067, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075977250133798, server_state_version:0}) [2022-07-29 14:26:17.253420] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:17.253445] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:17.253490] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17067, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075977250133798, server_state_version:0}) [2022-07-29 14:26:17.253512] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:17.253647] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:26:17.253671] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51207, ret=-4152) [2022-07-29 14:26:17.253683] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:17.253682] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF16944F240] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:17.253692] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51207, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:17.253706] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=17] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:17.253723] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:17.253732] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:17.253742] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:17.253746] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:17.253753] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50912, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:17.253790] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51207) [2022-07-29 14:26:22.124706] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=176] [dc=0] connection accepted(client={172.20.2.46:51102}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:26:22.124834] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51102}) [2022-07-29 14:26:22.124899] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client session born(cs_id=50915, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51102") [2022-07-29 14:26:22.124974] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] Starting new transaction using sm(cs_id=50915, get_transact_count()=0, sm_id=51210) [2022-07-29 14:26:22.125009] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:22.208476] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:22.208508] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51102}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:22.208529] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:22.208540] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:22.208577] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:26:22.208588] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17068) [2022-07-29 14:26:22.208753] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075982208744, last_valid_time_us:1659075982208575, last_access_time_us:1659075982208575, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:22.208832] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=77] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:22.208870] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534564) [2022-07-29 14:26:22.208893] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534564, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:22.208936] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534564, get_transact_count()=0, sm_id=51211) [2022-07-29 14:26:22.208978] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:22.209076] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:22.209214] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] server session born(ss_id=34133, server_ip={172.20.2.117:2881}, cs_id=2147534564, proxy_sessid=0, server_type=1) [2022-07-29 14:26:22.209656] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534564, proxy_sessid=12399538384371156309, server_ip={172.20.2.117:2881}, ss_id=34133, server_sessid=3221757075, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44318") [2022-07-29 14:26:22.210794] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51211, cs_id=2147534564, proxy_sessid=12399538384371156309, ss_id=34133, server_sessid=3221757075, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:22.210889] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51211, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:22.210913] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:22.210976] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51211, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:22.210994] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34133, server_sessid:3221757075, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534564, proxy_sessid:12399538384371156309, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534564, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:22.211174] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=172] [dc=0] server session is closing(ss_id=34133, server_sessid=3221757075, server_ip={172.20.2.117:2881}, cs_id=2147534564, proxy_sessid=12399538384371156309) [2022-07-29 14:26:22.211207] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534564, proxy_sessid=12399538384371156309, client_vc=NULL) [2022-07-29 14:26:22.211231] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51211) [2022-07-29 14:26:22.211248] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:22.211268] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:22.211275] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:22.211286] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:22.211306] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:22.211315] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:22.211325] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:22.211337] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:22.211469] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:22.211508] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:22.211547] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] proxy mysql client session born(cs_id=2147534565) [2022-07-29 14:26:22.211575] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534565, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:22.211612] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534565, get_transact_count()=0, sm_id=51212) [2022-07-29 14:26:22.211637] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:22.211721] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:22.211866] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] server session born(ss_id=34134, server_ip={172.20.2.116:2881}, cs_id=2147534565, proxy_sessid=0, server_type=1) [2022-07-29 14:26:22.212253] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534565, proxy_sessid=12399538384371156310, server_ip={172.20.2.116:2881}, ss_id=34134, server_sessid=3221675003, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36254") [2022-07-29 14:26:22.213448] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] finishing mysql tunnel((sm_id=51212, cs_id=2147534565, proxy_sessid=12399538384371156310, ss_id=34134, server_sessid=3221675003, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:22.213539] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51212, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:22.213549] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:22.213555] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51212, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:22.213577] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] server session do_io_close((*this={ss_id:34134, server_sessid:3221675003, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534565, proxy_sessid:12399538384371156310, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534565, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:22.213726] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=143] [dc=0] server session is closing(ss_id=34134, server_sessid=3221675003, server_ip={172.20.2.116:2881}, cs_id=2147534565, proxy_sessid=12399538384371156310) [2022-07-29 14:26:22.213768] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client session destroy(cs_id=2147534565, proxy_sessid=12399538384371156310, client_vc=NULL) [2022-07-29 14:26:22.213795] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51212) [2022-07-29 14:26:22.213808] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:22.213817] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:22.213824] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:22.213832] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:22.213841] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:22.213849] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:22.213860] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17068, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075982210870247, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:22.213887] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17068, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075982210870247, server_state_version:0}) [2022-07-29 14:26:22.213956] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:22.213990] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:22.214021] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17068, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075982210870247, server_state_version:0}) [2022-07-29 14:26:22.214039] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:22.214166] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:26:22.214187] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51210, ret=-4152) [2022-07-29 14:26:22.214196] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:22.214203] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51210, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:22.214210] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF169450940] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:22.214251] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=50915, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:22.214254] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:22.214282] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51210) [2022-07-29 14:26:22.214293] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:22.214309] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:22.214323] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:22.214329] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:27.162577] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51104}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:26:27.162738] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51104}) [2022-07-29 14:26:27.162822] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=50918, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51104") [2022-07-29 14:26:27.162867] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50918, get_transact_count()=0, sm_id=51213) [2022-07-29 14:26:27.162898] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:27.245881] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:27.245916] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] client login audit(client_addr={172.20.2.46:51104}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:27.245956] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:27.245967] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:27.245982] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:26:27.245993] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17069) [2022-07-29 14:26:27.246167] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075987246157, last_valid_time_us:1659075987246126, last_access_time_us:1659075987246126, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:27.246252] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=83] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:27.246292] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534567) [2022-07-29 14:26:27.246317] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534567, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:27.246345] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534567, get_transact_count()=0, sm_id=51214) [2022-07-29 14:26:27.246358] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:27.246451] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:27.246595] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] server session born(ss_id=34135, server_ip={172.20.2.117:2881}, cs_id=2147534567, proxy_sessid=0, server_type=1) [2022-07-29 14:26:27.246933] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534567, proxy_sessid=12399538384371156311, server_ip={172.20.2.117:2881}, ss_id=34135, server_sessid=3221757082, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44322") [2022-07-29 14:26:27.248627] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] finishing mysql tunnel((sm_id=51214, cs_id=2147534567, proxy_sessid=12399538384371156311, ss_id=34135, server_sessid=3221757082, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:27.248707] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51214, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:27.248740] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:27.248746] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51214, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:27.248758] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34135, server_sessid:3221757082, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534567, proxy_sessid:12399538384371156311, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534567, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:27.248945] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] server session is closing(ss_id=34135, server_sessid=3221757082, server_ip={172.20.2.117:2881}, cs_id=2147534567, proxy_sessid=12399538384371156311) [2022-07-29 14:26:27.248973] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534567, proxy_sessid=12399538384371156311, client_vc=NULL) [2022-07-29 14:26:27.249000] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51214) [2022-07-29 14:26:27.249016] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:27.249035] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:27.249042] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:27.249053] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:27.249060] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:27.249069] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:27.249078] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:27.249083] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:27.249219] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:27.249238] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:27.249261] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534568) [2022-07-29 14:26:27.249281] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534568, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:27.249302] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534568, get_transact_count()=0, sm_id=51215) [2022-07-29 14:26:27.249320] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:27.249377] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:27.249482] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] server session born(ss_id=34136, server_ip={172.20.2.116:2881}, cs_id=2147534568, proxy_sessid=0, server_type=1) [2022-07-29 14:26:27.251019] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534568, proxy_sessid=12399538384371156312, server_ip={172.20.2.116:2881}, ss_id=34136, server_sessid=3221675057, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36258") [2022-07-29 14:26:27.252812] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51215, cs_id=2147534568, proxy_sessid=12399538384371156312, ss_id=34136, server_sessid=3221675057, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:27.252942] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51215, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:27.252972] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:27.252980] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51215, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:27.252995] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34136, server_sessid:3221675057, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534568, proxy_sessid:12399538384371156312, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534568, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:27.253190] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=187] [dc=0] server session is closing(ss_id=34136, server_sessid=3221675057, server_ip={172.20.2.116:2881}, cs_id=2147534568, proxy_sessid=12399538384371156312) [2022-07-29 14:26:27.253226] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534568, proxy_sessid=12399538384371156312, client_vc=NULL) [2022-07-29 14:26:27.253245] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51215) [2022-07-29 14:26:27.253261] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:27.253284] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:27.253293] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:27.253305] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:27.253328] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:27.253339] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:27.253367] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17069, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075987248689662, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:27.253388] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17069, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075987248689662, server_state_version:0}) [2022-07-29 14:26:27.253438] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:27.253465] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:27.253503] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17069, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075987248689662, server_state_version:0}) [2022-07-29 14:26:27.253539] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:27.253686] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:26:27.253711] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51213, ret=-4152) [2022-07-29 14:26:27.253723] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:27.253732] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51213, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:27.253731] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF16944F240] [lt=6] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:27.253761] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:27.253785] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:27.253793] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50918, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:27.253799] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:27.253815] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:27.253822] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:27.253844] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51213) [2022-07-29 14:26:32.159418] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=61] [dc=0] connection accepted(client={172.20.2.46:51110}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:26:32.159564] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51110}) [2022-07-29 14:26:32.159653] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session born(cs_id=50921, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51110") [2022-07-29 14:26:32.159700] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=50921, get_transact_count()=0, sm_id=51216) [2022-07-29 14:26:32.159727] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:32.236500] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:32.236532] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51110}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:32.236547] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:32.236554] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:32.236564] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:26:32.236572] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17070) [2022-07-29 14:26:32.236705] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075992236697, last_valid_time_us:1659075992236563, last_access_time_us:1659075992236563, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:32.236762] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:32.236791] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534570) [2022-07-29 14:26:32.236802] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534570, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:32.236826] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534570, get_transact_count()=0, sm_id=51217) [2022-07-29 14:26:32.236835] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:32.236902] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:32.237033] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] server session born(ss_id=34137, server_ip={172.20.2.117:2881}, cs_id=2147534570, proxy_sessid=0, server_type=1) [2022-07-29 14:26:32.237387] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534570, proxy_sessid=12399538384371156313, server_ip={172.20.2.117:2881}, ss_id=34137, server_sessid=3221757085, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44326") [2022-07-29 14:26:32.239054] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] finishing mysql tunnel((sm_id=51217, cs_id=2147534570, proxy_sessid=12399538384371156313, ss_id=34137, server_sessid=3221757085, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:32.239101] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51217, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:32.239107] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:32.239110] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51217, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:32.239117] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34137, server_sessid:3221757085, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534570, proxy_sessid:12399538384371156313, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534570, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:32.239202] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=81] [dc=0] server session is closing(ss_id=34137, server_sessid=3221757085, server_ip={172.20.2.117:2881}, cs_id=2147534570, proxy_sessid=12399538384371156313) [2022-07-29 14:26:32.239219] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534570, proxy_sessid=12399538384371156313, client_vc=NULL) [2022-07-29 14:26:32.239241] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] deallocating sm(sm_id=51217) [2022-07-29 14:26:32.239253] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:32.239259] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:32.239263] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:32.239270] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:32.239279] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:32.239284] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:32.239291] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:32.239294] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:32.239382] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:32.239395] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:32.239408] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534571) [2022-07-29 14:26:32.239414] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534571, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:32.239428] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534571, get_transact_count()=0, sm_id=51218) [2022-07-29 14:26:32.239436] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:32.239468] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:32.239528] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] server session born(ss_id=34138, server_ip={172.20.2.117:2881}, cs_id=2147534571, proxy_sessid=0, server_type=1) [2022-07-29 14:26:32.240017] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534571, proxy_sessid=12399538384371156314, server_ip={172.20.2.117:2881}, ss_id=34138, server_sessid=3221757086, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44328") [2022-07-29 14:26:32.241158] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] finishing mysql tunnel((sm_id=51218, cs_id=2147534571, proxy_sessid=12399538384371156314, ss_id=34138, server_sessid=3221757086, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:32.241210] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51218, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:32.241219] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:32.241223] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51218, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:32.241235] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34138, server_sessid:3221757086, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534571, proxy_sessid:12399538384371156314, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534571, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:32.241339] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=101] [dc=0] server session is closing(ss_id=34138, server_sessid=3221757086, server_ip={172.20.2.117:2881}, cs_id=2147534571, proxy_sessid=12399538384371156314) [2022-07-29 14:26:32.241357] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534571, proxy_sessid=12399538384371156314, client_vc=NULL) [2022-07-29 14:26:32.241367] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51218) [2022-07-29 14:26:32.241376] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:32.241382] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:32.241387] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:32.241393] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:32.241399] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:32.241406] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:32.241414] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17070, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075992239090652, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:32.241434] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17070, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075992239090652, server_state_version:0}) [2022-07-29 14:26:32.241457] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:32.241474] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:32.241507] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17070, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075992239090652, server_state_version:0}) [2022-07-29 14:26:32.241521] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:32.241615] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:26:32.241631] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] data is NULL(sm_id=51216, ret=-4152) [2022-07-29 14:26:32.241637] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:32.241642] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51216, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:32.241681] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=50921, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:32.241703] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51216) [2022-07-29 14:26:32.241690] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF169450940] [lt=5] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:32.241724] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:32.241749] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:32.241762] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:32.241800] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=38] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:32.241807] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:37.116643] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=51] [dc=0] connection accepted(client={172.20.2.46:51112}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:26:37.116803] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51112}) [2022-07-29 14:26:37.116872] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client session born(cs_id=50924, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51112") [2022-07-29 14:26:37.116950] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] Starting new transaction using sm(cs_id=50924, get_transact_count()=0, sm_id=51219) [2022-07-29 14:26:37.116981] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:37.194547] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:37.194599] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] client login audit(client_addr={172.20.2.46:51112}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:37.194628] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:37.194643] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:37.194661] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:26:37.194675] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17071) [2022-07-29 14:26:37.194857] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659075997194849, last_valid_time_us:1659075997194659, last_access_time_us:1659075997194659, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:37.194911] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:37.194957] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534573) [2022-07-29 14:26:37.194975] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534573, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:37.194996] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534573, get_transact_count()=0, sm_id=51220) [2022-07-29 14:26:37.195013] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:37.195081] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:37.195186] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] server session born(ss_id=34139, server_ip={172.20.2.118:2881}, cs_id=2147534573, proxy_sessid=0, server_type=1) [2022-07-29 14:26:37.195687] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534573, proxy_sessid=12399538384371156315, server_ip={172.20.2.118:2881}, ss_id=34139, server_sessid=3222023391, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41284") [2022-07-29 14:26:37.197547] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51220, cs_id=2147534573, proxy_sessid=12399538384371156315, ss_id=34139, server_sessid=3222023391, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:37.197656] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=83] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51220, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:37.197667] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:37.197674] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51220, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:37.197688] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34139, server_sessid:3222023391, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534573, proxy_sessid:12399538384371156315, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534573, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:37.197869] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=174] [dc=0] server session is closing(ss_id=34139, server_sessid=3222023391, server_ip={172.20.2.118:2881}, cs_id=2147534573, proxy_sessid=12399538384371156315) [2022-07-29 14:26:37.197904] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534573, proxy_sessid=12399538384371156315, client_vc=NULL) [2022-07-29 14:26:37.198094] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=176] [dc=0] deallocating sm(sm_id=51220) [2022-07-29 14:26:37.198125] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:37.198135] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:37.198143] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:37.198155] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:37.198179] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:37.198189] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:37.198200] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:37.198207] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:37.198342] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:37.198364] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:37.198391] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534574) [2022-07-29 14:26:37.198403] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534574, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:37.198426] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534574, get_transact_count()=0, sm_id=51221) [2022-07-29 14:26:37.198438] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:37.198507] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:37.198651] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34140, server_ip={172.20.2.118:2881}, cs_id=2147534574, proxy_sessid=0, server_type=1) [2022-07-29 14:26:37.199049] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534574, proxy_sessid=12399538384371156316, server_ip={172.20.2.118:2881}, ss_id=34140, server_sessid=3222023392, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41286") [2022-07-29 14:26:37.200723] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51221, cs_id=2147534574, proxy_sessid=12399538384371156316, ss_id=34140, server_sessid=3222023392, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:37.200807] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51221, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:37.200816] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:37.200827] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51221, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:37.200839] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] server session do_io_close((*this={ss_id:34140, server_sessid:3222023392, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534574, proxy_sessid:12399538384371156316, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534574, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:37.201014] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=169] [dc=0] server session is closing(ss_id=34140, server_sessid=3222023392, server_ip={172.20.2.118:2881}, cs_id=2147534574, proxy_sessid=12399538384371156316) [2022-07-29 14:26:37.201042] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534574, proxy_sessid=12399538384371156316, client_vc=NULL) [2022-07-29 14:26:37.201058] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51221) [2022-07-29 14:26:37.201070] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:37.201080] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:37.201087] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:37.201098] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:37.201111] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:37.201120] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:37.201136] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17071, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075997197636246, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:37.201159] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17071, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075997197636246, server_state_version:0}) [2022-07-29 14:26:37.201190] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:37.201224] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:37.201257] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17071, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659075997197636246, server_state_version:0}) [2022-07-29 14:26:37.201275] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:37.201423] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:26:37.201446] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51219, ret=-4152) [2022-07-29 14:26:37.201456] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:37.201464] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51219, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:37.201462] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF16944F240] [lt=50] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:37.201488] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:37.201510] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:37.201520] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50924, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:37.201523] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:37.201538] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:37.201545] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:37.201560] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] deallocating sm(sm_id=51219) [2022-07-29 14:26:42.124971] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51116}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:26:42.125117] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51116}) [2022-07-29 14:26:42.125184] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] client session born(cs_id=50927, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51116") [2022-07-29 14:26:42.125226] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=50927, get_transact_count()=0, sm_id=51222) [2022-07-29 14:26:42.125251] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:42.200723] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:42.200748] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client login audit(client_addr={172.20.2.46:51116}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:42.200761] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:42.200767] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:42.200815] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:26:42.200821] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17072) [2022-07-29 14:26:42.200956] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076002200948, last_valid_time_us:1659076002200814, last_access_time_us:1659076002200814, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:42.200999] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:42.201026] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534576) [2022-07-29 14:26:42.201034] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534576, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:42.201052] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534576, get_transact_count()=0, sm_id=51223) [2022-07-29 14:26:42.201069] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:42.201127] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:42.201225] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] server session born(ss_id=34141, server_ip={172.20.2.117:2881}, cs_id=2147534576, proxy_sessid=0, server_type=1) [2022-07-29 14:26:42.201688] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] succ to set proxy_sessid(cs_id=2147534576, proxy_sessid=12399538384371156317, server_ip={172.20.2.117:2881}, ss_id=34141, server_sessid=3221757091, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44334") [2022-07-29 14:26:42.203536] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] finishing mysql tunnel((sm_id=51223, cs_id=2147534576, proxy_sessid=12399538384371156317, ss_id=34141, server_sessid=3221757091, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:42.203664] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51223, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:42.203682] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:42.203690] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51223, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:42.203719] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] server session do_io_close((*this={ss_id:34141, server_sessid:3221757091, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534576, proxy_sessid:12399538384371156317, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534576, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:42.203947] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=194] [dc=0] server session is closing(ss_id=34141, server_sessid=3221757091, server_ip={172.20.2.117:2881}, cs_id=2147534576, proxy_sessid=12399538384371156317) [2022-07-29 14:26:42.203988] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534576, proxy_sessid=12399538384371156317, client_vc=NULL) [2022-07-29 14:26:42.204021] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51223) [2022-07-29 14:26:42.204052] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:42.204072] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:42.204081] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:42.204093] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:42.204114] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:42.204125] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:42.204142] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:42.204150] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:42.204304] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:42.204328] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:42.204365] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534577) [2022-07-29 14:26:42.204390] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534577, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:42.204427] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534577, get_transact_count()=0, sm_id=51224) [2022-07-29 14:26:42.204451] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:42.204555] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:42.204713] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34142, server_ip={172.20.2.116:2881}, cs_id=2147534577, proxy_sessid=0, server_type=1) [2022-07-29 14:26:42.205150] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534577, proxy_sessid=12399538384371156318, server_ip={172.20.2.116:2881}, ss_id=34142, server_sessid=3221675196, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36270") [2022-07-29 14:26:42.206171] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51224, cs_id=2147534577, proxy_sessid=12399538384371156318, ss_id=34142, server_sessid=3221675196, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:42.206289] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51224, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:42.206313] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:42.206321] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51224, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:42.206348] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34142, server_sessid:3221675196, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534577, proxy_sessid:12399538384371156318, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534577, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:42.206546] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] server session is closing(ss_id=34142, server_sessid=3221675196, server_ip={172.20.2.116:2881}, cs_id=2147534577, proxy_sessid=12399538384371156318) [2022-07-29 14:26:42.206585] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534577, proxy_sessid=12399538384371156318, client_vc=NULL) [2022-07-29 14:26:42.206620] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51224) [2022-07-29 14:26:42.206652] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:42.206674] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:42.206683] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:42.206696] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:42.206739] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:42.206761] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:42.206777] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17072, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076002204110501, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:42.206810] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17072, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076002204110501, server_state_version:0}) [2022-07-29 14:26:42.206857] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:42.206898] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:42.206993] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17072, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076002204110501, server_state_version:0}) [2022-07-29 14:26:42.207030] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:42.207172] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:26:42.207196] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51222, ret=-4152) [2022-07-29 14:26:42.207207] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:42.207209] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF169450940] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:42.207216] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51222, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:42.207248] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:42.207270] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:42.207279] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50927, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:42.207282] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:42.207297] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:42.207304] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:42.207323] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] deallocating sm(sm_id=51222) [2022-07-29 14:26:47.142592] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=62] [dc=0] connection accepted(client={172.20.2.46:51118}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:26:47.142722] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51118}) [2022-07-29 14:26:47.142799] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] client session born(cs_id=50930, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51118") [2022-07-29 14:26:47.142848] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=50930, get_transact_count()=0, sm_id=51225) [2022-07-29 14:26:47.142882] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:47.226750] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:47.226798] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client login audit(client_addr={172.20.2.46:51118}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:47.226830] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:47.226845] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:47.226865] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:26:47.226881] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17073) [2022-07-29 14:26:47.227153] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076007227141, last_valid_time_us:1659076007226863, last_access_time_us:1659076007226863, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:47.227266] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:47.227321] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534579) [2022-07-29 14:26:47.227355] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session born(cs_id=2147534579, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:47.227389] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=2147534579, get_transact_count()=0, sm_id=51226) [2022-07-29 14:26:47.227406] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:47.227539] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:47.227731] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34143, server_ip={172.20.2.117:2881}, cs_id=2147534579, proxy_sessid=0, server_type=1) [2022-07-29 14:26:47.228313] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534579, proxy_sessid=12399538384371156319, server_ip={172.20.2.117:2881}, ss_id=34143, server_sessid=3221757094, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44338") [2022-07-29 14:26:47.229840] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51226, cs_id=2147534579, proxy_sessid=12399538384371156319, ss_id=34143, server_sessid=3221757094, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:47.230031] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=145] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51226, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:47.230056] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:47.230065] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51226, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:47.230087] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] server session do_io_close((*this={ss_id:34143, server_sessid:3221757094, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534579, proxy_sessid:12399538384371156319, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534579, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:47.230287] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34143, server_sessid=3221757094, server_ip={172.20.2.117:2881}, cs_id=2147534579, proxy_sessid=12399538384371156319) [2022-07-29 14:26:47.230329] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534579, proxy_sessid=12399538384371156319, client_vc=NULL) [2022-07-29 14:26:47.230354] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51226) [2022-07-29 14:26:47.230390] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:47.230403] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:47.230412] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:47.230425] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:47.230436] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:47.230446] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:47.230463] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:47.230471] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:47.230702] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:47.230726] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:47.230759] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534580) [2022-07-29 14:26:47.230786] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534580, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:47.230823] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534580, get_transact_count()=0, sm_id=51227) [2022-07-29 14:26:47.230849] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:47.230949] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:47.231091] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34144, server_ip={172.20.2.116:2881}, cs_id=2147534580, proxy_sessid=0, server_type=1) [2022-07-29 14:26:47.231465] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534580, proxy_sessid=12399538384371156320, server_ip={172.20.2.116:2881}, ss_id=34144, server_sessid=3221675251, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36274") [2022-07-29 14:26:47.232325] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] finishing mysql tunnel((sm_id=51227, cs_id=2147534580, proxy_sessid=12399538384371156320, ss_id=34144, server_sessid=3221675251, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:47.232411] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51227, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:47.232419] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:47.232425] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51227, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:47.232446] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] server session do_io_close((*this={ss_id:34144, server_sessid:3221675251, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534580, proxy_sessid:12399538384371156320, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534580, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:47.232590] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=138] [dc=0] server session is closing(ss_id=34144, server_sessid=3221675251, server_ip={172.20.2.116:2881}, cs_id=2147534580, proxy_sessid=12399538384371156320) [2022-07-29 14:26:47.232617] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534580, proxy_sessid=12399538384371156320, client_vc=NULL) [2022-07-29 14:26:47.232632] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51227) [2022-07-29 14:26:47.232644] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:47.232652] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:47.232659] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:47.232667] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:47.232676] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:47.232684] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:47.232700] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17073, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076007230280102, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:47.232717] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17073, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076007230280102, server_state_version:0}) [2022-07-29 14:26:47.232753] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:47.232785] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:47.232828] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17073, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076007230280102, server_state_version:0}) [2022-07-29 14:26:47.232845] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:47.232972] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:26:47.232986] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] data is NULL(sm_id=51225, ret=-4152) [2022-07-29 14:26:47.232995] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:47.233002] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51225, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:47.233005] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF16944F240] [lt=18] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:47.233050] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=50930, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:47.233037] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:47.233061] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:47.233079] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51225) [2022-07-29 14:26:47.233075] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:47.233089] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:47.233096] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:52.137071] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51122}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:26:52.137180] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51122}) [2022-07-29 14:26:52.137257] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client session born(cs_id=50933, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51122") [2022-07-29 14:26:52.137296] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=50933, get_transact_count()=0, sm_id=51228) [2022-07-29 14:26:52.137324] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:52.216471] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:52.216511] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51122}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:52.216539] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:52.216554] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:52.216607] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:26:52.216622] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17074) [2022-07-29 14:26:52.216874] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076012216863, last_valid_time_us:1659076012216605, last_access_time_us:1659076012216605, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:52.217043] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=167] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:52.217089] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534582) [2022-07-29 14:26:52.217105] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534582, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:52.217149] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534582, get_transact_count()=0, sm_id=51229) [2022-07-29 14:26:52.217165] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:52.217273] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:52.217442] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34145, server_ip={172.20.2.118:2881}, cs_id=2147534582, proxy_sessid=0, server_type=1) [2022-07-29 14:26:52.217801] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534582, proxy_sessid=12399538384371156321, server_ip={172.20.2.118:2881}, ss_id=34145, server_sessid=3222023393, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41296") [2022-07-29 14:26:52.218839] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51229, cs_id=2147534582, proxy_sessid=12399538384371156321, ss_id=34145, server_sessid=3222023393, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:52.218967] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51229, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:52.218976] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:52.218982] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51229, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:52.218996] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34145, server_sessid:3222023393, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534582, proxy_sessid:12399538384371156321, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534582, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:52.219172] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=170] [dc=0] server session is closing(ss_id=34145, server_sessid=3222023393, server_ip={172.20.2.118:2881}, cs_id=2147534582, proxy_sessid=12399538384371156321) [2022-07-29 14:26:52.219204] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534582, proxy_sessid=12399538384371156321, client_vc=NULL) [2022-07-29 14:26:52.219234] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] deallocating sm(sm_id=51229) [2022-07-29 14:26:52.219264] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:52.219274] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:52.219282] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:52.219293] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:52.219303] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:52.219313] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:52.219322] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:52.219330] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:52.219413] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:52.219436] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:52.219480] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534583) [2022-07-29 14:26:52.219492] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534583, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:52.219526] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534583, get_transact_count()=0, sm_id=51230) [2022-07-29 14:26:52.219547] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:52.219612] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:52.219733] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34146, server_ip={172.20.2.118:2881}, cs_id=2147534583, proxy_sessid=0, server_type=1) [2022-07-29 14:26:52.220153] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534583, proxy_sessid=12399538384371156322, server_ip={172.20.2.118:2881}, ss_id=34146, server_sessid=3222023394, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41298") [2022-07-29 14:26:52.221468] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] finishing mysql tunnel((sm_id=51230, cs_id=2147534583, proxy_sessid=12399538384371156322, ss_id=34146, server_sessid=3222023394, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:52.221565] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51230, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:52.221599] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:52.221614] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51230, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:52.221625] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34146, server_sessid:3222023394, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534583, proxy_sessid:12399538384371156322, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534583, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:52.221767] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=136] [dc=0] server session is closing(ss_id=34146, server_sessid=3222023394, server_ip={172.20.2.118:2881}, cs_id=2147534583, proxy_sessid=12399538384371156322) [2022-07-29 14:26:52.221793] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534583, proxy_sessid=12399538384371156322, client_vc=NULL) [2022-07-29 14:26:52.221818] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] deallocating sm(sm_id=51230) [2022-07-29 14:26:52.221840] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:52.221857] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:52.221863] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:52.221872] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:52.221891] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:52.221899] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:52.221910] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17074, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076012218948945, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:52.221939] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17074, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076012218948945, server_state_version:0}) [2022-07-29 14:26:52.221975] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:52.222005] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:52.222047] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17074, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076012218948945, server_state_version:0}) [2022-07-29 14:26:52.222072] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:52.222168] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:26:52.222185] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51228, ret=-4152) [2022-07-29 14:26:52.222193] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:52.222200] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51228, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:52.222267] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=50933, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:52.222300] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] deallocating sm(sm_id=51228) [2022-07-29 14:26:52.222310] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF169450940] [lt=4] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:52.222320] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:52.222343] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:52.222350] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:52.222369] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:52.222373] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:57.191896] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=36] [dc=0] connection accepted(client={172.20.2.46:51124}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:26:57.192093] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51124}) [2022-07-29 14:26:57.192209] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] client session born(cs_id=50936, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51124") [2022-07-29 14:26:57.192262] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] Starting new transaction using sm(cs_id=50936, get_transact_count()=0, sm_id=51231) [2022-07-29 14:26:57.192291] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:57.276871] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:26:57.276907] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] client login audit(client_addr={172.20.2.46:51124}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:26:57.276956] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:26:57.276971] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:57.276988] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:26:57.277003] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17075) [2022-07-29 14:26:57.277230] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076017277218, last_valid_time_us:1659076017276987, last_access_time_us:1659076017276987, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:26:57.277333] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:57.277377] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534585) [2022-07-29 14:26:57.277404] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534585, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:57.277442] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534585, get_transact_count()=0, sm_id=51232) [2022-07-29 14:26:57.277467] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:57.277590] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:57.277758] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34147, server_ip={172.20.2.118:2881}, cs_id=2147534585, proxy_sessid=0, server_type=1) [2022-07-29 14:26:57.278355] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534585, proxy_sessid=12399538384371156323, server_ip={172.20.2.118:2881}, ss_id=34147, server_sessid=3222023395, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41300") [2022-07-29 14:26:57.280270] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51232, cs_id=2147534585, proxy_sessid=12399538384371156323, ss_id=34147, server_sessid=3222023395, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:57.280386] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51232, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:57.280398] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:57.280406] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51232, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:57.280438] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] server session do_io_close((*this={ss_id:34147, server_sessid:3222023395, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534585, proxy_sessid:12399538384371156323, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534585, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:26:57.280648] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=197] [dc=0] server session is closing(ss_id=34147, server_sessid=3222023395, server_ip={172.20.2.118:2881}, cs_id=2147534585, proxy_sessid=12399538384371156323) [2022-07-29 14:26:57.280694] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534585, proxy_sessid=12399538384371156323, client_vc=NULL) [2022-07-29 14:26:57.280735] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51232) [2022-07-29 14:26:57.280770] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:57.280795] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:57.280805] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:57.280819] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:57.280830] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:57.280841] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:57.280865] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:26:57.280875] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:57.281032] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:26:57.281060] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:26:57.281100] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534586) [2022-07-29 14:26:57.281115] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534586, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:26:57.281155] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534586, get_transact_count()=0, sm_id=51233) [2022-07-29 14:26:57.281182] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:26:57.281295] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:26:57.281460] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34148, server_ip={172.20.2.118:2881}, cs_id=2147534586, proxy_sessid=0, server_type=1) [2022-07-29 14:26:57.281807] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534586, proxy_sessid=12399538384371156324, server_ip={172.20.2.118:2881}, ss_id=34148, server_sessid=3222023396, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41302") [2022-07-29 14:26:57.283310] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51233, cs_id=2147534586, proxy_sessid=12399538384371156324, ss_id=34148, server_sessid=3222023396, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:26:57.283410] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51233, client_vc=0x7ff1684bb5e0) [2022-07-29 14:26:57.283428] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:26:57.283435] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51233, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:26:57.283456] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session do_io_close((*this={ss_id:34148, server_sessid:3222023396, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534586, proxy_sessid:12399538384371156324, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534586, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:26:57.283621] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=157] [dc=0] server session is closing(ss_id=34148, server_sessid=3222023396, server_ip={172.20.2.118:2881}, cs_id=2147534586, proxy_sessid=12399538384371156324) [2022-07-29 14:26:57.283654] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534586, proxy_sessid=12399538384371156324, client_vc=NULL) [2022-07-29 14:26:57.283682] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51233) [2022-07-29 14:26:57.283708] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:26:57.283717] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:26:57.283724] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:26:57.283734] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:26:57.283743] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:26:57.283752] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:26:57.283773] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17075, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076017280356727, server_state_version:0}, pending_list_count=0) [2022-07-29 14:26:57.283792] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17075, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076017280356727, server_state_version:0}) [2022-07-29 14:26:57.283821] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:26:57.283854] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:26:57.283895] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17075, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076017280356727, server_state_version:0}) [2022-07-29 14:26:57.283913] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:26:57.284048] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:26:57.284067] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] data is NULL(sm_id=51231, ret=-4152) [2022-07-29 14:26:57.284064] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF16944F240] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:26:57.284076] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:26:57.284084] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51231, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:26:57.284089] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:57.284146] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=50936, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:26:57.284154] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=63] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:26:57.284177] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51231) [2022-07-29 14:26:57.284177] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:26:57.284190] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:26:57.284196] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:02.188074] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=31] [dc=0] connection accepted(client={172.20.2.46:51130}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:27:02.188290] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51130}) [2022-07-29 14:27:02.188380] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session born(cs_id=50939, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51130") [2022-07-29 14:27:02.188430] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50939, get_transact_count()=0, sm_id=51234) [2022-07-29 14:27:02.188449] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:02.273308] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:02.273348] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51130}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:02.273377] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:02.273392] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:02.273412] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:27:02.273426] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17076) [2022-07-29 14:27:02.273620] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076022273609, last_valid_time_us:1659076022273410, last_access_time_us:1659076022273410, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:02.273729] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:02.273775] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534588) [2022-07-29 14:27:02.273803] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534588, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:02.273846] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534588, get_transact_count()=0, sm_id=51235) [2022-07-29 14:27:02.273874] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:02.274117] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:02.274287] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34149, server_ip={172.20.2.116:2881}, cs_id=2147534588, proxy_sessid=0, server_type=1) [2022-07-29 14:27:02.274731] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534588, proxy_sessid=12399538384371156325, server_ip={172.20.2.116:2881}, ss_id=34149, server_sessid=3221675391, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36284") [2022-07-29 14:27:02.275682] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51235, cs_id=2147534588, proxy_sessid=12399538384371156325, ss_id=34149, server_sessid=3221675391, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:02.275803] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51235, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:02.275815] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:02.275854] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51235, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:02.275870] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34149, server_sessid:3221675391, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534588, proxy_sessid:12399538384371156325, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534588, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:02.276086] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=207] [dc=0] server session is closing(ss_id=34149, server_sessid=3221675391, server_ip={172.20.2.116:2881}, cs_id=2147534588, proxy_sessid=12399538384371156325) [2022-07-29 14:27:02.276125] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534588, proxy_sessid=12399538384371156325, client_vc=NULL) [2022-07-29 14:27:02.276160] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51235) [2022-07-29 14:27:02.276192] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:02.276214] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:02.276223] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:02.276237] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:02.276260] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:02.276271] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:02.276294] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:02.276302] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:02.276503] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:02.276539] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:02.276634] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] proxy mysql client session born(cs_id=2147534589) [2022-07-29 14:27:02.276650] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534589, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:02.276675] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534589, get_transact_count()=0, sm_id=51236) [2022-07-29 14:27:02.276687] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:02.276773] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:02.276914] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34150, server_ip={172.20.2.117:2881}, cs_id=2147534589, proxy_sessid=0, server_type=1) [2022-07-29 14:27:02.277382] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] succ to set proxy_sessid(cs_id=2147534589, proxy_sessid=12399538384371156326, server_ip={172.20.2.117:2881}, ss_id=34150, server_sessid=3221757105, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44352") [2022-07-29 14:27:02.279072] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51236, cs_id=2147534589, proxy_sessid=12399538384371156326, ss_id=34150, server_sessid=3221757105, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:02.279191] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51236, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:02.279216] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:02.279223] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51236, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:02.279253] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session do_io_close((*this={ss_id:34150, server_sessid:3221757105, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534589, proxy_sessid:12399538384371156326, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534589, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:02.279457] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=196] [dc=0] server session is closing(ss_id=34150, server_sessid=3221757105, server_ip={172.20.2.117:2881}, cs_id=2147534589, proxy_sessid=12399538384371156326) [2022-07-29 14:27:02.279493] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534589, proxy_sessid=12399538384371156326, client_vc=NULL) [2022-07-29 14:27:02.279528] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51236) [2022-07-29 14:27:02.279556] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:02.279567] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:02.279575] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:02.279587] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:02.279600] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:02.279616] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:02.279630] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17076, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076022275779795, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:02.279665] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17076, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076022275779795, server_state_version:0}) [2022-07-29 14:27:02.279702] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:02.279741] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:02.279790] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17076, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076022275779795, server_state_version:0}) [2022-07-29 14:27:02.279825] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:02.279995] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:27:02.280019] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51234, ret=-4152) [2022-07-29 14:27:02.280030] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:02.280040] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51234, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:02.280038] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF1691B2A10] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:02.280083] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:02.280104] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50939, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:02.280117] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:02.280132] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:02.280143] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51234) [2022-07-29 14:27:02.280157] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:02.280165] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:07.250964] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=93] [dc=0] connection accepted(client={172.20.2.46:51132}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:27:07.251095] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51132}) [2022-07-29 14:27:07.251134] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=50942, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51132") [2022-07-29 14:27:07.251155] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=50942, get_transact_count()=0, sm_id=51237) [2022-07-29 14:27:07.251165] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:07.335502] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:07.335529] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client login audit(client_addr={172.20.2.46:51132}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:07.335546] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:07.335555] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:07.335567] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:27:07.335576] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17077) [2022-07-29 14:27:07.335729] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076027335720, last_valid_time_us:1659076027335565, last_access_time_us:1659076027335565, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:07.335790] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:07.335823] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534591) [2022-07-29 14:27:07.335842] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=2147534591, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:07.335872] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534591, get_transact_count()=0, sm_id=51238) [2022-07-29 14:27:07.335891] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:07.335986] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:07.336104] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session born(ss_id=34151, server_ip={172.20.2.118:2881}, cs_id=2147534591, proxy_sessid=0, server_type=1) [2022-07-29 14:27:07.336719] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534591, proxy_sessid=12399538384371156327, server_ip={172.20.2.118:2881}, ss_id=34151, server_sessid=3222023397, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41308") [2022-07-29 14:27:07.338490] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=69] [dc=0] finishing mysql tunnel((sm_id=51238, cs_id=2147534591, proxy_sessid=12399538384371156327, ss_id=34151, server_sessid=3222023397, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:07.338616] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51238, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:07.338629] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:07.338638] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51238, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:07.338667] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34151, server_sessid:3222023397, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534591, proxy_sessid:12399538384371156327, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534591, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:07.338872] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=194] [dc=0] server session is closing(ss_id=34151, server_sessid=3222023397, server_ip={172.20.2.118:2881}, cs_id=2147534591, proxy_sessid=12399538384371156327) [2022-07-29 14:27:07.338913] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534591, proxy_sessid=12399538384371156327, client_vc=NULL) [2022-07-29 14:27:07.338966] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] deallocating sm(sm_id=51238) [2022-07-29 14:27:07.339000] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:07.339020] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:07.339029] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:07.339043] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:07.339053] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:07.339066] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:07.339087] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:07.339095] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:07.339210] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:07.339231] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:07.339289] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534592) [2022-07-29 14:27:07.339313] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=2147534592, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:07.339353] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534592, get_transact_count()=0, sm_id=51239) [2022-07-29 14:27:07.339366] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:07.339456] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:07.339598] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] server session born(ss_id=34152, server_ip={172.20.2.117:2881}, cs_id=2147534592, proxy_sessid=0, server_type=1) [2022-07-29 14:27:07.340135] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534592, proxy_sessid=12399538384371156328, server_ip={172.20.2.117:2881}, ss_id=34152, server_sessid=3221757108, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44356") [2022-07-29 14:27:07.341404] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51239, cs_id=2147534592, proxy_sessid=12399538384371156328, ss_id=34152, server_sessid=3221757108, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:07.341530] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51239, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:07.341564] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:07.341572] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51239, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:07.341601] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] server session do_io_close((*this={ss_id:34152, server_sessid:3221757108, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534592, proxy_sessid:12399538384371156328, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534592, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:07.341812] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=202] [dc=0] server session is closing(ss_id=34152, server_sessid=3221757108, server_ip={172.20.2.117:2881}, cs_id=2147534592, proxy_sessid=12399538384371156328) [2022-07-29 14:27:07.341856] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session destroy(cs_id=2147534592, proxy_sessid=12399538384371156328, client_vc=NULL) [2022-07-29 14:27:07.341893] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] deallocating sm(sm_id=51239) [2022-07-29 14:27:07.341914] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:07.341944] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:07.341953] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:07.341965] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:07.341976] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:07.341986] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:07.342000] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17077, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076027338588302, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:07.342037] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17077, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076027338588302, server_state_version:0}) [2022-07-29 14:27:07.342074] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:07.342101] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:07.342136] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17077, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076027338588302, server_state_version:0}) [2022-07-29 14:27:07.342172] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:07.342310] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:27:07.342335] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51237, ret=-4152) [2022-07-29 14:27:07.342346] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:07.342356] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51237, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:07.342356] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF16944F240] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:07.342382] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:07.342403] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:07.342420] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=50942, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:07.342416] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:07.342431] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:07.342438] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:07.342473] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51237) [2022-07-29 14:27:12.239875] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=79] [dc=0] connection accepted(client={172.20.2.46:51136}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:27:12.240048] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51136}) [2022-07-29 14:27:12.240139] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] client session born(cs_id=50945, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51136") [2022-07-29 14:27:12.240187] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=50945, get_transact_count()=0, sm_id=51240) [2022-07-29 14:27:12.240216] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:12.318216] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:12.318245] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51136}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:12.318263] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:12.318272] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:12.318285] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:27:12.318294] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17078) [2022-07-29 14:27:12.318447] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076032318439, last_valid_time_us:1659076032318284, last_access_time_us:1659076032318284, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:12.318511] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:12.318759] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534594) [2022-07-29 14:27:12.318770] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534594, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:12.318805] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534594, get_transact_count()=0, sm_id=51241) [2022-07-29 14:27:12.318828] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:12.318916] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:12.319087] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] server session born(ss_id=34153, server_ip={172.20.2.116:2881}, cs_id=2147534594, proxy_sessid=0, server_type=1) [2022-07-29 14:27:12.319519] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534594, proxy_sessid=12399538384371156329, server_ip={172.20.2.116:2881}, ss_id=34153, server_sessid=3221675487, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36292") [2022-07-29 14:27:12.320860] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51241, cs_id=2147534594, proxy_sessid=12399538384371156329, ss_id=34153, server_sessid=3221675487, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:12.321027] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=133] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51241, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:12.321054] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:12.321063] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51241, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:12.321094] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session do_io_close((*this={ss_id:34153, server_sessid:3221675487, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534594, proxy_sessid:12399538384371156329, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534594, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:12.321312] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=207] [dc=0] server session is closing(ss_id=34153, server_sessid=3221675487, server_ip={172.20.2.116:2881}, cs_id=2147534594, proxy_sessid=12399538384371156329) [2022-07-29 14:27:12.321354] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534594, proxy_sessid=12399538384371156329, client_vc=NULL) [2022-07-29 14:27:12.321381] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] deallocating sm(sm_id=51241) [2022-07-29 14:27:12.321420] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:12.321432] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:12.321441] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:12.321453] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:12.321464] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:12.321475] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:12.321493] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:12.321501] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:12.321596] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:12.321622] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:12.321657] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534595) [2022-07-29 14:27:12.321713] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534595, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:12.321750] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534595, get_transact_count()=0, sm_id=51242) [2022-07-29 14:27:12.321777] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:12.321869] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:12.322086] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] server session born(ss_id=34154, server_ip={172.20.2.117:2881}, cs_id=2147534595, proxy_sessid=0, server_type=1) [2022-07-29 14:27:12.322547] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534595, proxy_sessid=12399538384371156330, server_ip={172.20.2.117:2881}, ss_id=34154, server_sessid=3221757158, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44360") [2022-07-29 14:27:12.324599] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] finishing mysql tunnel((sm_id=51242, cs_id=2147534595, proxy_sessid=12399538384371156330, ss_id=34154, server_sessid=3221757158, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:12.324713] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51242, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:12.324737] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:12.324745] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51242, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:12.324771] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34154, server_sessid:3221757158, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534595, proxy_sessid:12399538384371156330, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534595, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:12.324978] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=199] [dc=0] server session is closing(ss_id=34154, server_sessid=3221757158, server_ip={172.20.2.117:2881}, cs_id=2147534595, proxy_sessid=12399538384371156330) [2022-07-29 14:27:12.325013] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534595, proxy_sessid=12399538384371156330, client_vc=NULL) [2022-07-29 14:27:12.325032] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51242) [2022-07-29 14:27:12.325047] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:12.325057] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:12.325066] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:12.325076] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:12.325089] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:12.325100] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:12.325114] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17078, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076032321435508, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:12.325147] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17078, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076032321435508, server_state_version:0}) [2022-07-29 14:27:12.325194] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:12.325221] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:12.325269] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17078, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076032321435508, server_state_version:0}) [2022-07-29 14:27:12.325302] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:12.325441] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:27:12.325465] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51240, ret=-4152) [2022-07-29 14:27:12.325477] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:12.325473] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B2A10] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:12.325485] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51240, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:12.325496] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:12.325524] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:12.325535] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:12.325544] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:12.325547] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50945, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:12.325549] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:12.325583] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51240) [2022-07-29 14:27:17.320494] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=67] [dc=0] connection accepted(client={172.20.2.46:51138}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:27:17.320742] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51138}) [2022-07-29 14:27:17.320824] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] client session born(cs_id=50948, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51138") [2022-07-29 14:27:17.320861] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=50948, get_transact_count()=0, sm_id=51243) [2022-07-29 14:27:17.320879] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:17.403262] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:17.403305] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] client login audit(client_addr={172.20.2.46:51138}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:17.403332] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:17.403345] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:17.403362] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:27:17.403376] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17079) [2022-07-29 14:27:17.403560] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076037403548, last_valid_time_us:1659076037403360, last_access_time_us:1659076037403360, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:17.403656] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:17.403700] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534597) [2022-07-29 14:27:17.403727] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534597, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:17.403762] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=2147534597, get_transact_count()=0, sm_id=51244) [2022-07-29 14:27:17.403789] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:17.403891] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:17.404069] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] server session born(ss_id=34155, server_ip={172.20.2.118:2881}, cs_id=2147534597, proxy_sessid=0, server_type=1) [2022-07-29 14:27:17.404607] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534597, proxy_sessid=12399538384371156331, server_ip={172.20.2.118:2881}, ss_id=34155, server_sessid=3222023398, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41316") [2022-07-29 14:27:17.405733] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51244, cs_id=2147534597, proxy_sessid=12399538384371156331, ss_id=34155, server_sessid=3222023398, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:17.405874] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51244, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:17.405886] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:17.405894] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51244, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:17.405909] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34155, server_sessid:3222023398, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534597, proxy_sessid:12399538384371156331, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534597, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:17.406125] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=208] [dc=0] server session is closing(ss_id=34155, server_sessid=3222023398, server_ip={172.20.2.118:2881}, cs_id=2147534597, proxy_sessid=12399538384371156331) [2022-07-29 14:27:17.406162] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534597, proxy_sessid=12399538384371156331, client_vc=NULL) [2022-07-29 14:27:17.406198] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] deallocating sm(sm_id=51244) [2022-07-29 14:27:17.406217] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:17.406241] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:17.406250] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:17.406263] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:17.406274] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:17.406284] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:17.406295] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:17.406302] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:17.406562] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:17.406597] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:17.406632] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534598) [2022-07-29 14:27:17.406661] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534598, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:17.406686] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534598, get_transact_count()=0, sm_id=51245) [2022-07-29 14:27:17.406699] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:17.406780] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:17.406915] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34156, server_ip={172.20.2.117:2881}, cs_id=2147534598, proxy_sessid=0, server_type=1) [2022-07-29 14:27:17.407377] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] succ to set proxy_sessid(cs_id=2147534598, proxy_sessid=12399538384371156332, server_ip={172.20.2.117:2881}, ss_id=34156, server_sessid=3221757161, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44364") [2022-07-29 14:27:17.409097] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51245, cs_id=2147534598, proxy_sessid=12399538384371156332, ss_id=34156, server_sessid=3221757161, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:17.409217] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51245, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:17.409230] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:17.409236] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51245, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:17.409254] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34156, server_sessid:3221757161, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534598, proxy_sessid:12399538384371156332, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534598, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:17.409484] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=221] [dc=0] server session is closing(ss_id=34156, server_sessid=3221757161, server_ip={172.20.2.117:2881}, cs_id=2147534598, proxy_sessid=12399538384371156332) [2022-07-29 14:27:17.409521] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534598, proxy_sessid=12399538384371156332, client_vc=NULL) [2022-07-29 14:27:17.409554] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51245) [2022-07-29 14:27:17.409583] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:17.409599] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:17.409607] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:17.409618] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:17.409643] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:17.409654] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:17.409668] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17079, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076037405852469, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:17.409689] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17079, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076037405852469, server_state_version:0}) [2022-07-29 14:27:17.409723] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:17.409761] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:17.409803] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17079, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076037405852469, server_state_version:0}) [2022-07-29 14:27:17.409842] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:17.410019] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:27:17.410043] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51243, ret=-4152) [2022-07-29 14:27:17.410054] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:17.410042] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF16944F240] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:17.410064] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51243, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:17.410084] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:17.410109] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:17.410129] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:17.410142] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:17.410151] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session destroy(cs_id=50948, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:17.410148] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:17.410182] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51243) [2022-07-29 14:27:22.266356] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=77] [dc=0] connection accepted(client={172.20.2.46:51142}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:27:22.266520] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51142}) [2022-07-29 14:27:22.266616] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] client session born(cs_id=50951, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51142") [2022-07-29 14:27:22.266695] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] Starting new transaction using sm(cs_id=50951, get_transact_count()=0, sm_id=51246) [2022-07-29 14:27:22.266713] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:22.354211] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:22.354253] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51142}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:22.354281] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:22.354296] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:22.354314] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:27:22.354328] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17080) [2022-07-29 14:27:22.354521] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076042354510, last_valid_time_us:1659076042354312, last_access_time_us:1659076042354312, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:22.354625] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:22.354670] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534600) [2022-07-29 14:27:22.354692] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=2147534600, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:22.354723] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534600, get_transact_count()=0, sm_id=51247) [2022-07-29 14:27:22.354755] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:22.354858] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:22.355077] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34157, server_ip={172.20.2.117:2881}, cs_id=2147534600, proxy_sessid=0, server_type=1) [2022-07-29 14:27:22.355436] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534600, proxy_sessid=12399538384371156333, server_ip={172.20.2.117:2881}, ss_id=34157, server_sessid=3221757164, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44366") [2022-07-29 14:27:22.356548] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51247, cs_id=2147534600, proxy_sessid=12399538384371156333, ss_id=34157, server_sessid=3221757164, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:22.356677] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=101] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51247, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:22.356689] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:22.356698] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51247, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:22.356728] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session do_io_close((*this={ss_id:34157, server_sessid:3221757164, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534600, proxy_sessid:12399538384371156333, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534600, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:22.356951] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=214] [dc=0] server session is closing(ss_id=34157, server_sessid=3221757164, server_ip={172.20.2.117:2881}, cs_id=2147534600, proxy_sessid=12399538384371156333) [2022-07-29 14:27:22.357003] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session destroy(cs_id=2147534600, proxy_sessid=12399538384371156333, client_vc=NULL) [2022-07-29 14:27:22.357038] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51247) [2022-07-29 14:27:22.357069] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:22.357091] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:22.357100] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:22.357113] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:22.357135] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:22.357147] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:22.357159] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:22.357166] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:22.357304] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:22.357328] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:22.357359] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534601) [2022-07-29 14:27:22.357385] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534601, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:22.357421] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534601, get_transact_count()=0, sm_id=51248) [2022-07-29 14:27:22.357434] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:22.357516] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:22.357665] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34158, server_ip={172.20.2.117:2881}, cs_id=2147534601, proxy_sessid=0, server_type=1) [2022-07-29 14:27:22.358029] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534601, proxy_sessid=12399538384371156334, server_ip={172.20.2.117:2881}, ss_id=34158, server_sessid=3221757165, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44368") [2022-07-29 14:27:22.359196] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51248, cs_id=2147534601, proxy_sessid=12399538384371156334, ss_id=34158, server_sessid=3221757165, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:22.359254] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51248, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:22.359261] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:22.359264] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51248, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:22.359272] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34158, server_sessid:3221757165, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534601, proxy_sessid:12399538384371156334, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534601, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:22.359365] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] server session is closing(ss_id=34158, server_sessid=3221757165, server_ip={172.20.2.117:2881}, cs_id=2147534601, proxy_sessid=12399538384371156334) [2022-07-29 14:27:22.359384] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534601, proxy_sessid=12399538384371156334, client_vc=NULL) [2022-07-29 14:27:22.359395] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51248) [2022-07-29 14:27:22.359405] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:22.359410] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:22.359414] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:22.359420] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:22.359425] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:22.359431] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:22.359440] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17080, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076042356707245, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:22.359454] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17080, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076042356707245, server_state_version:0}) [2022-07-29 14:27:22.359473] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:22.359496] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:22.359526] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17080, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076042356707245, server_state_version:0}) [2022-07-29 14:27:22.359539] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:22.359630] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:27:22.359644] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] data is NULL(sm_id=51246, ret=-4152) [2022-07-29 14:27:22.359686] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:22.359692] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51246, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:22.359680] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:22.359710] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:22.359728] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=50951, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:22.359734] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:22.359752] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51246) [2022-07-29 14:27:22.359747] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:22.359762] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:22.359769] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:32.482877] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51148}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:27:32.483072] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51148}) [2022-07-29 14:27:32.483179] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=50954, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51148") [2022-07-29 14:27:32.483227] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50954, get_transact_count()=0, sm_id=51249) [2022-07-29 14:27:32.483260] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:32.558498] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:32.558538] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51148}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:32.558565] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:32.558580] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:32.558598] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:27:32.558612] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17081) [2022-07-29 14:27:32.558812] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076052558801, last_valid_time_us:1659076052558596, last_access_time_us:1659076052558596, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:32.558941] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=126] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:32.558988] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534603) [2022-07-29 14:27:32.559019] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534603, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:32.559049] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534603, get_transact_count()=0, sm_id=51250) [2022-07-29 14:27:32.559066] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:32.559173] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:32.559356] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34159, server_ip={172.20.2.118:2881}, cs_id=2147534603, proxy_sessid=0, server_type=1) [2022-07-29 14:27:32.559880] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534603, proxy_sessid=12399538384371156335, server_ip={172.20.2.118:2881}, ss_id=34159, server_sessid=3222023399, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41324") [2022-07-29 14:27:32.562045] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] finishing mysql tunnel((sm_id=51250, cs_id=2147534603, proxy_sessid=12399538384371156335, ss_id=34159, server_sessid=3222023399, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:32.562145] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51250, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:32.562171] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:32.562179] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51250, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:32.562194] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34159, server_sessid:3222023399, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534603, proxy_sessid:12399538384371156335, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534603, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:32.562379] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=176] [dc=0] server session is closing(ss_id=34159, server_sessid=3222023399, server_ip={172.20.2.118:2881}, cs_id=2147534603, proxy_sessid=12399538384371156335) [2022-07-29 14:27:32.562414] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534603, proxy_sessid=12399538384371156335, client_vc=NULL) [2022-07-29 14:27:32.562447] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51250) [2022-07-29 14:27:32.562464] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:32.562485] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:32.562494] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:32.562506] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:32.562521] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:32.562532] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:32.562542] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:32.562549] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:32.562677] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:32.562701] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:32.562752] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] proxy mysql client session born(cs_id=2147534604) [2022-07-29 14:27:32.562776] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534604, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:32.562804] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] Starting new transaction using sm(cs_id=2147534604, get_transact_count()=0, sm_id=51251) [2022-07-29 14:27:32.562815] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:32.562960] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:32.563086] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34160, server_ip={172.20.2.116:2881}, cs_id=2147534604, proxy_sessid=0, server_type=1) [2022-07-29 14:27:32.563614] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534604, proxy_sessid=12399538384371156336, server_ip={172.20.2.116:2881}, ss_id=34160, server_sessid=3221675680, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36306") [2022-07-29 14:27:32.565313] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51251, cs_id=2147534604, proxy_sessid=12399538384371156336, ss_id=34160, server_sessid=3221675680, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:32.565402] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51251, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:32.565412] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:32.565417] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51251, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:32.565436] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] server session do_io_close((*this={ss_id:34160, server_sessid:3221675680, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534604, proxy_sessid:12399538384371156336, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534604, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:32.565607] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=165] [dc=0] server session is closing(ss_id=34160, server_sessid=3221675680, server_ip={172.20.2.116:2881}, cs_id=2147534604, proxy_sessid=12399538384371156336) [2022-07-29 14:27:32.565638] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534604, proxy_sessid=12399538384371156336, client_vc=NULL) [2022-07-29 14:27:32.565666] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51251) [2022-07-29 14:27:32.565681] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:32.565701] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:32.565709] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:32.565720] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:32.565740] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:32.565750] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:32.565767] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17081, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076052562416419, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:32.565798] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17081, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076052562416419, server_state_version:0}) [2022-07-29 14:27:32.565840] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:32.565876] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:32.565937] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17081, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076052562416419, server_state_version:0}) [2022-07-29 14:27:32.565969] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:32.566095] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:27:32.566118] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51249, ret=-4152) [2022-07-29 14:27:32.566129] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:32.566137] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51249, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:32.566138] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF169450940] [lt=16] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:32.566187] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:32.566213] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client session destroy(cs_id=50954, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:32.566222] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=33] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:32.566237] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:32.566248] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51249) [2022-07-29 14:27:32.566261] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:32.566270] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=8] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:37.442283] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=57] [dc=0] connection accepted(client={172.20.2.46:51154}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:27:37.442363] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51154}) [2022-07-29 14:27:37.442406] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=50957, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51154") [2022-07-29 14:27:37.442428] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=50957, get_transact_count()=0, sm_id=51252) [2022-07-29 14:27:37.442437] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:37.529198] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:37.529235] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51154}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:37.529261] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:37.529274] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:37.529291] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:27:37.529305] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17082) [2022-07-29 14:27:37.529491] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076057529479, last_valid_time_us:1659076057529289, last_access_time_us:1659076057529289, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:37.529602] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:37.529647] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534606) [2022-07-29 14:27:37.529675] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534606, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:37.529716] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534606, get_transact_count()=0, sm_id=51253) [2022-07-29 14:27:37.529742] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:37.529844] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:37.530062] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] server session born(ss_id=34161, server_ip={172.20.2.118:2881}, cs_id=2147534606, proxy_sessid=0, server_type=1) [2022-07-29 14:27:37.530504] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] succ to set proxy_sessid(cs_id=2147534606, proxy_sessid=12399538384371156337, server_ip={172.20.2.118:2881}, ss_id=34161, server_sessid=3222023400, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41328") [2022-07-29 14:27:37.532432] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] finishing mysql tunnel((sm_id=51253, cs_id=2147534606, proxy_sessid=12399538384371156337, ss_id=34161, server_sessid=3222023400, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:37.532531] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51253, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:37.532542] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:37.532547] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51253, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:37.532565] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34161, server_sessid:3222023400, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534606, proxy_sessid:12399538384371156337, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534606, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:37.532734] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=162] [dc=0] server session is closing(ss_id=34161, server_sessid=3222023400, server_ip={172.20.2.118:2881}, cs_id=2147534606, proxy_sessid=12399538384371156337) [2022-07-29 14:27:37.532765] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534606, proxy_sessid=12399538384371156337, client_vc=NULL) [2022-07-29 14:27:37.532783] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51253) [2022-07-29 14:27:37.532798] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:37.532818] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:37.532825] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:37.532836] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:37.532850] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:37.532858] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:37.532868] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:37.532873] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:37.532993] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:37.533012] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:37.533100] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] proxy mysql client session born(cs_id=2147534607) [2022-07-29 14:27:37.533111] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534607, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:37.533133] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534607, get_transact_count()=0, sm_id=51254) [2022-07-29 14:27:37.533153] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:37.533218] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:37.533353] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34162, server_ip={172.20.2.117:2881}, cs_id=2147534607, proxy_sessid=0, server_type=1) [2022-07-29 14:27:37.533796] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534607, proxy_sessid=12399538384371156338, server_ip={172.20.2.117:2881}, ss_id=34162, server_sessid=3221757175, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44376") [2022-07-29 14:27:37.535159] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51254, cs_id=2147534607, proxy_sessid=12399538384371156338, ss_id=34162, server_sessid=3221757175, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:37.535254] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51254, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:37.535263] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:37.535268] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51254, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:37.535285] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34162, server_sessid:3221757175, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534607, proxy_sessid:12399538384371156338, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534607, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:37.535432] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=141] [dc=0] server session is closing(ss_id=34162, server_sessid=3221757175, server_ip={172.20.2.117:2881}, cs_id=2147534607, proxy_sessid=12399538384371156338) [2022-07-29 14:27:37.535457] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534607, proxy_sessid=12399538384371156338, client_vc=NULL) [2022-07-29 14:27:37.535472] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51254) [2022-07-29 14:27:37.535484] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:37.535492] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:37.535499] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:37.535508] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:37.535521] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:37.535529] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:37.535540] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17082, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076057532511943, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:37.535566] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17082, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076057532511943, server_state_version:0}) [2022-07-29 14:27:37.535599] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:37.535632] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:37.535673] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17082, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076057532511943, server_state_version:0}) [2022-07-29 14:27:37.535700] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:37.535812] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:27:37.535827] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] data is NULL(sm_id=51252, ret=-4152) [2022-07-29 14:27:37.535835] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:37.535842] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51252, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:37.535841] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF1691B2A10] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:37.535891] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=50957, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:37.535883] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:37.535907] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:37.535933] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51252) [2022-07-29 14:27:37.535955] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:37.535970] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:37.535978] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:42.381751] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=100] [dc=0] connection accepted(client={172.20.2.46:51158}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:27:42.381857] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51158}) [2022-07-29 14:27:42.381935] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client session born(cs_id=50960, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51158") [2022-07-29 14:27:42.381971] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=50960, get_transact_count()=0, sm_id=51255) [2022-07-29 14:27:42.381989] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:42.460723] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:42.460760] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51158}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:42.460790] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:42.460804] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:42.460822] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:27:42.460848] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17083) [2022-07-29 14:27:42.461093] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076062461080, last_valid_time_us:1659076062460820, last_access_time_us:1659076062460820, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:42.461199] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:42.461246] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534609) [2022-07-29 14:27:42.461274] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534609, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:42.461301] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534609, get_transact_count()=0, sm_id=51256) [2022-07-29 14:27:42.461328] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:42.461449] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:42.461623] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34163, server_ip={172.20.2.118:2881}, cs_id=2147534609, proxy_sessid=0, server_type=1) [2022-07-29 14:27:42.462142] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534609, proxy_sessid=12399538384371156339, server_ip={172.20.2.118:2881}, ss_id=34163, server_sessid=3222023401, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41332") [2022-07-29 14:27:42.464073] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51256, cs_id=2147534609, proxy_sessid=12399538384371156339, ss_id=34163, server_sessid=3222023401, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:42.464192] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51256, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:42.464215] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:42.464233] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51256, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:42.464258] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34163, server_sessid:3222023401, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534609, proxy_sessid:12399538384371156339, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534609, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:42.464461] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=193] [dc=0] server session is closing(ss_id=34163, server_sessid=3222023401, server_ip={172.20.2.118:2881}, cs_id=2147534609, proxy_sessid=12399538384371156339) [2022-07-29 14:27:42.464505] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session destroy(cs_id=2147534609, proxy_sessid=12399538384371156339, client_vc=NULL) [2022-07-29 14:27:42.464539] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51256) [2022-07-29 14:27:42.464569] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:42.464589] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:42.464607] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:42.464620] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:42.464640] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:42.464661] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:42.464682] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:42.464689] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:42.464865] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:42.464896] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:42.465129] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534610) [2022-07-29 14:27:42.465156] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534610, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:42.465192] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534610, get_transact_count()=0, sm_id=51257) [2022-07-29 14:27:42.465215] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:42.465312] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:42.465461] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34164, server_ip={172.20.2.118:2881}, cs_id=2147534610, proxy_sessid=0, server_type=1) [2022-07-29 14:27:42.465951] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534610, proxy_sessid=12399538384371156340, server_ip={172.20.2.118:2881}, ss_id=34164, server_sessid=3222023402, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41334") [2022-07-29 14:27:42.467706] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] finishing mysql tunnel((sm_id=51257, cs_id=2147534610, proxy_sessid=12399538384371156340, ss_id=34164, server_sessid=3222023402, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:42.467805] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51257, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:42.467825] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:42.467831] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51257, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:42.467853] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session do_io_close((*this={ss_id:34164, server_sessid:3222023402, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534610, proxy_sessid:12399538384371156340, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534610, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:42.468033] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=172] [dc=0] server session is closing(ss_id=34164, server_sessid=3222023402, server_ip={172.20.2.118:2881}, cs_id=2147534610, proxy_sessid=12399538384371156340) [2022-07-29 14:27:42.468074] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session destroy(cs_id=2147534610, proxy_sessid=12399538384371156340, client_vc=NULL) [2022-07-29 14:27:42.468101] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51257) [2022-07-29 14:27:42.468125] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:42.468144] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:42.468152] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:42.468171] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:42.468190] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:42.468200] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:42.468222] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17083, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076062464473707, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:42.468250] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17083, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076062464473707, server_state_version:0}) [2022-07-29 14:27:42.468293] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:42.468328] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:42.468364] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17083, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076062464473707, server_state_version:0}) [2022-07-29 14:27:42.468393] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:42.468523] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:27:42.468544] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51255, ret=-4152) [2022-07-29 14:27:42.468554] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:42.468562] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51255, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:42.468562] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF169450940] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:42.468590] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:42.468610] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:42.468620] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:42.468631] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:42.468636] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:42.468639] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50960, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:42.468674] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51255) [2022-07-29 14:27:47.503972] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=36] [dc=0] connection accepted(client={172.20.2.46:51162}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:27:47.504043] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51162}) [2022-07-29 14:27:47.504075] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=50963, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51162") [2022-07-29 14:27:47.504094] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=50963, get_transact_count()=0, sm_id=51258) [2022-07-29 14:27:47.504104] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:47.586687] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:47.586710] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client login audit(client_addr={172.20.2.46:51162}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:47.586727] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:47.586734] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:47.586746] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:27:47.586754] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17084) [2022-07-29 14:27:47.586876] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076067586869, last_valid_time_us:1659076067586745, last_access_time_us:1659076067586745, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:47.586935] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:47.586964] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534612) [2022-07-29 14:27:47.586972] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534612, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:47.586992] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534612, get_transact_count()=0, sm_id=51259) [2022-07-29 14:27:47.587008] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:47.587073] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:47.587168] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] server session born(ss_id=34165, server_ip={172.20.2.116:2881}, cs_id=2147534612, proxy_sessid=0, server_type=1) [2022-07-29 14:27:47.587517] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534612, proxy_sessid=12399538384371156341, server_ip={172.20.2.116:2881}, ss_id=34165, server_sessid=3221675832, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36316") [2022-07-29 14:27:47.588743] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51259, cs_id=2147534612, proxy_sessid=12399538384371156341, ss_id=34165, server_sessid=3221675832, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:47.588801] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51259, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:47.588807] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:47.588810] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51259, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:47.588818] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34165, server_sessid:3221675832, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534612, proxy_sessid:12399538384371156341, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534612, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:47.588913] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] server session is closing(ss_id=34165, server_sessid=3221675832, server_ip={172.20.2.116:2881}, cs_id=2147534612, proxy_sessid=12399538384371156341) [2022-07-29 14:27:47.588946] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session destroy(cs_id=2147534612, proxy_sessid=12399538384371156341, client_vc=NULL) [2022-07-29 14:27:47.588959] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51259) [2022-07-29 14:27:47.588970] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:47.588975] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:47.588979] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:47.588986] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:47.588992] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:47.588996] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:47.589002] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:47.589007] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:47.589118] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:47.589137] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:47.589155] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534613) [2022-07-29 14:27:47.589163] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534613, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:47.589179] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534613, get_transact_count()=0, sm_id=51260) [2022-07-29 14:27:47.589193] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:47.589254] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:47.589354] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session born(ss_id=34166, server_ip={172.20.2.117:2881}, cs_id=2147534613, proxy_sessid=0, server_type=1) [2022-07-29 14:27:47.589615] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534613, proxy_sessid=12399538384371156342, server_ip={172.20.2.117:2881}, ss_id=34166, server_sessid=3221757182, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44384") [2022-07-29 14:27:47.591218] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51260, cs_id=2147534613, proxy_sessid=12399538384371156342, ss_id=34166, server_sessid=3221757182, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:47.591274] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51260, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:47.591281] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:47.591285] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51260, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:47.591298] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34166, server_sessid:3221757182, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534613, proxy_sessid:12399538384371156342, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534613, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:47.591407] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] server session is closing(ss_id=34166, server_sessid=3221757182, server_ip={172.20.2.117:2881}, cs_id=2147534613, proxy_sessid=12399538384371156342) [2022-07-29 14:27:47.591426] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534613, proxy_sessid=12399538384371156342, client_vc=NULL) [2022-07-29 14:27:47.591440] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51260) [2022-07-29 14:27:47.591450] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:47.591464] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:47.591475] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:47.591482] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:47.591488] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:47.591495] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:47.591504] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17084, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076067588789087, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:47.591524] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17084, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076067588789087, server_state_version:0}) [2022-07-29 14:27:47.591547] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:47.591573] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:47.591598] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17084, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076067588789087, server_state_version:0}) [2022-07-29 14:27:47.591612] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:47.591713] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:27:47.591729] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] data is NULL(sm_id=51258, ret=-4152) [2022-07-29 14:27:47.591736] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:47.591742] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51258, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:47.591755] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF1691B2A10] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:47.591781] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=50963, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:47.591785] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:47.591805] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51258) [2022-07-29 14:27:47.591824] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:47.591850] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:47.591864] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:47.591870] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:52.538518] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=43] [dc=0] connection accepted(client={172.20.2.46:51164}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:27:52.538594] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51164}) [2022-07-29 14:27:52.538628] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=50966, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51164") [2022-07-29 14:27:52.538649] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=50966, get_transact_count()=0, sm_id=51261) [2022-07-29 14:27:52.538660] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:52.619412] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:52.619460] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client login audit(client_addr={172.20.2.46:51164}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:52.619489] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:52.619504] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:52.619521] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:27:52.619535] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17085) [2022-07-29 14:27:52.619730] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076072619718, last_valid_time_us:1659076072619520, last_access_time_us:1659076072619520, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:52.619839] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:52.619885] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534615) [2022-07-29 14:27:52.619914] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534615, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:52.619985] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] Starting new transaction using sm(cs_id=2147534615, get_transact_count()=0, sm_id=51262) [2022-07-29 14:27:52.620006] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:52.620114] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:52.620279] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34167, server_ip={172.20.2.118:2881}, cs_id=2147534615, proxy_sessid=0, server_type=1) [2022-07-29 14:27:52.620774] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534615, proxy_sessid=12399538384371156343, server_ip={172.20.2.118:2881}, ss_id=34167, server_sessid=3222023403, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41340") [2022-07-29 14:27:52.622604] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] finishing mysql tunnel((sm_id=51262, cs_id=2147534615, proxy_sessid=12399538384371156343, ss_id=34167, server_sessid=3222023403, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:52.622686] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51262, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:52.622695] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:52.622700] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51262, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:52.622721] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] server session do_io_close((*this={ss_id:34167, server_sessid:3222023403, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534615, proxy_sessid:12399538384371156343, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534615, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:52.622864] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=137] [dc=0] server session is closing(ss_id=34167, server_sessid=3222023403, server_ip={172.20.2.118:2881}, cs_id=2147534615, proxy_sessid=12399538384371156343) [2022-07-29 14:27:52.622892] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534615, proxy_sessid=12399538384371156343, client_vc=NULL) [2022-07-29 14:27:52.622934] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] deallocating sm(sm_id=51262) [2022-07-29 14:27:52.622949] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:52.622957] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:52.622962] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:52.622970] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:52.622978] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:52.622986] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:52.622994] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:52.622999] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:52.623046] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:52.623064] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:52.623085] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534616) [2022-07-29 14:27:52.623094] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session born(cs_id=2147534616, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:52.623122] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=2147534616, get_transact_count()=0, sm_id=51263) [2022-07-29 14:27:52.623131] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:52.623190] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:52.623295] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] server session born(ss_id=34168, server_ip={172.20.2.118:2881}, cs_id=2147534616, proxy_sessid=0, server_type=1) [2022-07-29 14:27:52.624231] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534616, proxy_sessid=12399538384371156344, server_ip={172.20.2.118:2881}, ss_id=34168, server_sessid=3222023404, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41342") [2022-07-29 14:27:52.626029] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51263, cs_id=2147534616, proxy_sessid=12399538384371156344, ss_id=34168, server_sessid=3222023404, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:52.626133] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51263, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:52.626144] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:52.626151] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51263, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:52.626176] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34168, server_sessid:3222023404, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534616, proxy_sessid:12399538384371156344, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534616, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:52.626351] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=168] [dc=0] server session is closing(ss_id=34168, server_sessid=3222023404, server_ip={172.20.2.118:2881}, cs_id=2147534616, proxy_sessid=12399538384371156344) [2022-07-29 14:27:52.626383] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534616, proxy_sessid=12399538384371156344, client_vc=NULL) [2022-07-29 14:27:52.626413] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51263) [2022-07-29 14:27:52.626427] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:52.626447] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:52.626455] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:52.626465] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:52.626485] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:52.626494] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:52.626518] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17085, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076072622903592, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:52.626549] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17085, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076072622903592, server_state_version:0}) [2022-07-29 14:27:52.626592] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:52.626628] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:52.626672] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17085, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076072622903592, server_state_version:0}) [2022-07-29 14:27:52.626703] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:52.626831] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:27:52.626852] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51261, ret=-4152) [2022-07-29 14:27:52.626863] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:52.626871] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51261, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:52.626874] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF169450940] [lt=26] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:52.626908] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:52.626959] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50966, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:52.626981] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=71] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:52.626995] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51261) [2022-07-29 14:27:52.627006] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:52.627031] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:52.627038] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:57.703215] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=32] [dc=0] connection accepted(client={172.20.2.46:51168}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:27:57.703371] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51168}) [2022-07-29 14:27:57.703460] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] client session born(cs_id=50969, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51168") [2022-07-29 14:27:57.703520] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50969, get_transact_count()=0, sm_id=51264) [2022-07-29 14:27:57.703550] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:57.785783] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:27:57.785874] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] client login audit(client_addr={172.20.2.46:51168}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:27:57.785901] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:27:57.785915] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:57.785961] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:27:57.785989] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17086) [2022-07-29 14:27:57.786199] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076077786189, last_valid_time_us:1659076077785959, last_access_time_us:1659076077785959, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:27:57.786303] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:57.786348] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534618) [2022-07-29 14:27:57.786376] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534618, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:57.786421] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534618, get_transact_count()=0, sm_id=51265) [2022-07-29 14:27:57.786450] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:57.786566] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:57.786727] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34169, server_ip={172.20.2.116:2881}, cs_id=2147534618, proxy_sessid=0, server_type=1) [2022-07-29 14:27:57.787065] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534618, proxy_sessid=12399538384371156345, server_ip={172.20.2.116:2881}, ss_id=34169, server_sessid=3221675933, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36324") [2022-07-29 14:27:57.788202] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] finishing mysql tunnel((sm_id=51265, cs_id=2147534618, proxy_sessid=12399538384371156345, ss_id=34169, server_sessid=3221675933, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:57.788256] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51265, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:57.788265] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:57.788269] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51265, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:57.788275] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34169, server_sessid:3221675933, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534618, proxy_sessid:12399538384371156345, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534618, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:27:57.788358] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] server session is closing(ss_id=34169, server_sessid=3221675933, server_ip={172.20.2.116:2881}, cs_id=2147534618, proxy_sessid=12399538384371156345) [2022-07-29 14:27:57.788380] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534618, proxy_sessid=12399538384371156345, client_vc=NULL) [2022-07-29 14:27:57.788397] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51265) [2022-07-29 14:27:57.788408] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:57.788417] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:57.788420] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:57.788426] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:57.788434] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:57.788439] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:57.788444] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:27:57.788448] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:57.788551] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:27:57.788559] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:27:57.788578] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534619) [2022-07-29 14:27:57.788589] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534619, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:27:57.788611] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534619, get_transact_count()=0, sm_id=51266) [2022-07-29 14:27:57.788621] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:27:57.788674] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:27:57.788758] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session born(ss_id=34170, server_ip={172.20.2.117:2881}, cs_id=2147534619, proxy_sessid=0, server_type=1) [2022-07-29 14:27:57.789185] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] succ to set proxy_sessid(cs_id=2147534619, proxy_sessid=12399538384371156346, server_ip={172.20.2.117:2881}, ss_id=34170, server_sessid=3221757191, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44392") [2022-07-29 14:27:57.790549] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51266, cs_id=2147534619, proxy_sessid=12399538384371156346, ss_id=34170, server_sessid=3221757191, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:27:57.790668] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51266, client_vc=0x7ff1684bb5e0) [2022-07-29 14:27:57.790692] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:27:57.790699] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51266, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:27:57.790727] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34170, server_sessid:3221757191, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534619, proxy_sessid:12399538384371156346, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534619, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:27:57.790970] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=234] [dc=0] server session is closing(ss_id=34170, server_sessid=3221757191, server_ip={172.20.2.117:2881}, cs_id=2147534619, proxy_sessid=12399538384371156346) [2022-07-29 14:27:57.791021] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session destroy(cs_id=2147534619, proxy_sessid=12399538384371156346, client_vc=NULL) [2022-07-29 14:27:57.791042] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51266) [2022-07-29 14:27:57.791060] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:27:57.791082] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:27:57.791091] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:27:57.791114] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:27:57.791138] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:27:57.791150] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:27:57.791164] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17086, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076077788237063, server_state_version:0}, pending_list_count=0) [2022-07-29 14:27:57.791196] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17086, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076077788237063, server_state_version:0}) [2022-07-29 14:27:57.791243] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:57.791280] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:27:57.791327] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17086, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076077788237063, server_state_version:0}) [2022-07-29 14:27:57.791361] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:27:57.791510] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:27:57.791520] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF1691B2A10] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:27:57.791534] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51264, ret=-4152) [2022-07-29 14:27:57.791546] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:27:57.791543] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=17] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:57.791555] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51264, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:27:57.791564] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:27:57.791574] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:27:57.791587] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:27:57.791593] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:27:57.791615] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50969, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:27:57.791663] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51264) [2022-07-29 14:28:02.781099] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=35] [dc=0] connection accepted(client={172.20.2.46:51172}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:28:02.781247] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51172}) [2022-07-29 14:28:02.781315] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client session born(cs_id=50972, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51172") [2022-07-29 14:28:02.781380] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] Starting new transaction using sm(cs_id=50972, get_transact_count()=0, sm_id=51267) [2022-07-29 14:28:02.781398] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:02.864176] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:02.864213] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51172}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:02.864273] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:02.864286] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:02.864302] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:28:02.864315] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17087) [2022-07-29 14:28:02.864491] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076082864480, last_valid_time_us:1659076082864409, last_access_time_us:1659076082864409, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:02.864583] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:02.864627] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534621) [2022-07-29 14:28:02.864653] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534621, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:02.864692] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534621, get_transact_count()=0, sm_id=51268) [2022-07-29 14:28:02.864717] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:02.864817] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:02.865074] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] server session born(ss_id=34171, server_ip={172.20.2.118:2881}, cs_id=2147534621, proxy_sessid=0, server_type=1) [2022-07-29 14:28:02.865563] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] succ to set proxy_sessid(cs_id=2147534621, proxy_sessid=12399538384371156347, server_ip={172.20.2.118:2881}, ss_id=34171, server_sessid=3222023405, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41348") [2022-07-29 14:28:02.867493] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] finishing mysql tunnel((sm_id=51268, cs_id=2147534621, proxy_sessid=12399538384371156347, ss_id=34171, server_sessid=3222023405, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:02.867620] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51268, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:02.867633] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:02.867640] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51268, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:02.867655] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34171, server_sessid:3222023405, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534621, proxy_sessid:12399538384371156347, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534621, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:02.867862] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] server session is closing(ss_id=34171, server_sessid=3222023405, server_ip={172.20.2.118:2881}, cs_id=2147534621, proxy_sessid=12399538384371156347) [2022-07-29 14:28:02.867915] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534621, proxy_sessid=12399538384371156347, client_vc=NULL) [2022-07-29 14:28:02.867978] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] deallocating sm(sm_id=51268) [2022-07-29 14:28:02.868009] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:02.868030] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:02.868039] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:02.868052] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:02.868075] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:02.868086] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:02.868097] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:02.868105] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:02.868342] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:02.868367] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:02.868405] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534622) [2022-07-29 14:28:02.868431] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534622, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:02.868459] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534622, get_transact_count()=0, sm_id=51269) [2022-07-29 14:28:02.868483] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:02.868582] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:02.868751] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34172, server_ip={172.20.2.117:2881}, cs_id=2147534622, proxy_sessid=0, server_type=1) [2022-07-29 14:28:02.869129] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534622, proxy_sessid=12399538384371156348, server_ip={172.20.2.117:2881}, ss_id=34172, server_sessid=3221757194, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44396") [2022-07-29 14:28:02.870257] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51269, cs_id=2147534622, proxy_sessid=12399538384371156348, ss_id=34172, server_sessid=3221757194, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:02.870370] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51269, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:02.870381] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:02.870393] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51269, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:02.870407] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34172, server_sessid:3221757194, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534622, proxy_sessid:12399538384371156348, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534622, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:02.870599] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=183] [dc=0] server session is closing(ss_id=34172, server_sessid=3221757194, server_ip={172.20.2.117:2881}, cs_id=2147534622, proxy_sessid=12399538384371156348) [2022-07-29 14:28:02.870635] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534622, proxy_sessid=12399538384371156348, client_vc=NULL) [2022-07-29 14:28:02.870665] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51269) [2022-07-29 14:28:02.870680] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:02.870701] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:02.870710] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:02.870721] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:02.870732] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:02.870742] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:02.870756] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17087, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076082867746711, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:02.870776] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17087, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076082867746711, server_state_version:0}) [2022-07-29 14:28:02.870816] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:02.870856] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:02.870893] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17087, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076082867746711, server_state_version:0}) [2022-07-29 14:28:02.870942] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:02.871079] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:28:02.871101] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] data is NULL(sm_id=51267, ret=-4152) [2022-07-29 14:28:02.871112] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:02.871114] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF169450940] [lt=25] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:02.871122] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51267, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:02.871136] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:02.871156] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:02.871167] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:02.871180] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:02.871185] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=50972, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:02.871186] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:02.871226] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] deallocating sm(sm_id=51267) [2022-07-29 14:28:08.606107] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51176}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:28:08.606270] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51176}) [2022-07-29 14:28:08.606357] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] client session born(cs_id=50975, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51176") [2022-07-29 14:28:08.606406] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=50975, get_transact_count()=0, sm_id=51270) [2022-07-29 14:28:08.606436] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:08.682126] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:08.682166] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51176}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:08.682194] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:08.682208] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:08.682227] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:28:08.682241] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17088) [2022-07-29 14:28:08.682438] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076088682426, last_valid_time_us:1659076088682269, last_access_time_us:1659076088682269, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:08.682544] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:08.682590] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534624) [2022-07-29 14:28:08.682621] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534624, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:08.682650] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534624, get_transact_count()=0, sm_id=51271) [2022-07-29 14:28:08.682678] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:08.682784] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:08.682978] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34173, server_ip={172.20.2.118:2881}, cs_id=2147534624, proxy_sessid=0, server_type=1) [2022-07-29 14:28:08.683376] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534624, proxy_sessid=12399538384371156349, server_ip={172.20.2.118:2881}, ss_id=34173, server_sessid=3222023406, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41352") [2022-07-29 14:28:08.684988] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] finishing mysql tunnel((sm_id=51271, cs_id=2147534624, proxy_sessid=12399538384371156349, ss_id=34173, server_sessid=3222023406, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:08.685037] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51271, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:08.685048] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:08.685051] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51271, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:08.685058] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] server session do_io_close((*this={ss_id:34173, server_sessid:3222023406, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534624, proxy_sessid:12399538384371156349, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534624, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:08.685135] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] server session is closing(ss_id=34173, server_sessid=3222023406, server_ip={172.20.2.118:2881}, cs_id=2147534624, proxy_sessid=12399538384371156349) [2022-07-29 14:28:08.685154] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534624, proxy_sessid=12399538384371156349, client_vc=NULL) [2022-07-29 14:28:08.685164] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] deallocating sm(sm_id=51271) [2022-07-29 14:28:08.685175] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:08.685179] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:08.685183] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:08.685189] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:08.685193] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:08.685198] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:08.685202] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:08.685205] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:08.685324] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:08.685337] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:08.685362] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534625) [2022-07-29 14:28:08.685376] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session born(cs_id=2147534625, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:08.685391] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534625, get_transact_count()=0, sm_id=51272) [2022-07-29 14:28:08.685396] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:08.685433] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:08.685489] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session born(ss_id=34174, server_ip={172.20.2.116:2881}, cs_id=2147534625, proxy_sessid=0, server_type=1) [2022-07-29 14:28:08.685970] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] succ to set proxy_sessid(cs_id=2147534625, proxy_sessid=12399538384371156350, server_ip={172.20.2.116:2881}, ss_id=34174, server_sessid=3221676040, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36334") [2022-07-29 14:28:08.687327] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] finishing mysql tunnel((sm_id=51272, cs_id=2147534625, proxy_sessid=12399538384371156350, ss_id=34174, server_sessid=3221676040, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:08.687359] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51272, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:08.687363] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:08.687366] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51272, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:08.687370] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] server session do_io_close((*this={ss_id:34174, server_sessid:3221676040, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534625, proxy_sessid:12399538384371156350, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534625, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:08.687427] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] server session is closing(ss_id=34174, server_sessid=3221676040, server_ip={172.20.2.116:2881}, cs_id=2147534625, proxy_sessid=12399538384371156350) [2022-07-29 14:28:08.687438] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534625, proxy_sessid=12399538384371156350, client_vc=NULL) [2022-07-29 14:28:08.687444] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] deallocating sm(sm_id=51272) [2022-07-29 14:28:08.687449] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:08.687454] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:08.687457] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:08.687461] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:08.687465] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:08.687468] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:08.687473] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17088, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076088685024369, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:08.687481] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17088, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076088685024369, server_state_version:0}) [2022-07-29 14:28:08.687495] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:08.687512] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:08.687534] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17088, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076088685024369, server_state_version:0}) [2022-07-29 14:28:08.687552] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:08.687627] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:28:08.687638] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] data is NULL(sm_id=51270, ret=-4152) [2022-07-29 14:28:08.687643] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:08.687646] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51270, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:08.687674] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session destroy(cs_id=50975, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:08.687693] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51270) [2022-07-29 14:28:08.687675] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF1691B2A10] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:08.687706] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:08.687744] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=36] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:08.687758] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:08.687782] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:08.687789] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:14.043621] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51178}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:28:14.043740] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51178}) [2022-07-29 14:28:14.043849] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=50978, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51178") [2022-07-29 14:28:14.043893] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=50978, get_transact_count()=0, sm_id=51273) [2022-07-29 14:28:14.043963] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:14.126560] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:14.126590] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51178}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:14.126609] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:14.126617] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:14.126629] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:28:14.126638] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17089) [2022-07-29 14:28:14.126825] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076094126815, last_valid_time_us:1659076094126628, last_access_time_us:1659076094126628, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:14.126910] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=83] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:14.126960] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] proxy mysql client session born(cs_id=2147534627) [2022-07-29 14:28:14.126977] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session born(cs_id=2147534627, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:14.127010] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] Starting new transaction using sm(cs_id=2147534627, get_transact_count()=0, sm_id=51274) [2022-07-29 14:28:14.127032] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:14.127139] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:14.127282] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] server session born(ss_id=34175, server_ip={172.20.2.117:2881}, cs_id=2147534627, proxy_sessid=0, server_type=1) [2022-07-29 14:28:14.127773] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534627, proxy_sessid=12399538384371156351, server_ip={172.20.2.117:2881}, ss_id=34175, server_sessid=3221757199, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44402") [2022-07-29 14:28:14.129407] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] finishing mysql tunnel((sm_id=51274, cs_id=2147534627, proxy_sessid=12399538384371156351, ss_id=34175, server_sessid=3221757199, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:14.129537] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51274, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:14.129561] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:14.129569] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51274, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:14.129609] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session do_io_close((*this={ss_id:34175, server_sessid:3221757199, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534627, proxy_sessid:12399538384371156351, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534627, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:14.129815] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] server session is closing(ss_id=34175, server_sessid=3221757199, server_ip={172.20.2.117:2881}, cs_id=2147534627, proxy_sessid=12399538384371156351) [2022-07-29 14:28:14.129870] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client session destroy(cs_id=2147534627, proxy_sessid=12399538384371156351, client_vc=NULL) [2022-07-29 14:28:14.129907] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51274) [2022-07-29 14:28:14.129949] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:14.129970] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:14.129979] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:14.130003] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:14.130026] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:14.130037] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:14.130060] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:14.130068] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:14.130198] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:14.130221] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:14.130289] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534628) [2022-07-29 14:28:14.130317] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534628, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:14.130343] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534628, get_transact_count()=0, sm_id=51275) [2022-07-29 14:28:14.130370] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:14.130463] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:14.130612] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34176, server_ip={172.20.2.118:2881}, cs_id=2147534628, proxy_sessid=0, server_type=1) [2022-07-29 14:28:14.131192] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534628, proxy_sessid=12399538384371156352, server_ip={172.20.2.118:2881}, ss_id=34176, server_sessid=3222023407, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41358") [2022-07-29 14:28:14.133417] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51275, cs_id=2147534628, proxy_sessid=12399538384371156352, ss_id=34176, server_sessid=3222023407, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:14.133521] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51275, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:14.133531] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:14.133537] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51275, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:14.133551] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34176, server_sessid:3222023407, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534628, proxy_sessid:12399538384371156352, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534628, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:14.133736] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=179] [dc=0] server session is closing(ss_id=34176, server_sessid=3222023407, server_ip={172.20.2.118:2881}, cs_id=2147534628, proxy_sessid=12399538384371156352) [2022-07-29 14:28:14.133767] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534628, proxy_sessid=12399538384371156352, client_vc=NULL) [2022-07-29 14:28:14.133784] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51275) [2022-07-29 14:28:14.133798] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:14.133811] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:14.133819] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:14.133852] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:14.133864] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:14.133874] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:14.133898] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17089, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076094129508995, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:14.133947] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17089, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076094129508995, server_state_version:0}) [2022-07-29 14:28:14.133989] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:14.134027] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:14.134079] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17089, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076094129508995, server_state_version:0}) [2022-07-29 14:28:14.134101] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:14.134250] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:28:14.134274] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51273, ret=-4152) [2022-07-29 14:28:14.134285] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:14.134295] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51273, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:14.134297] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:14.134328] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:14.134353] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:14.134365] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:14.134379] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50978, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:14.134394] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:14.134403] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:14.134418] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51273) [2022-07-29 14:28:19.768397] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=48] [dc=0] connection accepted(client={172.20.2.46:51182}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:28:19.768535] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51182}) [2022-07-29 14:28:19.768611] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client session born(cs_id=50981, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51182") [2022-07-29 14:28:19.768657] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=50981, get_transact_count()=0, sm_id=51276) [2022-07-29 14:28:19.768674] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:19.851264] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:19.851298] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] client login audit(client_addr={172.20.2.46:51182}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:19.851317] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:19.851325] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:19.851338] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:28:19.851348] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17090) [2022-07-29 14:28:19.851490] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076099851481, last_valid_time_us:1659076099851337, last_access_time_us:1659076099851337, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:19.851554] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:19.851587] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534630) [2022-07-29 14:28:19.851597] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534630, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:19.851629] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] Starting new transaction using sm(cs_id=2147534630, get_transact_count()=0, sm_id=51277) [2022-07-29 14:28:19.851647] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:19.851720] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:19.851833] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session born(ss_id=34177, server_ip={172.20.2.116:2881}, cs_id=2147534630, proxy_sessid=0, server_type=1) [2022-07-29 14:28:19.852331] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] succ to set proxy_sessid(cs_id=2147534630, proxy_sessid=12399538384371156353, server_ip={172.20.2.116:2881}, ss_id=34177, server_sessid=3221676143, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36340") [2022-07-29 14:28:19.854094] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51277, cs_id=2147534630, proxy_sessid=12399538384371156353, ss_id=34177, server_sessid=3221676143, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:19.854213] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51277, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:19.854227] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:19.854240] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51277, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:19.854257] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34177, server_sessid:3221676143, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534630, proxy_sessid:12399538384371156353, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534630, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:19.854483] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=217] [dc=0] server session is closing(ss_id=34177, server_sessid=3221676143, server_ip={172.20.2.116:2881}, cs_id=2147534630, proxy_sessid=12399538384371156353) [2022-07-29 14:28:19.854520] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534630, proxy_sessid=12399538384371156353, client_vc=NULL) [2022-07-29 14:28:19.854543] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51277) [2022-07-29 14:28:19.854576] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:19.854587] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:19.854595] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:19.854609] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:19.854619] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:19.854630] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:19.854655] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:19.854663] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:19.854871] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:19.854898] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:19.854954] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534631) [2022-07-29 14:28:19.854969] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534631, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:19.854994] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534631, get_transact_count()=0, sm_id=51278) [2022-07-29 14:28:19.855013] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:19.855097] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:19.855252] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34178, server_ip={172.20.2.116:2881}, cs_id=2147534631, proxy_sessid=0, server_type=1) [2022-07-29 14:28:19.855694] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534631, proxy_sessid=12399538384371156354, server_ip={172.20.2.116:2881}, ss_id=34178, server_sessid=3221676144, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36342") [2022-07-29 14:28:19.857152] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51278, cs_id=2147534631, proxy_sessid=12399538384371156354, ss_id=34178, server_sessid=3221676144, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:19.857250] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=76] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51278, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:19.857271] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:19.857277] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51278, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:19.857295] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session do_io_close((*this={ss_id:34178, server_sessid:3221676144, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534631, proxy_sessid:12399538384371156354, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534631, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:19.857457] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=155] [dc=0] server session is closing(ss_id=34178, server_sessid=3221676144, server_ip={172.20.2.116:2881}, cs_id=2147534631, proxy_sessid=12399538384371156354) [2022-07-29 14:28:19.857487] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534631, proxy_sessid=12399538384371156354, client_vc=NULL) [2022-07-29 14:28:19.857515] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51278) [2022-07-29 14:28:19.857529] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:19.857550] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:19.857558] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:19.857567] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:19.857576] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:19.857584] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:19.857597] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17090, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076099854191127, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:19.857615] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17090, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076099854191127, server_state_version:0}) [2022-07-29 14:28:19.857645] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:19.857668] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:19.857700] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17090, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076099854191127, server_state_version:0}) [2022-07-29 14:28:19.857719] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:19.857819] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:28:19.857841] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51276, ret=-4152) [2022-07-29 14:28:19.857851] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:19.857859] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51276, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:19.857912] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50981, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:19.857982] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] deallocating sm(sm_id=51276) [2022-07-29 14:28:19.858004] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF1691B2A10] [lt=15] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:19.858015] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:19.858040] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:19.858048] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:19.858059] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:19.858064] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:24.776584] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=43] [dc=0] connection accepted(client={172.20.2.46:51184}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:28:24.776720] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51184}) [2022-07-29 14:28:24.776778] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=50984, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51184") [2022-07-29 14:28:24.776810] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=50984, get_transact_count()=0, sm_id=51279) [2022-07-29 14:28:24.776828] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:24.863563] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:24.863593] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client login audit(client_addr={172.20.2.46:51184}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:24.863614] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:24.863621] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:24.863633] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:28:24.863642] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17091) [2022-07-29 14:28:24.863772] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076104863764, last_valid_time_us:1659076104863632, last_access_time_us:1659076104863632, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:24.863825] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:24.863856] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534633) [2022-07-29 14:28:24.863866] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534633, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:24.863886] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534633, get_transact_count()=0, sm_id=51280) [2022-07-29 14:28:24.863903] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:24.863983] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:24.864090] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session born(ss_id=34179, server_ip={172.20.2.116:2881}, cs_id=2147534633, proxy_sessid=0, server_type=1) [2022-07-29 14:28:24.864498] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534633, proxy_sessid=12399538384371156355, server_ip={172.20.2.116:2881}, ss_id=34179, server_sessid=3221676193, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36344") [2022-07-29 14:28:24.865345] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51280, cs_id=2147534633, proxy_sessid=12399538384371156355, ss_id=34179, server_sessid=3221676193, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:24.865416] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51280, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:24.865424] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:24.865430] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51280, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:24.865440] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34179, server_sessid:3221676193, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534633, proxy_sessid:12399538384371156355, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534633, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:24.865579] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=133] [dc=0] server session is closing(ss_id=34179, server_sessid=3221676193, server_ip={172.20.2.116:2881}, cs_id=2147534633, proxy_sessid=12399538384371156355) [2022-07-29 14:28:24.865606] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534633, proxy_sessid=12399538384371156355, client_vc=NULL) [2022-07-29 14:28:24.865621] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51280) [2022-07-29 14:28:24.865644] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:24.865652] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:24.865658] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:24.865668] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:24.865683] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:24.865691] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:24.865699] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:24.865704] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:24.865890] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:24.865908] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:24.865972] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534634) [2022-07-29 14:28:24.865993] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=2147534634, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:24.866010] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534634, get_transact_count()=0, sm_id=51281) [2022-07-29 14:28:24.866018] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:24.866072] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:24.866187] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] server session born(ss_id=34180, server_ip={172.20.2.118:2881}, cs_id=2147534634, proxy_sessid=0, server_type=1) [2022-07-29 14:28:24.866431] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534634, proxy_sessid=12399538384371156356, server_ip={172.20.2.118:2881}, ss_id=34180, server_sessid=3222023408, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41366") [2022-07-29 14:28:24.867760] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=69] [dc=0] finishing mysql tunnel((sm_id=51281, cs_id=2147534634, proxy_sessid=12399538384371156356, ss_id=34180, server_sessid=3222023408, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:24.867914] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=127] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51281, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:24.867954] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:24.867962] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51281, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:24.867988] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34180, server_sessid:3222023408, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534634, proxy_sessid:12399538384371156356, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534634, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:24.868179] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=183] [dc=0] server session is closing(ss_id=34180, server_sessid=3222023408, server_ip={172.20.2.118:2881}, cs_id=2147534634, proxy_sessid=12399538384371156356) [2022-07-29 14:28:24.868213] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534634, proxy_sessid=12399538384371156356, client_vc=NULL) [2022-07-29 14:28:24.868244] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51281) [2022-07-29 14:28:24.868271] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:24.868293] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:24.868301] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:24.868313] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:24.868337] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:24.868347] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:24.868361] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17091, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076104865400815, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:24.868382] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17091, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076104865400815, server_state_version:0}) [2022-07-29 14:28:24.868416] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:24.868442] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:24.868479] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17091, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076104865400815, server_state_version:0}) [2022-07-29 14:28:24.868501] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:24.868651] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:28:24.868674] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51279, ret=-4152) [2022-07-29 14:28:24.868686] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:24.868695] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51279, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:24.868686] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF169450940] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:24.868719] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:24.868744] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:24.868757] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:24.868776] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=50984, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:24.868771] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:24.868812] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51279) [2022-07-29 14:28:24.868831] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=58] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:29.663408] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51188}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:28:29.663547] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51188}) [2022-07-29 14:28:29.663627] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] client session born(cs_id=50987, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51188") [2022-07-29 14:28:29.663672] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=50987, get_transact_count()=0, sm_id=51282) [2022-07-29 14:28:29.663688] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:29.746836] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:29.746890] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] client login audit(client_addr={172.20.2.46:51188}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:29.746938] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:29.746953] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:29.746970] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:28:29.746985] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17092) [2022-07-29 14:28:29.747209] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076109747198, last_valid_time_us:1659076109746968, last_access_time_us:1659076109746968, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:29.747327] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:29.747372] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534636) [2022-07-29 14:28:29.747401] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534636, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:29.747430] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534636, get_transact_count()=0, sm_id=51283) [2022-07-29 14:28:29.747446] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:29.747564] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:29.747749] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] server session born(ss_id=34181, server_ip={172.20.2.117:2881}, cs_id=2147534636, proxy_sessid=0, server_type=1) [2022-07-29 14:28:29.748117] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534636, proxy_sessid=12399538384371156357, server_ip={172.20.2.117:2881}, ss_id=34181, server_sessid=3221757210, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44414") [2022-07-29 14:28:29.749388] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51283, cs_id=2147534636, proxy_sessid=12399538384371156357, ss_id=34181, server_sessid=3221757210, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:29.749476] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51283, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:29.749486] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:29.749492] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51283, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:29.749502] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34181, server_sessid:3221757210, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534636, proxy_sessid:12399538384371156357, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534636, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:29.749649] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=138] [dc=0] server session is closing(ss_id=34181, server_sessid=3221757210, server_ip={172.20.2.117:2881}, cs_id=2147534636, proxy_sessid=12399538384371156357) [2022-07-29 14:28:29.749688] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534636, proxy_sessid=12399538384371156357, client_vc=NULL) [2022-07-29 14:28:29.749716] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] deallocating sm(sm_id=51283) [2022-07-29 14:28:29.749737] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:29.749754] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:29.749760] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:29.749770] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:29.749778] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:29.749788] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:29.749797] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:29.749803] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:29.749969] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:29.749989] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:29.750019] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534637) [2022-07-29 14:28:29.750039] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=2147534637, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:29.750060] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534637, get_transact_count()=0, sm_id=51284) [2022-07-29 14:28:29.750082] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:29.750153] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:29.750306] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34182, server_ip={172.20.2.117:2881}, cs_id=2147534637, proxy_sessid=0, server_type=1) [2022-07-29 14:28:29.750732] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534637, proxy_sessid=12399538384371156358, server_ip={172.20.2.117:2881}, ss_id=34182, server_sessid=3221757211, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44416") [2022-07-29 14:28:29.751738] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] finishing mysql tunnel((sm_id=51284, cs_id=2147534637, proxy_sessid=12399538384371156358, ss_id=34182, server_sessid=3221757211, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:29.751800] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51284, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:29.751817] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:29.751822] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51284, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:29.751832] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34182, server_sessid:3221757211, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534637, proxy_sessid:12399538384371156358, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534637, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:29.751960] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=123] [dc=0] server session is closing(ss_id=34182, server_sessid=3221757211, server_ip={172.20.2.117:2881}, cs_id=2147534637, proxy_sessid=12399538384371156358) [2022-07-29 14:28:29.751982] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534637, proxy_sessid=12399538384371156358, client_vc=NULL) [2022-07-29 14:28:29.751995] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51284) [2022-07-29 14:28:29.752009] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:29.752016] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:29.752022] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:29.752028] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:29.752039] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:29.752046] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:29.752055] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17092, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076109749454523, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:29.752076] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17092, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076109749454523, server_state_version:0}) [2022-07-29 14:28:29.752099] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:29.752132] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:29.752169] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17092, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076109749454523, server_state_version:0}) [2022-07-29 14:28:29.752191] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:29.752297] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:28:29.752314] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51282, ret=-4152) [2022-07-29 14:28:29.752321] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:29.752327] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51282, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:29.752346] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:29.752367] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=50987, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:29.752373] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:29.752393] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51282) [2022-07-29 14:28:29.752395] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:29.752407] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:29.752437] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:29.752444] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:34.688383] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=63] [dc=0] connection accepted(client={172.20.2.46:51192}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:28:34.688487] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51192}) [2022-07-29 14:28:34.688535] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=50990, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51192") [2022-07-29 14:28:34.688561] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=50990, get_transact_count()=0, sm_id=51285) [2022-07-29 14:28:34.688585] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:34.774197] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:34.774228] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client login audit(client_addr={172.20.2.46:51192}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:34.774244] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:34.774252] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:34.774264] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:28:34.774279] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17093) [2022-07-29 14:28:34.774417] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076114774410, last_valid_time_us:1659076114774262, last_access_time_us:1659076114774262, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:34.774470] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:34.774500] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534639) [2022-07-29 14:28:34.774509] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session born(cs_id=2147534639, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:34.774535] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534639, get_transact_count()=0, sm_id=51286) [2022-07-29 14:28:34.774552] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:34.774616] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:34.774728] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session born(ss_id=34183, server_ip={172.20.2.117:2881}, cs_id=2147534639, proxy_sessid=0, server_type=1) [2022-07-29 14:28:34.775079] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534639, proxy_sessid=12399538384371156359, server_ip={172.20.2.117:2881}, ss_id=34183, server_sessid=3221757214, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44418") [2022-07-29 14:28:34.776095] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] finishing mysql tunnel((sm_id=51286, cs_id=2147534639, proxy_sessid=12399538384371156359, ss_id=34183, server_sessid=3221757214, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:34.776143] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51286, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:34.776148] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:34.776151] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51286, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:34.776159] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] server session do_io_close((*this={ss_id:34183, server_sessid:3221757214, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534639, proxy_sessid:12399538384371156359, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534639, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:34.776257] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] server session is closing(ss_id=34183, server_sessid=3221757214, server_ip={172.20.2.117:2881}, cs_id=2147534639, proxy_sessid=12399538384371156359) [2022-07-29 14:28:34.776276] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534639, proxy_sessid=12399538384371156359, client_vc=NULL) [2022-07-29 14:28:34.776302] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51286) [2022-07-29 14:28:34.776319] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:34.776326] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:34.776331] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:34.776339] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:34.776346] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:34.776352] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:34.776359] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:34.776367] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:34.776594] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:34.776618] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:34.776637] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534640) [2022-07-29 14:28:34.776644] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534640, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:34.776691] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] Starting new transaction using sm(cs_id=2147534640, get_transact_count()=0, sm_id=51287) [2022-07-29 14:28:34.776699] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:34.776746] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:34.776829] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] server session born(ss_id=34184, server_ip={172.20.2.116:2881}, cs_id=2147534640, proxy_sessid=0, server_type=1) [2022-07-29 14:28:34.777202] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534640, proxy_sessid=12399538384371156360, server_ip={172.20.2.116:2881}, ss_id=34184, server_sessid=3221676290, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36354") [2022-07-29 14:28:34.778220] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] finishing mysql tunnel((sm_id=51287, cs_id=2147534640, proxy_sessid=12399538384371156360, ss_id=34184, server_sessid=3221676290, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:34.778275] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51287, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:34.778290] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:34.778294] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51287, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:34.778302] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34184, server_sessid:3221676290, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534640, proxy_sessid:12399538384371156360, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534640, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:34.778409] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] server session is closing(ss_id=34184, server_sessid=3221676290, server_ip={172.20.2.116:2881}, cs_id=2147534640, proxy_sessid=12399538384371156360) [2022-07-29 14:28:34.778435] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534640, proxy_sessid=12399538384371156360, client_vc=NULL) [2022-07-29 14:28:34.778445] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51287) [2022-07-29 14:28:34.778465] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:34.778472] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:34.778476] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:34.778483] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:34.778489] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:34.778495] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:34.778503] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17093, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076114776131836, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:34.778516] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17093, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076114776131836, server_state_version:0}) [2022-07-29 14:28:34.778539] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:34.778555] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:34.778584] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17093, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076114776131836, server_state_version:0}) [2022-07-29 14:28:34.778608] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:34.778703] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:28:34.778710] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] data is NULL(sm_id=51285, ret=-4152) [2022-07-29 14:28:34.778717] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:34.778723] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51285, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:34.778768] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=50990, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:34.778766] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:34.778793] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51285) [2022-07-29 14:28:34.778799] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:34.778824] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:34.778839] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:34.778852] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:34.778858] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:49.818945] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=46] [dc=0] connection accepted(client={172.20.2.46:51198}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:28:49.819184] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51198}) [2022-07-29 14:28:49.819256] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client session born(cs_id=50993, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51198") [2022-07-29 14:28:49.819311] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] Starting new transaction using sm(cs_id=50993, get_transact_count()=0, sm_id=51288) [2022-07-29 14:28:49.819340] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:49.894272] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:49.894314] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51198}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:49.894341] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:49.894356] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:49.894373] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:28:49.894387] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17094) [2022-07-29 14:28:49.894587] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076129894576, last_valid_time_us:1659076129894371, last_access_time_us:1659076129894371, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:49.894692] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:49.894738] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534642) [2022-07-29 14:28:49.894768] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534642, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:49.894810] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534642, get_transact_count()=0, sm_id=51289) [2022-07-29 14:28:49.894838] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:49.894979] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:49.895152] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] server session born(ss_id=34185, server_ip={172.20.2.116:2881}, cs_id=2147534642, proxy_sessid=0, server_type=1) [2022-07-29 14:28:49.895696] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534642, proxy_sessid=12399538384371156361, server_ip={172.20.2.116:2881}, ss_id=34185, server_sessid=3221676435, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36356") [2022-07-29 14:28:49.897366] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51289, cs_id=2147534642, proxy_sessid=12399538384371156361, ss_id=34185, server_sessid=3221676435, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:49.897484] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51289, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:49.897496] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:49.897504] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51289, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:49.897532] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] server session do_io_close((*this={ss_id:34185, server_sessid:3221676435, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534642, proxy_sessid:12399538384371156361, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534642, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:49.897728] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34185, server_sessid=3221676435, server_ip={172.20.2.116:2881}, cs_id=2147534642, proxy_sessid=12399538384371156361) [2022-07-29 14:28:49.897765] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534642, proxy_sessid=12399538384371156361, client_vc=NULL) [2022-07-29 14:28:49.897801] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51289) [2022-07-29 14:28:49.897820] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:49.897842] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:49.897851] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:49.897864] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:49.897875] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:49.897897] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:49.897909] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:49.897917] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:49.898118] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:49.898159] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:49.898212] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] proxy mysql client session born(cs_id=2147534643) [2022-07-29 14:28:49.898241] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534643, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:49.898278] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534643, get_transact_count()=0, sm_id=51290) [2022-07-29 14:28:49.898305] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:49.898391] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:49.898536] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] server session born(ss_id=34186, server_ip={172.20.2.118:2881}, cs_id=2147534643, proxy_sessid=0, server_type=1) [2022-07-29 14:28:49.898990] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534643, proxy_sessid=12399538384371156362, server_ip={172.20.2.118:2881}, ss_id=34186, server_sessid=3222023409, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41378") [2022-07-29 14:28:49.900134] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51290, cs_id=2147534643, proxy_sessid=12399538384371156362, ss_id=34186, server_sessid=3222023409, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:49.900220] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51290, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:49.900235] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:49.900242] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51290, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:49.900255] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34186, server_sessid:3222023409, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534643, proxy_sessid:12399538384371156362, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534643, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:49.900419] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=157] [dc=0] server session is closing(ss_id=34186, server_sessid=3222023409, server_ip={172.20.2.118:2881}, cs_id=2147534643, proxy_sessid=12399538384371156362) [2022-07-29 14:28:49.900449] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534643, proxy_sessid=12399538384371156362, client_vc=NULL) [2022-07-29 14:28:49.900466] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51290) [2022-07-29 14:28:49.900479] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:49.900488] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:49.900495] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:49.900504] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:49.900512] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:49.900520] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:49.900532] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17094, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076129897944530, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:49.900561] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17094, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076129897944530, server_state_version:0}) [2022-07-29 14:28:49.900595] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:49.900627] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:49.900670] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17094, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076129897944530, server_state_version:0}) [2022-07-29 14:28:49.900699] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:49.900831] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:28:49.900851] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] data is NULL(sm_id=51288, ret=-4152) [2022-07-29 14:28:49.900861] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:49.900874] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51288, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:49.900872] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B2A10] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:49.900916] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:49.900957] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:49.900960] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=50993, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:49.900970] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:49.900993] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51288) [2022-07-29 14:28:49.901029] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=59] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:49.901041] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=11] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:54.946838] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=46] [dc=0] connection accepted(client={172.20.2.46:51200}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:28:54.946997] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51200}) [2022-07-29 14:28:54.947055] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=50996, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51200") [2022-07-29 14:28:54.947116] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] Starting new transaction using sm(cs_id=50996, get_transact_count()=0, sm_id=51291) [2022-07-29 14:28:54.947149] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:55.029510] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:28:55.029552] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51200}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:28:55.029576] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:28:55.029590] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:55.029605] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:28:55.029618] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17095) [2022-07-29 14:28:55.029793] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076135029783, last_valid_time_us:1659076135029603, last_access_time_us:1659076135029603, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:28:55.029883] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:55.030295] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534645) [2022-07-29 14:28:55.030310] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534645, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:55.030338] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534645, get_transact_count()=0, sm_id=51292) [2022-07-29 14:28:55.030364] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:55.030463] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:55.030618] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34187, server_ip={172.20.2.116:2881}, cs_id=2147534645, proxy_sessid=0, server_type=1) [2022-07-29 14:28:55.031087] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534645, proxy_sessid=12399538384371156363, server_ip={172.20.2.116:2881}, ss_id=34187, server_sessid=3221676486, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36360") [2022-07-29 14:28:55.032403] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51292, cs_id=2147534645, proxy_sessid=12399538384371156363, ss_id=34187, server_sessid=3221676486, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:55.032528] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51292, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:55.032550] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:55.032558] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51292, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:55.032583] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34187, server_sessid:3221676486, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534645, proxy_sessid:12399538384371156363, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534645, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:28:55.032764] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=173] [dc=0] server session is closing(ss_id=34187, server_sessid=3221676486, server_ip={172.20.2.116:2881}, cs_id=2147534645, proxy_sessid=12399538384371156363) [2022-07-29 14:28:55.032798] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534645, proxy_sessid=12399538384371156363, client_vc=NULL) [2022-07-29 14:28:55.032831] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51292) [2022-07-29 14:28:55.032849] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:55.032870] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:55.032878] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:55.032890] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:55.032911] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:55.032939] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:55.032960] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:28:55.032967] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:55.033177] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:28:55.033200] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:28:55.033231] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534646) [2022-07-29 14:28:55.033255] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=2147534646, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:28:55.033287] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534646, get_transact_count()=0, sm_id=51293) [2022-07-29 14:28:55.033308] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:28:55.033393] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:28:55.033522] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34188, server_ip={172.20.2.117:2881}, cs_id=2147534646, proxy_sessid=0, server_type=1) [2022-07-29 14:28:55.033797] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534646, proxy_sessid=12399538384371156364, server_ip={172.20.2.117:2881}, ss_id=34188, server_sessid=3221757223, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44428") [2022-07-29 14:28:55.034833] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] finishing mysql tunnel((sm_id=51293, cs_id=2147534646, proxy_sessid=12399538384371156364, ss_id=34188, server_sessid=3221757223, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:28:55.034871] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51293, client_vc=0x7ff1684bb5e0) [2022-07-29 14:28:55.034879] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:28:55.034882] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51293, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:28:55.034887] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] server session do_io_close((*this={ss_id:34188, server_sessid:3221757223, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534646, proxy_sessid:12399538384371156364, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534646, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:28:55.034964] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] server session is closing(ss_id=34188, server_sessid=3221757223, server_ip={172.20.2.117:2881}, cs_id=2147534646, proxy_sessid=12399538384371156364) [2022-07-29 14:28:55.034977] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534646, proxy_sessid=12399538384371156364, client_vc=NULL) [2022-07-29 14:28:55.034984] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51293) [2022-07-29 14:28:55.034999] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:28:55.035003] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:28:55.035007] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:28:55.035011] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:28:55.035015] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:28:55.035019] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:28:55.035025] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17095, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076135032674229, server_state_version:0}, pending_list_count=0) [2022-07-29 14:28:55.035040] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17095, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076135032674229, server_state_version:0}) [2022-07-29 14:28:55.035056] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:28:55.035074] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:28:55.035097] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17095, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076135032674229, server_state_version:0}) [2022-07-29 14:28:55.035111] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:28:55.035190] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:28:55.035200] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] data is NULL(sm_id=51291, ret=-4152) [2022-07-29 14:28:55.035205] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:28:55.035208] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51291, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:28:55.035242] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=50996, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:28:55.035233] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B1590] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:28:55.035259] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51291) [2022-07-29 14:28:55.035280] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:55.035325] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=43] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:28:55.035349] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:28:55.035373] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:28:55.035380] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:00.002618] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=110] [dc=0] connection accepted(client={172.20.2.46:51206}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:29:00.002761] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51206}) [2022-07-29 14:29:00.002811] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=50999, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51206") [2022-07-29 14:29:00.002836] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=50999, get_transact_count()=0, sm_id=51294) [2022-07-29 14:29:00.002880] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:00.087554] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:00.087581] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client login audit(client_addr={172.20.2.46:51206}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:00.087600] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:00.087607] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:00.087620] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:29:00.087628] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17096) [2022-07-29 14:29:00.087773] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076140087764, last_valid_time_us:1659076140087619, last_access_time_us:1659076140087619, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:00.087828] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:00.087867] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534648) [2022-07-29 14:29:00.087886] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session born(cs_id=2147534648, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:00.087913] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534648, get_transact_count()=0, sm_id=51295) [2022-07-29 14:29:00.087942] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:00.088018] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:00.088144] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] server session born(ss_id=34189, server_ip={172.20.2.118:2881}, cs_id=2147534648, proxy_sessid=0, server_type=1) [2022-07-29 14:29:00.088563] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534648, proxy_sessid=12399538384371156365, server_ip={172.20.2.118:2881}, ss_id=34189, server_sessid=3222023410, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41384") [2022-07-29 14:29:00.090077] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] finishing mysql tunnel((sm_id=51295, cs_id=2147534648, proxy_sessid=12399538384371156365, ss_id=34189, server_sessid=3222023410, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:00.090135] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51295, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:00.090142] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:00.090146] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51295, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:00.090160] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34189, server_sessid:3222023410, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534648, proxy_sessid:12399538384371156365, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534648, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:00.090260] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] server session is closing(ss_id=34189, server_sessid=3222023410, server_ip={172.20.2.118:2881}, cs_id=2147534648, proxy_sessid=12399538384371156365) [2022-07-29 14:29:00.090284] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534648, proxy_sessid=12399538384371156365, client_vc=NULL) [2022-07-29 14:29:00.090307] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51295) [2022-07-29 14:29:00.090320] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:00.090333] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:00.090345] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:00.090353] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:00.090360] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:00.090367] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:00.090373] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:00.090378] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:00.090499] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:00.090513] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:00.090544] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] proxy mysql client session born(cs_id=2147534649) [2022-07-29 14:29:00.090555] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534649, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:00.090577] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534649, get_transact_count()=0, sm_id=51296) [2022-07-29 14:29:00.090585] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:00.090639] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:00.090724] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] server session born(ss_id=34190, server_ip={172.20.2.116:2881}, cs_id=2147534649, proxy_sessid=0, server_type=1) [2022-07-29 14:29:00.091096] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534649, proxy_sessid=12399538384371156366, server_ip={172.20.2.116:2881}, ss_id=34190, server_sessid=3221676534, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36366") [2022-07-29 14:29:00.092188] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51296, cs_id=2147534649, proxy_sessid=12399538384371156366, ss_id=34190, server_sessid=3221676534, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:00.092293] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=81] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51296, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:00.092304] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:00.092310] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51296, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:00.092335] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session do_io_close((*this={ss_id:34190, server_sessid:3221676534, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534649, proxy_sessid:12399538384371156366, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534649, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:00.092514] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=171] [dc=0] server session is closing(ss_id=34190, server_sessid=3221676534, server_ip={172.20.2.116:2881}, cs_id=2147534649, proxy_sessid=12399538384371156366) [2022-07-29 14:29:00.092547] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534649, proxy_sessid=12399538384371156366, client_vc=NULL) [2022-07-29 14:29:00.092577] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51296) [2022-07-29 14:29:00.092604] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:00.092615] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:00.092623] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:00.092640] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:00.092650] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:00.092659] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:00.092685] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17096, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076140090119215, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:00.092716] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17096, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076140090119215, server_state_version:0}) [2022-07-29 14:29:00.092755] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:00.092792] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:00.092839] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17096, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076140090119215, server_state_version:0}) [2022-07-29 14:29:00.092871] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:00.093028] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:29:00.093052] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51294, ret=-4152) [2022-07-29 14:29:00.093063] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:00.093072] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51294, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:00.093060] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:00.093093] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:00.093117] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:00.093129] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=50999, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:00.093130] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:00.093144] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:00.093150] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:00.093166] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51294) [2022-07-29 14:29:05.044487] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51208}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:29:05.044575] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51208}) [2022-07-29 14:29:05.044612] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=51002, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51208") [2022-07-29 14:29:05.044634] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=51002, get_transact_count()=0, sm_id=51297) [2022-07-29 14:29:05.044645] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:05.127254] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:05.127296] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51208}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:05.127320] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:05.127334] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:05.127388] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:29:05.127400] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17097) [2022-07-29 14:29:05.127581] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076145127571, last_valid_time_us:1659076145127386, last_access_time_us:1659076145127386, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:05.127673] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:05.127715] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534651) [2022-07-29 14:29:05.127744] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534651, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:05.127771] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534651, get_transact_count()=0, sm_id=51298) [2022-07-29 14:29:05.127784] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:05.127878] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:05.128058] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] server session born(ss_id=34191, server_ip={172.20.2.116:2881}, cs_id=2147534651, proxy_sessid=0, server_type=1) [2022-07-29 14:29:05.128477] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534651, proxy_sessid=12399538384371156367, server_ip={172.20.2.116:2881}, ss_id=34191, server_sessid=3221676585, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36368") [2022-07-29 14:29:05.129863] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51298, cs_id=2147534651, proxy_sessid=12399538384371156367, ss_id=34191, server_sessid=3221676585, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:05.130013] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=118] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51298, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:05.130027] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:05.130040] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51298, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:05.130057] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34191, server_sessid:3221676585, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534651, proxy_sessid:12399538384371156367, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534651, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:05.130267] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=201] [dc=0] server session is closing(ss_id=34191, server_sessid=3221676585, server_ip={172.20.2.116:2881}, cs_id=2147534651, proxy_sessid=12399538384371156367) [2022-07-29 14:29:05.130307] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534651, proxy_sessid=12399538384371156367, client_vc=NULL) [2022-07-29 14:29:05.130342] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51298) [2022-07-29 14:29:05.130363] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:05.130374] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:05.130383] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:05.130396] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:05.130423] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:05.130434] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:05.130446] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:05.130454] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:05.130620] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:05.130659] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:05.130725] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] proxy mysql client session born(cs_id=2147534652) [2022-07-29 14:29:05.130754] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534652, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:05.130792] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534652, get_transact_count()=0, sm_id=51299) [2022-07-29 14:29:05.130817] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:05.130938] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:05.131114] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34192, server_ip={172.20.2.117:2881}, cs_id=2147534652, proxy_sessid=0, server_type=1) [2022-07-29 14:29:05.131483] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] succ to set proxy_sessid(cs_id=2147534652, proxy_sessid=12399538384371156368, server_ip={172.20.2.117:2881}, ss_id=34192, server_sessid=3221758165, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44436") [2022-07-29 14:29:05.132655] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51299, cs_id=2147534652, proxy_sessid=12399538384371156368, ss_id=34192, server_sessid=3221758165, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:05.132721] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51299, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:05.132728] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:05.132732] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51299, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:05.132741] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] server session do_io_close((*this={ss_id:34192, server_sessid:3221758165, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534652, proxy_sessid:12399538384371156368, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534652, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:05.132863] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=116] [dc=0] server session is closing(ss_id=34192, server_sessid=3221758165, server_ip={172.20.2.117:2881}, cs_id=2147534652, proxy_sessid=12399538384371156368) [2022-07-29 14:29:05.132888] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534652, proxy_sessid=12399538384371156368, client_vc=NULL) [2022-07-29 14:29:05.132911] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] deallocating sm(sm_id=51299) [2022-07-29 14:29:05.132974] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:05.132990] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:05.132996] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:05.133004] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:05.133018] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:05.133025] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:05.133036] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17097, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076145129989496, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:05.133053] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17097, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076145129989496, server_state_version:0}) [2022-07-29 14:29:05.133086] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:05.133112] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:05.133146] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17097, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076145129989496, server_state_version:0}) [2022-07-29 14:29:05.133172] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:05.133284] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:29:05.133301] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] data is NULL(sm_id=51297, ret=-4152) [2022-07-29 14:29:05.133309] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:05.133315] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51297, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:05.133372] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=51002, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:05.133400] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51297) [2022-07-29 14:29:05.133430] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1590] [lt=34] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:05.133455] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:05.133466] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:05.133472] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:05.133479] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:05.133482] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:10.018607] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51212}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:29:10.018757] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51212}) [2022-07-29 14:29:10.018869] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] client session born(cs_id=51005, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51212") [2022-07-29 14:29:10.018903] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=51005, get_transact_count()=0, sm_id=51300) [2022-07-29 14:29:10.018947] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:10.101880] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:10.101912] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client login audit(client_addr={172.20.2.46:51212}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:10.101958] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:10.101973] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:10.101991] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:29:10.102006] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17098) [2022-07-29 14:29:10.102207] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076150102195, last_valid_time_us:1659076150102002, last_access_time_us:1659076150102002, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:10.102317] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:10.102384] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] proxy mysql client session born(cs_id=2147534654) [2022-07-29 14:29:10.102407] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=2147534654, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:10.102452] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534654, get_transact_count()=0, sm_id=51301) [2022-07-29 14:29:10.102481] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:10.102595] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:10.102801] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34193, server_ip={172.20.2.118:2881}, cs_id=2147534654, proxy_sessid=0, server_type=1) [2022-07-29 14:29:10.103313] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] succ to set proxy_sessid(cs_id=2147534654, proxy_sessid=12399538384371156369, server_ip={172.20.2.118:2881}, ss_id=34193, server_sessid=3222023411, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41392") [2022-07-29 14:29:10.104361] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] finishing mysql tunnel((sm_id=51301, cs_id=2147534654, proxy_sessid=12399538384371156369, ss_id=34193, server_sessid=3222023411, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:10.104411] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51301, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:10.104420] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:10.104427] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51301, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:10.104433] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] server session do_io_close((*this={ss_id:34193, server_sessid:3222023411, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534654, proxy_sessid:12399538384371156369, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534654, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:10.104515] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] server session is closing(ss_id=34193, server_sessid=3222023411, server_ip={172.20.2.118:2881}, cs_id=2147534654, proxy_sessid=12399538384371156369) [2022-07-29 14:29:10.104537] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534654, proxy_sessid=12399538384371156369, client_vc=NULL) [2022-07-29 14:29:10.104554] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51301) [2022-07-29 14:29:10.104571] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:10.104579] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:10.104585] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:10.104592] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:10.104597] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:10.104601] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:10.104610] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:10.104613] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:10.104701] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:10.104710] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:10.104729] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] proxy mysql client session born(cs_id=2147534655) [2022-07-29 14:29:10.104740] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] client session born(cs_id=2147534655, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:10.104758] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534655, get_transact_count()=0, sm_id=51302) [2022-07-29 14:29:10.104767] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:10.104828] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:10.104908] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] server session born(ss_id=34194, server_ip={172.20.2.118:2881}, cs_id=2147534655, proxy_sessid=0, server_type=1) [2022-07-29 14:29:10.105335] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534655, proxy_sessid=12399538384371156370, server_ip={172.20.2.118:2881}, ss_id=34194, server_sessid=3222023412, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41394") [2022-07-29 14:29:10.106174] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51302, cs_id=2147534655, proxy_sessid=12399538384371156370, ss_id=34194, server_sessid=3222023412, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:10.106291] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51302, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:10.106316] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:10.106324] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51302, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:10.106340] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34194, server_sessid:3222023412, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534655, proxy_sessid:12399538384371156370, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534655, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:10.106551] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=202] [dc=0] server session is closing(ss_id=34194, server_sessid=3222023412, server_ip={172.20.2.118:2881}, cs_id=2147534655, proxy_sessid=12399538384371156370) [2022-07-29 14:29:10.106589] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534655, proxy_sessid=12399538384371156370, client_vc=NULL) [2022-07-29 14:29:10.106622] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51302) [2022-07-29 14:29:10.106652] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:10.106675] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:10.106697] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:10.106710] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:10.106720] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:10.106730] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:10.106744] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17098, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076150104480068, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:10.106765] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17098, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076150104480068, server_state_version:0}) [2022-07-29 14:29:10.106799] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:10.106826] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:10.106862] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17098, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076150104480068, server_state_version:0}) [2022-07-29 14:29:10.106884] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:10.107074] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:29:10.107099] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] data is NULL(sm_id=51300, ret=-4152) [2022-07-29 14:29:10.107110] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:10.107109] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:10.107130] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51300, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:10.107133] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:10.107155] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:10.107167] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:10.107181] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:10.107188] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:10.107217] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51005, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:10.107253] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51300) [2022-07-29 14:29:14.998270] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=40] [dc=0] connection accepted(client={172.20.2.46:51214}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:29:14.998449] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51214}) [2022-07-29 14:29:14.998520] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] client session born(cs_id=51008, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51214") [2022-07-29 14:29:14.998564] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51008, get_transact_count()=0, sm_id=51303) [2022-07-29 14:29:14.998594] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:15.080099] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:15.080138] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51214}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:15.080167] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:15.080181] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:15.080198] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:29:15.080213] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17099) [2022-07-29 14:29:15.080426] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076155080413, last_valid_time_us:1659076155080197, last_access_time_us:1659076155080197, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:15.080531] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:15.080576] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534657) [2022-07-29 14:29:15.080637] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] client session born(cs_id=2147534657, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:15.080676] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534657, get_transact_count()=0, sm_id=51304) [2022-07-29 14:29:15.080722] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:15.080838] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:15.081036] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34195, server_ip={172.20.2.118:2881}, cs_id=2147534657, proxy_sessid=0, server_type=1) [2022-07-29 14:29:15.081462] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534657, proxy_sessid=12399538384371156371, server_ip={172.20.2.118:2881}, ss_id=34195, server_sessid=3222023413, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41396") [2022-07-29 14:29:15.083155] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] finishing mysql tunnel((sm_id=51304, cs_id=2147534657, proxy_sessid=12399538384371156371, ss_id=34195, server_sessid=3222023413, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:15.083271] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51304, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:15.083295] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:15.083301] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51304, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:15.083327] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34195, server_sessid:3222023413, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534657, proxy_sessid:12399538384371156371, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534657, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:15.083518] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] server session is closing(ss_id=34195, server_sessid=3222023413, server_ip={172.20.2.118:2881}, cs_id=2147534657, proxy_sessid=12399538384371156371) [2022-07-29 14:29:15.083556] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534657, proxy_sessid=12399538384371156371, client_vc=NULL) [2022-07-29 14:29:15.083589] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51304) [2022-07-29 14:29:15.083620] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:15.083641] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:15.083651] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:15.083663] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:15.083685] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:15.083697] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:15.083718] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:15.083726] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:15.083860] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:15.083881] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:15.084053] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534658) [2022-07-29 14:29:15.084078] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534658, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:15.084103] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534658, get_transact_count()=0, sm_id=51305) [2022-07-29 14:29:15.084127] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:15.084227] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:15.084366] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34196, server_ip={172.20.2.117:2881}, cs_id=2147534658, proxy_sessid=0, server_type=1) [2022-07-29 14:29:15.084661] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534658, proxy_sessid=12399538384371156372, server_ip={172.20.2.117:2881}, ss_id=34196, server_sessid=3221758170, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44444") [2022-07-29 14:29:15.086000] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] finishing mysql tunnel((sm_id=51305, cs_id=2147534658, proxy_sessid=12399538384371156372, ss_id=34196, server_sessid=3221758170, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:15.086086] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51305, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:15.086105] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:15.086111] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51305, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:15.086123] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] server session do_io_close((*this={ss_id:34196, server_sessid:3221758170, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534658, proxy_sessid:12399538384371156372, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534658, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:15.086275] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=145] [dc=0] server session is closing(ss_id=34196, server_sessid=3221758170, server_ip={172.20.2.117:2881}, cs_id=2147534658, proxy_sessid=12399538384371156372) [2022-07-29 14:29:15.086314] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session destroy(cs_id=2147534658, proxy_sessid=12399538384371156372, client_vc=NULL) [2022-07-29 14:29:15.086339] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51305) [2022-07-29 14:29:15.086351] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:15.086371] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:15.086378] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:15.086387] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:15.086394] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:15.086401] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:15.086412] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17099, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076155083667944, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:15.086428] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17099, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076155083667944, server_state_version:0}) [2022-07-29 14:29:15.086457] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:15.086488] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:15.086526] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17099, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076155083667944, server_state_version:0}) [2022-07-29 14:29:15.086552] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:15.086679] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:29:15.086697] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] data is NULL(sm_id=51303, ret=-4152) [2022-07-29 14:29:15.086705] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:15.086712] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51303, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:15.086767] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51008, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:15.086774] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF1691B1590] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:15.086797] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51303) [2022-07-29 14:29:15.086817] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=36] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:15.086848] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:15.086860] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:15.086874] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:15.086880] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:19.918315] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=65] [dc=0] connection accepted(client={172.20.2.46:51218}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:29:19.918506] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51218}) [2022-07-29 14:29:19.918591] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] client session born(cs_id=51011, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51218") [2022-07-29 14:29:19.918651] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] Starting new transaction using sm(cs_id=51011, get_transact_count()=0, sm_id=51306) [2022-07-29 14:29:19.918669] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:20.001000] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:20.001049] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:51218}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:20.001077] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:20.001091] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:20.001110] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:29:20.001124] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17100) [2022-07-29 14:29:20.001324] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076160001313, last_valid_time_us:1659076160001108, last_access_time_us:1659076160001108, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:20.001430] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:20.001476] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534660) [2022-07-29 14:29:20.001506] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534660, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:20.001535] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534660, get_transact_count()=0, sm_id=51307) [2022-07-29 14:29:20.001565] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:20.001671] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:20.001845] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34197, server_ip={172.20.2.117:2881}, cs_id=2147534660, proxy_sessid=0, server_type=1) [2022-07-29 14:29:20.002364] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534660, proxy_sessid=12399538384371156373, server_ip={172.20.2.117:2881}, ss_id=34197, server_sessid=3221758173, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44446") [2022-07-29 14:29:20.003776] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51307, cs_id=2147534660, proxy_sessid=12399538384371156373, ss_id=34197, server_sessid=3221758173, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:20.003877] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51307, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:20.003887] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:20.003894] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51307, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:20.003908] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34197, server_sessid:3221758173, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534660, proxy_sessid:12399538384371156373, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534660, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:20.004129] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=214] [dc=0] server session is closing(ss_id=34197, server_sessid=3221758173, server_ip={172.20.2.117:2881}, cs_id=2147534660, proxy_sessid=12399538384371156373) [2022-07-29 14:29:20.004166] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534660, proxy_sessid=12399538384371156373, client_vc=NULL) [2022-07-29 14:29:20.004188] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51307) [2022-07-29 14:29:20.004206] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:20.004231] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:20.004240] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:20.004253] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:20.004264] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:20.004274] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:20.004285] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:20.004292] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:20.004424] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:20.004449] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:20.004477] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534661) [2022-07-29 14:29:20.004489] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534661, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:20.004526] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534661, get_transact_count()=0, sm_id=51308) [2022-07-29 14:29:20.004551] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:20.004622] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:20.004752] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34198, server_ip={172.20.2.116:2881}, cs_id=2147534661, proxy_sessid=0, server_type=1) [2022-07-29 14:29:20.005100] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534661, proxy_sessid=12399538384371156374, server_ip={172.20.2.116:2881}, ss_id=34198, server_sessid=3221676724, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36382") [2022-07-29 14:29:20.006835] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51308, cs_id=2147534661, proxy_sessid=12399538384371156374, ss_id=34198, server_sessid=3221676724, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:20.006952] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51308, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:20.006974] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:20.006981] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51308, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:20.007001] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] server session do_io_close((*this={ss_id:34198, server_sessid:3221676724, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534661, proxy_sessid:12399538384371156374, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534661, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:20.007183] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=177] [dc=0] server session is closing(ss_id=34198, server_sessid=3221676724, server_ip={172.20.2.116:2881}, cs_id=2147534661, proxy_sessid=12399538384371156374) [2022-07-29 14:29:20.007213] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534661, proxy_sessid=12399538384371156374, client_vc=NULL) [2022-07-29 14:29:20.007231] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51308) [2022-07-29 14:29:20.007245] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:20.007269] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:20.007278] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:20.007289] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:20.007299] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:20.007308] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:20.007322] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17100, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076160003857180, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:20.007342] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17100, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076160003857180, server_state_version:0}) [2022-07-29 14:29:20.007388] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:20.007427] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:20.007476] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17100, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076160003857180, server_state_version:0}) [2022-07-29 14:29:20.007509] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:20.007649] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:29:20.007675] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] data is NULL(sm_id=51306, ret=-4152) [2022-07-29 14:29:20.007687] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:20.007696] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51306, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:20.007757] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51011, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:20.007765] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:20.007794] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51306) [2022-07-29 14:29:20.007805] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=31] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:20.007840] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=33] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:20.007855] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:20.007880] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:20.007887] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:24.939670] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51220}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:29:24.939802] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51220}) [2022-07-29 14:29:24.939871] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client session born(cs_id=51014, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51220") [2022-07-29 14:29:24.939905] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=51014, get_transact_count()=0, sm_id=51309) [2022-07-29 14:29:24.939955] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:25.024884] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:25.024944] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] client login audit(client_addr={172.20.2.46:51220}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:25.024972] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:25.024987] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:25.025004] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:29:25.025018] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17101) [2022-07-29 14:29:25.025210] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076165025199, last_valid_time_us:1659076165025002, last_access_time_us:1659076165025002, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:25.025320] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:25.025366] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534663) [2022-07-29 14:29:25.025395] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534663, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:25.025435] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534663, get_transact_count()=0, sm_id=51310) [2022-07-29 14:29:25.025463] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:25.025583] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:25.025748] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34199, server_ip={172.20.2.118:2881}, cs_id=2147534663, proxy_sessid=0, server_type=1) [2022-07-29 14:29:25.026161] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534663, proxy_sessid=12399538384371156375, server_ip={172.20.2.118:2881}, ss_id=34199, server_sessid=3222023414, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41404") [2022-07-29 14:29:25.027669] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51310, cs_id=2147534663, proxy_sessid=12399538384371156375, ss_id=34199, server_sessid=3222023414, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:25.027780] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51310, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:25.027791] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:25.027797] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51310, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:25.027813] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session do_io_close((*this={ss_id:34199, server_sessid:3222023414, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534663, proxy_sessid:12399538384371156375, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534663, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:25.028021] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=201] [dc=0] server session is closing(ss_id=34199, server_sessid=3222023414, server_ip={172.20.2.118:2881}, cs_id=2147534663, proxy_sessid=12399538384371156375) [2022-07-29 14:29:25.028056] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534663, proxy_sessid=12399538384371156375, client_vc=NULL) [2022-07-29 14:29:25.028089] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51310) [2022-07-29 14:29:25.028119] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:25.028142] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:25.028151] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:25.028174] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:25.028198] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:25.028210] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:25.028221] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:25.028228] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:25.028348] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:25.028371] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:25.028400] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534664) [2022-07-29 14:29:25.028425] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534664, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:25.028461] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534664, get_transact_count()=0, sm_id=51311) [2022-07-29 14:29:25.028484] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:25.028552] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:25.028690] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34200, server_ip={172.20.2.116:2881}, cs_id=2147534664, proxy_sessid=0, server_type=1) [2022-07-29 14:29:25.029151] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534664, proxy_sessid=12399538384371156376, server_ip={172.20.2.116:2881}, ss_id=34200, server_sessid=3221676775, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36386") [2022-07-29 14:29:25.030589] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51311, cs_id=2147534664, proxy_sessid=12399538384371156376, ss_id=34200, server_sessid=3221676775, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:25.030691] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51311, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:25.030716] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:25.030723] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51311, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:25.030738] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34200, server_sessid:3221676775, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534664, proxy_sessid:12399538384371156376, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534664, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:25.030959] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=212] [dc=0] server session is closing(ss_id=34200, server_sessid=3221676775, server_ip={172.20.2.116:2881}, cs_id=2147534664, proxy_sessid=12399538384371156376) [2022-07-29 14:29:25.031010] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client session destroy(cs_id=2147534664, proxy_sessid=12399538384371156376, client_vc=NULL) [2022-07-29 14:29:25.031029] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51311) [2022-07-29 14:29:25.031045] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:25.031055] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:25.031063] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:25.031074] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:25.031085] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:25.031095] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:25.031124] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17101, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076165027760970, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:25.031146] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17101, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076165027760970, server_state_version:0}) [2022-07-29 14:29:25.031193] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:25.031232] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:25.031267] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17101, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076165027760970, server_state_version:0}) [2022-07-29 14:29:25.031300] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:25.031438] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:29:25.031455] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] data is NULL(sm_id=51309, ret=-4152) [2022-07-29 14:29:25.031458] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF1691B1590] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:25.031466] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:25.031476] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51309, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:25.031479] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:25.031511] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=31] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:25.031520] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:25.031528] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:25.031531] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:25.031539] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51014, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:25.031574] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51309) [2022-07-29 14:29:30.062316] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=66] [dc=0] connection accepted(client={172.20.2.46:51226}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:29:30.062518] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51226}) [2022-07-29 14:29:30.062610] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] client session born(cs_id=51017, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51226") [2022-07-29 14:29:30.062659] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=51017, get_transact_count()=0, sm_id=51312) [2022-07-29 14:29:30.062692] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:30.150524] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:30.150573] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client login audit(client_addr={172.20.2.46:51226}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:30.150603] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:30.150618] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:30.150638] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:29:30.150653] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17102) [2022-07-29 14:29:30.150853] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076170150840, last_valid_time_us:1659076170150636, last_access_time_us:1659076170150636, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:30.150995] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=139] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:30.151049] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534666) [2022-07-29 14:29:30.151066] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534666, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:30.151098] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534666, get_transact_count()=0, sm_id=51313) [2022-07-29 14:29:30.151128] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:30.151243] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:30.151413] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34201, server_ip={172.20.2.116:2881}, cs_id=2147534666, proxy_sessid=0, server_type=1) [2022-07-29 14:29:30.151816] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] succ to set proxy_sessid(cs_id=2147534666, proxy_sessid=12399538384371156377, server_ip={172.20.2.116:2881}, ss_id=34201, server_sessid=3221676828, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36388") [2022-07-29 14:29:30.152884] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=77] [dc=0] finishing mysql tunnel((sm_id=51313, cs_id=2147534666, proxy_sessid=12399538384371156377, ss_id=34201, server_sessid=3221676828, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:30.153018] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51313, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:30.153044] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:30.153051] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51313, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:30.153066] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34201, server_sessid:3221676828, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534666, proxy_sessid:12399538384371156377, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534666, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:30.153264] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=189] [dc=0] server session is closing(ss_id=34201, server_sessid=3221676828, server_ip={172.20.2.116:2881}, cs_id=2147534666, proxy_sessid=12399538384371156377) [2022-07-29 14:29:30.153315] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session destroy(cs_id=2147534666, proxy_sessid=12399538384371156377, client_vc=NULL) [2022-07-29 14:29:30.153348] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51313) [2022-07-29 14:29:30.153378] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:30.153389] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:30.153422] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:30.153436] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:30.153447] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:30.153458] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:30.153469] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:30.153488] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:30.153621] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:30.153644] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:30.153674] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534667) [2022-07-29 14:29:30.153701] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534667, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:30.153724] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534667, get_transact_count()=0, sm_id=51314) [2022-07-29 14:29:30.153749] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:30.153838] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:30.154004] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34202, server_ip={172.20.2.117:2881}, cs_id=2147534667, proxy_sessid=0, server_type=1) [2022-07-29 14:29:30.154514] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534667, proxy_sessid=12399538384371156378, server_ip={172.20.2.117:2881}, ss_id=34202, server_sessid=3221758182, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44456") [2022-07-29 14:29:30.156209] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51314, cs_id=2147534667, proxy_sessid=12399538384371156378, ss_id=34202, server_sessid=3221758182, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:30.156322] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51314, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:30.156345] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:30.156364] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51314, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:30.156390] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session do_io_close((*this={ss_id:34202, server_sessid:3221758182, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534667, proxy_sessid:12399538384371156378, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534667, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:30.156584] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=186] [dc=0] server session is closing(ss_id=34202, server_sessid=3221758182, server_ip={172.20.2.117:2881}, cs_id=2147534667, proxy_sessid=12399538384371156378) [2022-07-29 14:29:30.156630] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534667, proxy_sessid=12399538384371156378, client_vc=NULL) [2022-07-29 14:29:30.156661] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51314) [2022-07-29 14:29:30.156718] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:30.156740] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:30.156759] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:30.156782] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:30.156804] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:30.156825] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:30.156850] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17102, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076170152995810, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:30.156883] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17102, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076170152995810, server_state_version:0}) [2022-07-29 14:29:30.156948] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:30.156987] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:30.157034] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17102, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076170152995810, server_state_version:0}) [2022-07-29 14:29:30.157067] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:30.157243] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:29:30.157267] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51312, ret=-4152) [2022-07-29 14:29:30.157279] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:30.157279] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF169450940] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:30.157299] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51312, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:30.157297] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:30.157316] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:30.157327] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:30.157353] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=26] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:30.157360] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:30.157373] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51017, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:30.157410] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51312) [2022-07-29 14:29:35.018975] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51228}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:29:35.019142] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51228}) [2022-07-29 14:29:35.019228] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=51020, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51228") [2022-07-29 14:29:35.019278] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] Starting new transaction using sm(cs_id=51020, get_transact_count()=0, sm_id=51315) [2022-07-29 14:29:35.019308] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:35.101089] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:35.101140] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] client login audit(client_addr={172.20.2.46:51228}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:35.101168] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:35.101182] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:35.101198] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:29:35.101212] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17103) [2022-07-29 14:29:35.101406] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076175101395, last_valid_time_us:1659076175101197, last_access_time_us:1659076175101197, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:35.101510] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:35.101553] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534669) [2022-07-29 14:29:35.101582] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534669, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:35.101626] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534669, get_transact_count()=0, sm_id=51316) [2022-07-29 14:29:35.101641] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:35.101747] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:35.101949] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34203, server_ip={172.20.2.118:2881}, cs_id=2147534669, proxy_sessid=0, server_type=1) [2022-07-29 14:29:35.102371] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534669, proxy_sessid=12399538384371156379, server_ip={172.20.2.118:2881}, ss_id=34203, server_sessid=3222023415, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41412") [2022-07-29 14:29:35.103503] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51316, cs_id=2147534669, proxy_sessid=12399538384371156379, ss_id=34203, server_sessid=3222023415, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:35.103628] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51316, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:35.103639] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:35.103646] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51316, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:35.103660] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34203, server_sessid:3222023415, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534669, proxy_sessid:12399538384371156379, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534669, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:35.103852] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=185] [dc=0] server session is closing(ss_id=34203, server_sessid=3222023415, server_ip={172.20.2.118:2881}, cs_id=2147534669, proxy_sessid=12399538384371156379) [2022-07-29 14:29:35.103886] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534669, proxy_sessid=12399538384371156379, client_vc=NULL) [2022-07-29 14:29:35.103935] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51316) [2022-07-29 14:29:35.103954] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:35.103976] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:35.103985] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:35.103998] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:35.104023] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:35.104034] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:35.104045] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:35.104055] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:35.104132] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:35.104155] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:35.104182] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534670) [2022-07-29 14:29:35.104205] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534670, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:35.104250] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534670, get_transact_count()=0, sm_id=51317) [2022-07-29 14:29:35.104275] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:35.104344] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:35.104471] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34204, server_ip={172.20.2.116:2881}, cs_id=2147534670, proxy_sessid=0, server_type=1) [2022-07-29 14:29:35.104864] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534670, proxy_sessid=12399538384371156380, server_ip={172.20.2.116:2881}, ss_id=34204, server_sessid=3221676873, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36394") [2022-07-29 14:29:35.106259] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51317, cs_id=2147534670, proxy_sessid=12399538384371156380, ss_id=34204, server_sessid=3221676873, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:35.106384] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51317, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:35.106455] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:35.106465] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51317, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:35.106541] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] server session do_io_close((*this={ss_id:34204, server_sessid:3221676873, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534670, proxy_sessid:12399538384371156380, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534670, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:35.106740] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=189] [dc=0] server session is closing(ss_id=34204, server_sessid=3221676873, server_ip={172.20.2.116:2881}, cs_id=2147534670, proxy_sessid=12399538384371156380) [2022-07-29 14:29:35.106780] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session destroy(cs_id=2147534670, proxy_sessid=12399538384371156380, client_vc=NULL) [2022-07-29 14:29:35.106818] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] deallocating sm(sm_id=51317) [2022-07-29 14:29:35.106850] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:35.106862] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:35.106870] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:35.106882] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:35.106892] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:35.106901] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:35.106916] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17103, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076175103609932, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:35.106968] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17103, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076175103609932, server_state_version:0}) [2022-07-29 14:29:35.107006] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:35.107050] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:35.107087] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17103, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076175103609932, server_state_version:0}) [2022-07-29 14:29:35.107108] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:35.107268] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:29:35.107294] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] data is NULL(sm_id=51315, ret=-4152) [2022-07-29 14:29:35.107307] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:35.107317] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51315, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:35.107326] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:35.107358] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:35.107381] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51020, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:35.107398] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=38] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:35.107412] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:35.107422] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51315) [2022-07-29 14:29:35.107436] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:35.107443] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:40.083726] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51232}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:29:40.083878] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51232}) [2022-07-29 14:29:40.084023] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] client session born(cs_id=51023, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51232") [2022-07-29 14:29:40.084066] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=51023, get_transact_count()=0, sm_id=51318) [2022-07-29 14:29:40.084095] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:40.168304] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:40.168344] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51232}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:40.168371] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:40.168385] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:40.168402] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:29:40.168427] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17104) [2022-07-29 14:29:40.168626] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076180168614, last_valid_time_us:1659076180168400, last_access_time_us:1659076180168400, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:40.168733] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:40.168779] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534672) [2022-07-29 14:29:40.168807] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534672, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:40.168848] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534672, get_transact_count()=0, sm_id=51319) [2022-07-29 14:29:40.168874] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:40.169015] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:40.169189] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] server session born(ss_id=34205, server_ip={172.20.2.116:2881}, cs_id=2147534672, proxy_sessid=0, server_type=1) [2022-07-29 14:29:40.169529] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534672, proxy_sessid=12399538384371156381, server_ip={172.20.2.116:2881}, ss_id=34205, server_sessid=3221676921, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36396") [2022-07-29 14:29:40.170460] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51319, cs_id=2147534672, proxy_sessid=12399538384371156381, ss_id=34205, server_sessid=3221676921, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:40.170591] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51319, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:40.170603] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:40.170610] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51319, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:40.170626] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34205, server_sessid:3221676921, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534672, proxy_sessid:12399538384371156381, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534672, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:40.170823] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34205, server_sessid=3221676921, server_ip={172.20.2.116:2881}, cs_id=2147534672, proxy_sessid=12399538384371156381) [2022-07-29 14:29:40.170861] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534672, proxy_sessid=12399538384371156381, client_vc=NULL) [2022-07-29 14:29:40.170895] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51319) [2022-07-29 14:29:40.170914] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:40.171030] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:40.171040] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:40.171053] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:40.171063] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:40.171074] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:40.171085] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:40.171098] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:40.171219] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:40.171242] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:40.171272] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534673) [2022-07-29 14:29:40.171297] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534673, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:40.171332] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534673, get_transact_count()=0, sm_id=51320) [2022-07-29 14:29:40.171355] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:40.171432] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:40.171571] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] server session born(ss_id=34206, server_ip={172.20.2.117:2881}, cs_id=2147534673, proxy_sessid=0, server_type=1) [2022-07-29 14:29:40.172041] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534673, proxy_sessid=12399538384371156382, server_ip={172.20.2.117:2881}, ss_id=34206, server_sessid=3221758216, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44464") [2022-07-29 14:29:40.173562] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=45] [dc=0] finishing mysql tunnel((sm_id=51320, cs_id=2147534673, proxy_sessid=12399538384371156382, ss_id=34206, server_sessid=3221758216, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:40.173664] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=80] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51320, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:40.173684] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:40.173691] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51320, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:40.173715] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] server session do_io_close((*this={ss_id:34206, server_sessid:3221758216, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534673, proxy_sessid:12399538384371156382, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534673, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:40.173897] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=176] [dc=0] server session is closing(ss_id=34206, server_sessid=3221758216, server_ip={172.20.2.117:2881}, cs_id=2147534673, proxy_sessid=12399538384371156382) [2022-07-29 14:29:40.174092] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534673, proxy_sessid=12399538384371156382, client_vc=NULL) [2022-07-29 14:29:40.174122] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51320) [2022-07-29 14:29:40.174136] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:40.174157] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:40.174165] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:40.174176] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:40.174197] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:40.174206] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:40.174220] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17104, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076180170568924, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:40.174240] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17104, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076180170568924, server_state_version:0}) [2022-07-29 14:29:40.174273] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:40.174298] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:40.174345] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17104, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076180170568924, server_state_version:0}) [2022-07-29 14:29:40.174376] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:40.174528] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:29:40.174550] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51318, ret=-4152) [2022-07-29 14:29:40.174561] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:40.174571] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51318, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:40.174568] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF169450940] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:40.174597] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:40.174620] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:40.174633] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:40.174641] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51023, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:40.174648] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:40.174678] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51318) [2022-07-29 14:29:40.174684] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=35] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:45.075895] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=77] [dc=0] connection accepted(client={172.20.2.46:51234}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:29:45.076134] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51234}) [2022-07-29 14:29:45.076201] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] client session born(cs_id=51026, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51234") [2022-07-29 14:29:45.076243] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=51026, get_transact_count()=0, sm_id=51321) [2022-07-29 14:29:45.076260] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:45.162049] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:45.162076] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client login audit(client_addr={172.20.2.46:51234}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:45.162105] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:45.162120] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:45.162139] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:29:45.162154] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17105) [2022-07-29 14:29:45.162355] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076185162342, last_valid_time_us:1659076185162137, last_access_time_us:1659076185162137, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:45.162463] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:45.162515] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534675) [2022-07-29 14:29:45.162533] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=2147534675, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:45.162564] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534675, get_transact_count()=0, sm_id=51322) [2022-07-29 14:29:45.162580] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:45.162695] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:45.162862] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] server session born(ss_id=34207, server_ip={172.20.2.118:2881}, cs_id=2147534675, proxy_sessid=0, server_type=1) [2022-07-29 14:29:45.163333] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534675, proxy_sessid=12399538384371156383, server_ip={172.20.2.118:2881}, ss_id=34207, server_sessid=3222023416, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41420") [2022-07-29 14:29:45.164612] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51322, cs_id=2147534675, proxy_sessid=12399538384371156383, ss_id=34207, server_sessid=3222023416, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:45.164711] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51322, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:45.164722] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:45.164728] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51322, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:45.164744] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34207, server_sessid:3222023416, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534675, proxy_sessid:12399538384371156383, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534675, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:45.164955] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=171] [dc=0] server session is closing(ss_id=34207, server_sessid=3222023416, server_ip={172.20.2.118:2881}, cs_id=2147534675, proxy_sessid=12399538384371156383) [2022-07-29 14:29:45.164995] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534675, proxy_sessid=12399538384371156383, client_vc=NULL) [2022-07-29 14:29:45.165018] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51322) [2022-07-29 14:29:45.165037] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:45.165047] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:45.165055] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:45.165067] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:45.165078] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:45.165087] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:45.165097] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:45.165104] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:45.165234] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:45.165261] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:45.165293] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534676) [2022-07-29 14:29:45.165321] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534676, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:45.165358] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534676, get_transact_count()=0, sm_id=51323) [2022-07-29 14:29:45.165374] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:45.165450] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:45.165591] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34208, server_ip={172.20.2.116:2881}, cs_id=2147534676, proxy_sessid=0, server_type=1) [2022-07-29 14:29:45.166064] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534676, proxy_sessid=12399538384371156384, server_ip={172.20.2.116:2881}, ss_id=34208, server_sessid=3221676972, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36402") [2022-07-29 14:29:45.167561] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51323, cs_id=2147534676, proxy_sessid=12399538384371156384, ss_id=34208, server_sessid=3221676972, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:45.167661] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51323, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:45.167683] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:45.167690] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51323, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:45.167703] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] server session do_io_close((*this={ss_id:34208, server_sessid:3221676972, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534676, proxy_sessid:12399538384371156384, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534676, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:45.167868] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=158] [dc=0] server session is closing(ss_id=34208, server_sessid=3221676972, server_ip={172.20.2.116:2881}, cs_id=2147534676, proxy_sessid=12399538384371156384) [2022-07-29 14:29:45.167899] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534676, proxy_sessid=12399538384371156384, client_vc=NULL) [2022-07-29 14:29:45.167916] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51323) [2022-07-29 14:29:45.168022] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=97] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:45.168032] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:45.168038] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:45.168048] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:45.168056] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:45.168064] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:45.168077] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17105, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076185164690839, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:45.168107] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17105, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076185164690839, server_state_version:0}) [2022-07-29 14:29:45.168137] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:45.168170] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:45.168214] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17105, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076185164690839, server_state_version:0}) [2022-07-29 14:29:45.168233] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:45.168366] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:29:45.168389] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51321, ret=-4152) [2022-07-29 14:29:45.168398] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:45.168406] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51321, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:45.168458] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=51026, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:45.168450] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF1691B1590] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:45.168491] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51321) [2022-07-29 14:29:45.168482] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:45.168505] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:45.168519] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:45.168549] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:45.168557] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:50.161711] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51238}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:29:50.161880] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51238}) [2022-07-29 14:29:50.161968] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client session born(cs_id=51029, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51238") [2022-07-29 14:29:50.162013] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51029, get_transact_count()=0, sm_id=51324) [2022-07-29 14:29:50.162044] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:50.251399] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:50.251441] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51238}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:50.251464] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:50.251475] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:50.251489] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:29:50.251501] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17106) [2022-07-29 14:29:50.251681] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076190251672, last_valid_time_us:1659076190251487, last_access_time_us:1659076190251487, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:50.251762] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:50.251802] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534678) [2022-07-29 14:29:50.251815] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534678, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:50.251845] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=2147534678, get_transact_count()=0, sm_id=51325) [2022-07-29 14:29:50.251867] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:50.251977] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:50.252116] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] server session born(ss_id=34209, server_ip={172.20.2.117:2881}, cs_id=2147534678, proxy_sessid=0, server_type=1) [2022-07-29 14:29:50.252611] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534678, proxy_sessid=12399538384371156385, server_ip={172.20.2.117:2881}, ss_id=34209, server_sessid=3221758221, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44470") [2022-07-29 14:29:50.253973] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=165] [dc=0] finishing mysql tunnel((sm_id=51325, cs_id=2147534678, proxy_sessid=12399538384371156385, ss_id=34209, server_sessid=3221758221, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:50.254096] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51325, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:50.254108] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:50.254115] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51325, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:50.254131] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] server session do_io_close((*this={ss_id:34209, server_sessid:3221758221, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534678, proxy_sessid:12399538384371156385, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534678, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:50.254330] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=191] [dc=0] server session is closing(ss_id=34209, server_sessid=3221758221, server_ip={172.20.2.117:2881}, cs_id=2147534678, proxy_sessid=12399538384371156385) [2022-07-29 14:29:50.254370] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534678, proxy_sessid=12399538384371156385, client_vc=NULL) [2022-07-29 14:29:50.254407] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] deallocating sm(sm_id=51325) [2022-07-29 14:29:50.254440] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:50.254464] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:50.254472] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:50.254485] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:50.254495] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:50.254505] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:50.254517] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:50.254525] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:50.254684] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:50.254708] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:50.254739] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534679) [2022-07-29 14:29:50.254764] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534679, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:50.254803] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534679, get_transact_count()=0, sm_id=51326) [2022-07-29 14:29:50.254815] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:50.254893] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:50.255142] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] server session born(ss_id=34210, server_ip={172.20.2.117:2881}, cs_id=2147534679, proxy_sessid=0, server_type=1) [2022-07-29 14:29:50.255652] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534679, proxy_sessid=12399538384371156386, server_ip={172.20.2.117:2881}, ss_id=34210, server_sessid=3221758222, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44472") [2022-07-29 14:29:50.259716] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51326, cs_id=2147534679, proxy_sessid=12399538384371156386, ss_id=34210, server_sessid=3221758222, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:50.259791] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51326, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:50.259798] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:50.259802] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51326, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:50.259812] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] server session do_io_close((*this={ss_id:34210, server_sessid:3221758222, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534679, proxy_sessid:12399538384371156386, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534679, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:29:50.259938] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=121] [dc=0] server session is closing(ss_id=34210, server_sessid=3221758222, server_ip={172.20.2.117:2881}, cs_id=2147534679, proxy_sessid=12399538384371156386) [2022-07-29 14:29:50.259962] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534679, proxy_sessid=12399538384371156386, client_vc=NULL) [2022-07-29 14:29:50.259975] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51326) [2022-07-29 14:29:50.259998] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:50.260069] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:50.260134] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:50.260204] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:50.260270] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:50.260338] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:50.260348] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17106, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076190254364569, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:50.260362] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17106, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076190254364569, server_state_version:0}) [2022-07-29 14:29:50.260386] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:50.260412] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:50.260447] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17106, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076190254364569, server_state_version:0}) [2022-07-29 14:29:50.260469] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:50.260554] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:29:50.260569] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] data is NULL(sm_id=51324, ret=-4152) [2022-07-29 14:29:50.260636] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:50.260702] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51324, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:50.260804] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=51029, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:50.260839] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] deallocating sm(sm_id=51324) [2022-07-29 14:29:50.260859] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF169450940] [lt=14] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:50.260867] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:50.260877] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:50.260883] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:50.260891] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:50.260894] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:55.167863] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=131] [dc=0] connection accepted(client={172.20.2.46:51240}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:29:55.168052] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51240}) [2022-07-29 14:29:55.168140] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=51032, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51240") [2022-07-29 14:29:55.168186] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51032, get_transact_count()=0, sm_id=51327) [2022-07-29 14:29:55.168218] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:55.256350] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:29:55.256390] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51240}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:29:55.256417] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:29:55.256432] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:55.256449] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:29:55.256464] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17107) [2022-07-29 14:29:55.256660] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076195256648, last_valid_time_us:1659076195256448, last_access_time_us:1659076195256448, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:29:55.256766] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:55.256810] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534681) [2022-07-29 14:29:55.256826] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session born(cs_id=2147534681, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:55.256856] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534681, get_transact_count()=0, sm_id=51328) [2022-07-29 14:29:55.256887] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:55.257025] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:55.257191] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34211, server_ip={172.20.2.117:2881}, cs_id=2147534681, proxy_sessid=0, server_type=1) [2022-07-29 14:29:55.257636] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534681, proxy_sessid=12399538384371156387, server_ip={172.20.2.117:2881}, ss_id=34211, server_sessid=3221758225, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44474") [2022-07-29 14:29:55.259077] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51328, cs_id=2147534681, proxy_sessid=12399538384371156387, ss_id=34211, server_sessid=3221758225, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:55.259291] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=183] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51328, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:55.259303] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:55.259334] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51328, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:55.259438] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] server session do_io_close((*this={ss_id:34211, server_sessid:3221758225, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534681, proxy_sessid:12399538384371156387, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534681, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:55.259638] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=190] [dc=0] server session is closing(ss_id=34211, server_sessid=3221758225, server_ip={172.20.2.117:2881}, cs_id=2147534681, proxy_sessid=12399538384371156387) [2022-07-29 14:29:55.259676] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534681, proxy_sessid=12399538384371156387, client_vc=NULL) [2022-07-29 14:29:55.259701] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] deallocating sm(sm_id=51328) [2022-07-29 14:29:55.259720] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:55.259834] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:55.260020] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:55.260134] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:55.260246] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:55.260357] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:55.260369] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:29:55.260387] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:55.260482] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:29:55.260503] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:29:55.260536] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534682) [2022-07-29 14:29:55.260561] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534682, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:29:55.260599] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534682, get_transact_count()=0, sm_id=51329) [2022-07-29 14:29:55.260651] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:29:55.260732] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:29:55.260878] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34212, server_ip={172.20.2.118:2881}, cs_id=2147534682, proxy_sessid=0, server_type=1) [2022-07-29 14:29:55.261296] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534682, proxy_sessid=12399538384371156388, server_ip={172.20.2.118:2881}, ss_id=34212, server_sessid=3222023417, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41430") [2022-07-29 14:29:55.262337] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51329, cs_id=2147534682, proxy_sessid=12399538384371156388, ss_id=34212, server_sessid=3222023417, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:29:55.262563] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=197] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51329, client_vc=0x7ff1684bb5e0) [2022-07-29 14:29:55.262589] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:29:55.262597] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51329, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:29:55.262714] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34212, server_sessid:3222023417, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534682, proxy_sessid:12399538384371156388, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534682, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:29:55.263004] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=281] [dc=0] server session is closing(ss_id=34212, server_sessid=3222023417, server_ip={172.20.2.118:2881}, cs_id=2147534682, proxy_sessid=12399538384371156388) [2022-07-29 14:29:55.263050] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534682, proxy_sessid=12399538384371156388, client_vc=NULL) [2022-07-29 14:29:55.263083] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51329) [2022-07-29 14:29:55.263112] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:29:55.263225] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:29:55.263335] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:29:55.263448] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:29:55.263559] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:29:55.263669] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:29:55.263694] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17107, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076195259268185, server_state_version:0}, pending_list_count=0) [2022-07-29 14:29:55.263727] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17107, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076195259268185, server_state_version:0}) [2022-07-29 14:29:55.263774] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:55.263832] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:29:55.263880] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17107, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076195259268185, server_state_version:0}) [2022-07-29 14:29:55.263914] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:29:55.264088] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:29:55.264126] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF1691B1590] [lt=14] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:29:55.264162] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=29] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:55.264187] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:29:55.264111] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] data is NULL(sm_id=51327, ret=-4152) [2022-07-29 14:29:55.264203] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=12] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:29:55.264214] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:29:55.264219] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:29:55.264222] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:29:55.264331] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51327, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:29:55.264517] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session destroy(cs_id=51032, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:29:55.264567] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51327) [2022-07-29 14:30:00.277509] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51246}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:30:00.277644] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51246}) [2022-07-29 14:30:00.277688] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session born(cs_id=51035, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51246") [2022-07-29 14:30:00.277757] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] Starting new transaction using sm(cs_id=51035, get_transact_count()=0, sm_id=51330) [2022-07-29 14:30:00.277771] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:00.362169] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:00.362210] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51246}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:00.362237] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:00.362251] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:00.362269] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:30:00.362284] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17108) [2022-07-29 14:30:00.362492] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076200362480, last_valid_time_us:1659076200362267, last_access_time_us:1659076200362267, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:00.362594] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:00.362642] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534684) [2022-07-29 14:30:00.362671] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534684, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:00.362712] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534684, get_transact_count()=0, sm_id=51331) [2022-07-29 14:30:00.362729] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:00.362832] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:00.363038] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34213, server_ip={172.20.2.116:2881}, cs_id=2147534684, proxy_sessid=0, server_type=1) [2022-07-29 14:30:00.363366] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534684, proxy_sessid=12399538384371156389, server_ip={172.20.2.116:2881}, ss_id=34213, server_sessid=3221677118, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36412") [2022-07-29 14:30:00.364532] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] finishing mysql tunnel((sm_id=51331, cs_id=2147534684, proxy_sessid=12399538384371156389, ss_id=34213, server_sessid=3221677118, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:00.364620] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51331, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:00.364625] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:00.364628] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51331, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:00.364662] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] server session do_io_close((*this={ss_id:34213, server_sessid:3221677118, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534684, proxy_sessid:12399538384371156389, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534684, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:00.364748] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=80] [dc=0] server session is closing(ss_id=34213, server_sessid=3221677118, server_ip={172.20.2.116:2881}, cs_id=2147534684, proxy_sessid=12399538384371156389) [2022-07-29 14:30:00.364766] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534684, proxy_sessid=12399538384371156389, client_vc=NULL) [2022-07-29 14:30:00.364776] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] deallocating sm(sm_id=51331) [2022-07-29 14:30:00.364786] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:00.364825] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:00.364855] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:00.364888] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:00.364930] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:00.364962] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:00.364967] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:00.364970] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:00.365104] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:00.365118] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:00.365136] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534685) [2022-07-29 14:30:00.365142] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534685, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:00.365155] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534685, get_transact_count()=0, sm_id=51332) [2022-07-29 14:30:00.365161] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:00.365203] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:00.365287] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] server session born(ss_id=34214, server_ip={172.20.2.118:2881}, cs_id=2147534685, proxy_sessid=0, server_type=1) [2022-07-29 14:30:00.365656] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] succ to set proxy_sessid(cs_id=2147534685, proxy_sessid=12399538384371156390, server_ip={172.20.2.118:2881}, ss_id=34214, server_sessid=3222023418, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41434") [2022-07-29 14:30:00.367430] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] finishing mysql tunnel((sm_id=51332, cs_id=2147534685, proxy_sessid=12399538384371156390, ss_id=34214, server_sessid=3222023418, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:00.367501] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51332, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:00.367506] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:00.367508] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51332, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:00.367540] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] server session do_io_close((*this={ss_id:34214, server_sessid:3222023418, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534685, proxy_sessid:12399538384371156390, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534685, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:00.367605] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] server session is closing(ss_id=34214, server_sessid=3222023418, server_ip={172.20.2.118:2881}, cs_id=2147534685, proxy_sessid=12399538384371156390) [2022-07-29 14:30:00.367618] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534685, proxy_sessid=12399538384371156390, client_vc=NULL) [2022-07-29 14:30:00.367625] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] deallocating sm(sm_id=51332) [2022-07-29 14:30:00.367632] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:00.367675] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:00.367711] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:00.367748] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:00.367785] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:00.367840] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:00.367846] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17108, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076200364605987, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:00.367854] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17108, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076200364605987, server_state_version:0}) [2022-07-29 14:30:00.367869] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:00.367881] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:00.367901] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17108, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076200364605987, server_state_version:0}) [2022-07-29 14:30:00.367942] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:00.368019] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:30:00.368031] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] data is NULL(sm_id=51330, ret=-4152) [2022-07-29 14:30:00.368074] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:00.368065] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:00.368108] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:00.368099] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51330, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:00.368131] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:00.368144] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:00.368158] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=51035, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:00.368159] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:00.368166] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:00.368177] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51330) [2022-07-29 14:30:05.282407] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=89] [dc=0] connection accepted(client={172.20.2.46:51248}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:30:05.282554] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51248}) [2022-07-29 14:30:05.282629] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] client session born(cs_id=51038, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51248") [2022-07-29 14:30:05.282671] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=51038, get_transact_count()=0, sm_id=51333) [2022-07-29 14:30:05.282698] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:05.364868] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:05.364893] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] client login audit(client_addr={172.20.2.46:51248}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:05.364910] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:05.364929] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:05.364940] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:30:05.364948] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17109) [2022-07-29 14:30:05.365078] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076205365071, last_valid_time_us:1659076205364939, last_access_time_us:1659076205364939, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:05.365130] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:05.365161] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534687) [2022-07-29 14:30:05.365170] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534687, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:05.365190] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534687, get_transact_count()=0, sm_id=51334) [2022-07-29 14:30:05.365199] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:05.365262] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:05.365372] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session born(ss_id=34215, server_ip={172.20.2.117:2881}, cs_id=2147534687, proxy_sessid=0, server_type=1) [2022-07-29 14:30:05.365968] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534687, proxy_sessid=12399538384371156391, server_ip={172.20.2.117:2881}, ss_id=34215, server_sessid=3221758234, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44482") [2022-07-29 14:30:05.367463] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51334, cs_id=2147534687, proxy_sessid=12399538384371156391, ss_id=34215, server_sessid=3221758234, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:05.367674] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=179] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51334, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:05.367698] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:05.367705] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51334, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:05.367820] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] server session do_io_close((*this={ss_id:34215, server_sessid:3221758234, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534687, proxy_sessid:12399538384371156391, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534687, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:05.368065] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=235] [dc=0] server session is closing(ss_id=34215, server_sessid=3221758234, server_ip={172.20.2.117:2881}, cs_id=2147534687, proxy_sessid=12399538384371156391) [2022-07-29 14:30:05.368105] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534687, proxy_sessid=12399538384371156391, client_vc=NULL) [2022-07-29 14:30:05.368128] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51334) [2022-07-29 14:30:05.368151] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:05.368262] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:05.368368] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:05.368545] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=167] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:05.368654] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:05.368767] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:05.368786] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:05.368795] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:05.368916] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:05.368960] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:05.369002] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534688) [2022-07-29 14:30:05.369030] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534688, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:05.369059] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534688, get_transact_count()=0, sm_id=51335) [2022-07-29 14:30:05.369085] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:05.369185] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:05.369370] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34216, server_ip={172.20.2.118:2881}, cs_id=2147534688, proxy_sessid=0, server_type=1) [2022-07-29 14:30:05.370510] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534688, proxy_sessid=12399538384371156392, server_ip={172.20.2.118:2881}, ss_id=34216, server_sessid=3222023419, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41438") [2022-07-29 14:30:05.372339] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] finishing mysql tunnel((sm_id=51335, cs_id=2147534688, proxy_sessid=12399538384371156392, ss_id=34216, server_sessid=3222023419, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:05.372430] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=73] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51335, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:05.372436] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:05.372439] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51335, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:05.372481] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session do_io_close((*this={ss_id:34216, server_sessid:3222023419, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534688, proxy_sessid:12399538384371156392, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534688, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:05.372567] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] server session is closing(ss_id=34216, server_sessid=3222023419, server_ip={172.20.2.118:2881}, cs_id=2147534688, proxy_sessid=12399538384371156392) [2022-07-29 14:30:05.372585] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534688, proxy_sessid=12399538384371156392, client_vc=NULL) [2022-07-29 14:30:05.372601] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51335) [2022-07-29 14:30:05.372612] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:05.372657] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:05.372692] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:05.372736] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:05.372780] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:05.372824] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:05.372831] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17109, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076205368088137, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:05.372841] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17109, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076205368088137, server_state_version:0}) [2022-07-29 14:30:05.372860] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:05.372882] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:05.372902] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17109, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076205368088137, server_state_version:0}) [2022-07-29 14:30:05.372913] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:05.373030] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:30:05.373039] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] data is NULL(sm_id=51333, ret=-4152) [2022-07-29 14:30:05.373071] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF1691B1590] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:05.373079] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:05.373100] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:05.373122] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:05.373134] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:05.373115] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51333, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:05.373177] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] client session destroy(cs_id=51038, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:05.373148] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:05.373197] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51333) [2022-07-29 14:30:05.373192] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=43] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:10.214824] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=48] [dc=0] connection accepted(client={172.20.2.46:51252}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:30:10.214972] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51252}) [2022-07-29 14:30:10.215071] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] client session born(cs_id=51041, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51252") [2022-07-29 14:30:10.215118] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51041, get_transact_count()=0, sm_id=51336) [2022-07-29 14:30:10.215151] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:10.300527] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:10.300567] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51252}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:10.300595] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:10.300609] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:10.300627] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:30:10.300641] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17110) [2022-07-29 14:30:10.300835] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076210300824, last_valid_time_us:1659076210300645, last_access_time_us:1659076210300645, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:10.300966] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=129] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:10.301013] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534690) [2022-07-29 14:30:10.301028] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534690, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:10.301072] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534690, get_transact_count()=0, sm_id=51337) [2022-07-29 14:30:10.301088] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:10.301206] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:10.301373] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34217, server_ip={172.20.2.118:2881}, cs_id=2147534690, proxy_sessid=0, server_type=1) [2022-07-29 14:30:10.301870] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534690, proxy_sessid=12399538384371156393, server_ip={172.20.2.118:2881}, ss_id=34217, server_sessid=3222023420, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41440") [2022-07-29 14:30:10.303719] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51337, cs_id=2147534690, proxy_sessid=12399538384371156393, ss_id=34217, server_sessid=3222023420, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:10.303962] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=214] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51337, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:10.303973] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:10.303980] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51337, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:10.304098] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34217, server_sessid:3222023420, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534690, proxy_sessid:12399538384371156393, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534690, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:10.304302] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=197] [dc=0] server session is closing(ss_id=34217, server_sessid=3222023420, server_ip={172.20.2.118:2881}, cs_id=2147534690, proxy_sessid=12399538384371156393) [2022-07-29 14:30:10.304345] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session destroy(cs_id=2147534690, proxy_sessid=12399538384371156393, client_vc=NULL) [2022-07-29 14:30:10.304379] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51337) [2022-07-29 14:30:10.304404] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:10.304561] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=157] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:10.304671] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:10.304785] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:10.304896] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:10.305023] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=125] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:10.305035] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:10.305043] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:10.305163] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:10.305186] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:10.305216] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534691) [2022-07-29 14:30:10.305240] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534691, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:10.305265] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534691, get_transact_count()=0, sm_id=51338) [2022-07-29 14:30:10.305280] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:10.305367] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:10.305503] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34218, server_ip={172.20.2.116:2881}, cs_id=2147534691, proxy_sessid=0, server_type=1) [2022-07-29 14:30:10.305906] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534691, proxy_sessid=12399538384371156394, server_ip={172.20.2.116:2881}, ss_id=34218, server_sessid=3221677212, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36422") [2022-07-29 14:30:10.307152] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51338, cs_id=2147534691, proxy_sessid=12399538384371156394, ss_id=34218, server_sessid=3221677212, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:10.307339] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=163] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51338, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:10.307360] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:10.307367] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51338, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:10.307473] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] server session do_io_close((*this={ss_id:34218, server_sessid:3221677212, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534691, proxy_sessid:12399538384371156394, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534691, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:10.307648] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=167] [dc=0] server session is closing(ss_id=34218, server_sessid=3221677212, server_ip={172.20.2.116:2881}, cs_id=2147534691, proxy_sessid=12399538384371156394) [2022-07-29 14:30:10.307691] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session destroy(cs_id=2147534691, proxy_sessid=12399538384371156394, client_vc=NULL) [2022-07-29 14:30:10.307719] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51338) [2022-07-29 14:30:10.307745] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:10.307845] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:10.307960] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:10.308062] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:10.308165] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:10.308266] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:10.308280] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17110, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076210303940208, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:10.308309] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17110, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076210303940208, server_state_version:0}) [2022-07-29 14:30:10.308353] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:10.308391] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:10.308437] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17110, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076210303940208, server_state_version:0}) [2022-07-29 14:30:10.308468] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:10.308609] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:30:10.308658] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B2A10] [lt=16] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:10.308699] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:10.308723] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:10.308632] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51336, ret=-4152) [2022-07-29 14:30:10.308736] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:10.308750] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:10.308757] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:10.308740] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:10.308842] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51336, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:10.309005] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51041, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:10.309040] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51336) [2022-07-29 14:30:15.182029] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=44] [dc=0] connection accepted(client={172.20.2.46:51254}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:30:15.182167] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51254}) [2022-07-29 14:30:15.182242] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] client session born(cs_id=51044, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51254") [2022-07-29 14:30:15.182266] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=51044, get_transact_count()=0, sm_id=51339) [2022-07-29 14:30:15.182278] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:15.256484] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:15.256531] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client login audit(client_addr={172.20.2.46:51254}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:15.256559] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:15.256573] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:15.256591] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:30:15.256605] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17111) [2022-07-29 14:30:15.256806] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076215256794, last_valid_time_us:1659076215256589, last_access_time_us:1659076215256589, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:15.256968] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=160] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:15.257034] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] proxy mysql client session born(cs_id=2147534693) [2022-07-29 14:30:15.257064] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534693, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:15.257095] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534693, get_transact_count()=0, sm_id=51340) [2022-07-29 14:30:15.257117] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:15.257237] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:15.257406] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34219, server_ip={172.20.2.118:2881}, cs_id=2147534693, proxy_sessid=0, server_type=1) [2022-07-29 14:30:15.257875] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534693, proxy_sessid=12399538384371156395, server_ip={172.20.2.118:2881}, ss_id=34219, server_sessid=3222023421, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41444") [2022-07-29 14:30:15.259818] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51340, cs_id=2147534693, proxy_sessid=12399538384371156395, ss_id=34219, server_sessid=3222023421, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:15.260012] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=167] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51340, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:15.260023] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:15.260028] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51340, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:15.260121] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] server session do_io_close((*this={ss_id:34219, server_sessid:3222023421, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534693, proxy_sessid:12399538384371156395, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534693, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:15.260280] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=151] [dc=0] server session is closing(ss_id=34219, server_sessid=3222023421, server_ip={172.20.2.118:2881}, cs_id=2147534693, proxy_sessid=12399538384371156395) [2022-07-29 14:30:15.260313] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534693, proxy_sessid=12399538384371156395, client_vc=NULL) [2022-07-29 14:30:15.260330] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51340) [2022-07-29 14:30:15.260345] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:15.260434] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:15.260521] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:15.260612] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:15.260701] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:15.260789] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:15.260798] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:15.260804] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:15.260937] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:15.260952] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:15.260978] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534694) [2022-07-29 14:30:15.261002] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534694, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:15.261025] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534694, get_transact_count()=0, sm_id=51341) [2022-07-29 14:30:15.261034] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:15.261102] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:15.261224] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] server session born(ss_id=34220, server_ip={172.20.2.118:2881}, cs_id=2147534694, proxy_sessid=0, server_type=1) [2022-07-29 14:30:15.261849] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534694, proxy_sessid=12399538384371156396, server_ip={172.20.2.118:2881}, ss_id=34220, server_sessid=3222023422, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41446") [2022-07-29 14:30:15.263625] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51341, cs_id=2147534694, proxy_sessid=12399538384371156396, ss_id=34220, server_sessid=3222023422, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:15.263812] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=163] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51341, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:15.263823] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:15.263829] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51341, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:15.263944] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34220, server_sessid:3222023422, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534694, proxy_sessid:12399538384371156396, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534694, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:15.264111] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=159] [dc=0] server session is closing(ss_id=34220, server_sessid=3222023422, server_ip={172.20.2.118:2881}, cs_id=2147534694, proxy_sessid=12399538384371156396) [2022-07-29 14:30:15.264141] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534694, proxy_sessid=12399538384371156396, client_vc=NULL) [2022-07-29 14:30:15.264168] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51341) [2022-07-29 14:30:15.264188] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:15.264281] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:15.264373] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:15.264458] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:15.264551] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:15.264652] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:15.264664] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17111, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076215260215457, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:15.264693] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17111, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076215260215457, server_state_version:0}) [2022-07-29 14:30:15.264728] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:15.264761] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:15.264815] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17111, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076215260215457, server_state_version:0}) [2022-07-29 14:30:15.264844] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:15.264990] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:30:15.265032] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B1590] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:15.265011] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51339, ret=-4152) [2022-07-29 14:30:15.265079] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:15.265104] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:15.265117] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:15.265130] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:15.265137] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:15.265104] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:15.265186] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51339, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:15.265324] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51044, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:15.265361] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] deallocating sm(sm_id=51339) [2022-07-29 14:30:20.254251] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51258}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:30:20.254379] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51258}) [2022-07-29 14:30:20.254437] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client session born(cs_id=51047, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51258") [2022-07-29 14:30:20.254467] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=51047, get_transact_count()=0, sm_id=51342) [2022-07-29 14:30:20.254490] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:20.330990] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:20.331031] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51258}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:20.331060] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:20.331074] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:20.331092] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:30:20.331107] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17112) [2022-07-29 14:30:20.331313] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076220331301, last_valid_time_us:1659076220331091, last_access_time_us:1659076220331091, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:20.331418] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:20.331465] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534696) [2022-07-29 14:30:20.331495] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534696, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:20.331536] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534696, get_transact_count()=0, sm_id=51343) [2022-07-29 14:30:20.331564] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:20.331678] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:20.331850] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34221, server_ip={172.20.2.118:2881}, cs_id=2147534696, proxy_sessid=0, server_type=1) [2022-07-29 14:30:20.332434] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534696, proxy_sessid=12399538384371156397, server_ip={172.20.2.118:2881}, ss_id=34221, server_sessid=3222023423, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41448") [2022-07-29 14:30:20.333810] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] finishing mysql tunnel((sm_id=51343, cs_id=2147534696, proxy_sessid=12399538384371156397, ss_id=34221, server_sessid=3222023423, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:20.333951] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=123] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51343, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:20.333963] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:20.333968] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51343, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:20.334036] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] server session do_io_close((*this={ss_id:34221, server_sessid:3222023423, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534696, proxy_sessid:12399538384371156397, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534696, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:20.334154] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session is closing(ss_id=34221, server_sessid=3222023423, server_ip={172.20.2.118:2881}, cs_id=2147534696, proxy_sessid=12399538384371156397) [2022-07-29 14:30:20.334178] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534696, proxy_sessid=12399538384371156397, client_vc=NULL) [2022-07-29 14:30:20.334192] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51343) [2022-07-29 14:30:20.334207] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:20.334273] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:20.334332] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:20.334400] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=64] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:20.334464] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=64] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:20.334528] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:20.334536] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:20.334541] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:20.334626] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:20.334641] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:20.334660] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534697) [2022-07-29 14:30:20.334677] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session born(cs_id=2147534697, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:20.334694] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534697, get_transact_count()=0, sm_id=51344) [2022-07-29 14:30:20.334710] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:20.334755] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:20.334841] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] server session born(ss_id=34222, server_ip={172.20.2.117:2881}, cs_id=2147534697, proxy_sessid=0, server_type=1) [2022-07-29 14:30:20.335274] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534697, proxy_sessid=12399538384371156398, server_ip={172.20.2.117:2881}, ss_id=34222, server_sessid=3221758241, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44496") [2022-07-29 14:30:20.336446] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51344, cs_id=2147534697, proxy_sessid=12399538384371156398, ss_id=34222, server_sessid=3221758241, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:20.336649] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51344, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:20.336674] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:20.336681] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51344, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:20.336796] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34222, server_sessid:3221758241, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534697, proxy_sessid:12399538384371156398, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534697, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:20.337107] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=303] [dc=0] server session is closing(ss_id=34222, server_sessid=3221758241, server_ip={172.20.2.117:2881}, cs_id=2147534697, proxy_sessid=12399538384371156398) [2022-07-29 14:30:20.337143] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534697, proxy_sessid=12399538384371156398, client_vc=NULL) [2022-07-29 14:30:20.337176] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51344) [2022-07-29 14:30:20.337204] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:20.337314] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:20.337425] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:20.337536] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:20.337647] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:20.337758] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:20.337773] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17112, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076220334153463, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:20.337801] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17112, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076220334153463, server_state_version:0}) [2022-07-29 14:30:20.337835] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:20.337876] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:20.337915] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17112, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076220334153463, server_state_version:0}) [2022-07-29 14:30:20.337951] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:20.338101] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:30:20.338128] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:20.338161] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:20.338185] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:20.338199] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:20.338119] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] data is NULL(sm_id=51342, ret=-4152) [2022-07-29 14:30:20.338213] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:20.338220] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:20.338219] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:20.338330] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51342, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:20.338498] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51047, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:20.338547] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51342) [2022-07-29 14:30:25.318837] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=60] [dc=0] connection accepted(client={172.20.2.46:51260}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:30:25.318937] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51260}) [2022-07-29 14:30:25.318977] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=51050, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51260") [2022-07-29 14:30:25.318996] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=51050, get_transact_count()=0, sm_id=51345) [2022-07-29 14:30:25.319005] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:25.403621] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:25.403649] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client login audit(client_addr={172.20.2.46:51260}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:25.403671] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:25.403681] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:25.403695] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:30:25.403704] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17113) [2022-07-29 14:30:25.403887] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076225403879, last_valid_time_us:1659076225403693, last_access_time_us:1659076225403693, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:25.403970] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:25.404010] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534699) [2022-07-29 14:30:25.404031] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=2147534699, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:25.404056] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534699, get_transact_count()=0, sm_id=51346) [2022-07-29 14:30:25.404067] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:25.404160] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:25.404287] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session born(ss_id=34223, server_ip={172.20.2.117:2881}, cs_id=2147534699, proxy_sessid=0, server_type=1) [2022-07-29 14:30:25.404761] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534699, proxy_sessid=12399538384371156399, server_ip={172.20.2.117:2881}, ss_id=34223, server_sessid=3221758244, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44498") [2022-07-29 14:30:25.410841] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51346, cs_id=2147534699, proxy_sessid=12399538384371156399, ss_id=34223, server_sessid=3221758244, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:25.410983] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51346, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:25.410991] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:25.410996] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51346, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:25.411064] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] server session do_io_close((*this={ss_id:34223, server_sessid:3221758244, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534699, proxy_sessid:12399538384371156399, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534699, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:25.411175] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] server session is closing(ss_id=34223, server_sessid=3221758244, server_ip={172.20.2.117:2881}, cs_id=2147534699, proxy_sessid=12399538384371156399) [2022-07-29 14:30:25.411200] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534699, proxy_sessid=12399538384371156399, client_vc=NULL) [2022-07-29 14:30:25.411215] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51346) [2022-07-29 14:30:25.411227] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:25.411286] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:25.411339] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:25.411399] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:25.411454] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:25.411513] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:25.411520] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:25.411524] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:25.411684] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:25.411717] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:25.411754] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534700) [2022-07-29 14:30:25.411778] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534700, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:25.411806] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534700, get_transact_count()=0, sm_id=51347) [2022-07-29 14:30:25.411829] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:25.411908] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:25.412078] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] server session born(ss_id=34224, server_ip={172.20.2.116:2881}, cs_id=2147534700, proxy_sessid=0, server_type=1) [2022-07-29 14:30:25.412404] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534700, proxy_sessid=12399538384371156400, server_ip={172.20.2.116:2881}, ss_id=34224, server_sessid=3221677359, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36434") [2022-07-29 14:30:25.414085] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51347, cs_id=2147534700, proxy_sessid=12399538384371156400, ss_id=34224, server_sessid=3221677359, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:25.414194] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51347, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:25.414201] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:25.414204] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51347, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:25.414256] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] server session do_io_close((*this={ss_id:34224, server_sessid:3221677359, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534700, proxy_sessid:12399538384371156400, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534700, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:25.414359] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] server session is closing(ss_id=34224, server_sessid=3221677359, server_ip={172.20.2.116:2881}, cs_id=2147534700, proxy_sessid=12399538384371156400) [2022-07-29 14:30:25.414380] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534700, proxy_sessid=12399538384371156400, client_vc=NULL) [2022-07-29 14:30:25.414391] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51347) [2022-07-29 14:30:25.414401] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:25.414460] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:25.414509] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:25.414567] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:25.414625] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:25.414683] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:25.414692] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17113, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076225411475365, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:25.414704] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17113, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076225411475365, server_state_version:0}) [2022-07-29 14:30:25.414724] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:25.414740] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:25.414772] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17113, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076225411475365, server_state_version:0}) [2022-07-29 14:30:25.414784] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:25.414888] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:30:25.414902] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] data is NULL(sm_id=51345, ret=-4152) [2022-07-29 14:30:25.414948] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1590] [lt=5] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:25.414967] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:25.414982] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:25.414991] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:25.415001] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:25.415006] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:25.414970] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:25.415020] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51345, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:25.415107] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=51050, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:25.415130] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51345) [2022-07-29 14:30:30.307776] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51266}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:30:30.307969] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51266}) [2022-07-29 14:30:30.308063] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] client session born(cs_id=51053, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51266") [2022-07-29 14:30:30.308112] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51053, get_transact_count()=0, sm_id=51348) [2022-07-29 14:30:30.308145] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:30.386020] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:30.386068] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] client login audit(client_addr={172.20.2.46:51266}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:30.386096] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:30.386110] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:30.386127] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:30:30.386142] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17114) [2022-07-29 14:30:30.386338] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076230386328, last_valid_time_us:1659076230386125, last_access_time_us:1659076230386125, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:30.386443] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:30.386488] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534702) [2022-07-29 14:30:30.386516] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534702, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:30.386557] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534702, get_transact_count()=0, sm_id=51349) [2022-07-29 14:30:30.386584] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:30.386687] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:30.386853] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34225, server_ip={172.20.2.118:2881}, cs_id=2147534702, proxy_sessid=0, server_type=1) [2022-07-29 14:30:30.387199] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534702, proxy_sessid=12399538384371156401, server_ip={172.20.2.118:2881}, ss_id=34225, server_sessid=3222023424, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41456") [2022-07-29 14:30:30.389219] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] finishing mysql tunnel((sm_id=51349, cs_id=2147534702, proxy_sessid=12399538384371156401, ss_id=34225, server_sessid=3222023424, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:30.389418] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=176] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51349, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:30.389440] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:30.389447] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51349, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:30.389562] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] server session do_io_close((*this={ss_id:34225, server_sessid:3222023424, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534702, proxy_sessid:12399538384371156401, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534702, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:30.389753] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=185] [dc=0] server session is closing(ss_id=34225, server_sessid=3222023424, server_ip={172.20.2.118:2881}, cs_id=2147534702, proxy_sessid=12399538384371156401) [2022-07-29 14:30:30.389788] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534702, proxy_sessid=12399538384371156401, client_vc=NULL) [2022-07-29 14:30:30.389808] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51349) [2022-07-29 14:30:30.389831] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:30.389950] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:30.390063] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:30.390175] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:30.390287] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:30.390397] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:30.390410] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:30.390417] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:30.390533] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:30.390556] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:30.390584] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534703) [2022-07-29 14:30:30.390609] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534703, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:30.390631] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534703, get_transact_count()=0, sm_id=51350) [2022-07-29 14:30:30.390643] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:30.390711] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:30.390836] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34226, server_ip={172.20.2.117:2881}, cs_id=2147534703, proxy_sessid=0, server_type=1) [2022-07-29 14:30:30.391332] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534703, proxy_sessid=12399538384371156402, server_ip={172.20.2.117:2881}, ss_id=34226, server_sessid=3221758251, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44504") [2022-07-29 14:30:30.401494] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51350, cs_id=2147534703, proxy_sessid=12399538384371156402, ss_id=34226, server_sessid=3221758251, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:30.401684] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=170] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51350, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:30.401694] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:30.401700] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51350, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:30.401815] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34226, server_sessid:3221758251, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534703, proxy_sessid:12399538384371156402, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534703, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:30.402018] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=197] [dc=0] server session is closing(ss_id=34226, server_sessid=3221758251, server_ip={172.20.2.117:2881}, cs_id=2147534703, proxy_sessid=12399538384371156402) [2022-07-29 14:30:30.402050] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534703, proxy_sessid=12399538384371156402, client_vc=NULL) [2022-07-29 14:30:30.402081] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51350) [2022-07-29 14:30:30.402101] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:30.402212] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:30.402320] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:30.402431] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:30.402541] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:30.402650] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:30.402663] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17114, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076230390148363, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:30.402684] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17114, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076230390148363, server_state_version:0}) [2022-07-29 14:30:30.402731] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:30.402759] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:30.402795] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17114, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076230390148363, server_state_version:0}) [2022-07-29 14:30:30.402829] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:30.402997] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:30:30.403059] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF1691B2A10] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:30.403021] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51348, ret=-4152) [2022-07-29 14:30:30.403107] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:30.403171] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:30.403122] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:30.403218] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:30.403244] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:30.403253] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:30.403221] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=98] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51348, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:30.403377] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51053, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:30.403427] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51348) [2022-07-29 14:30:35.352650] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=40] [dc=0] connection accepted(client={172.20.2.46:51268}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:30:35.352886] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51268}) [2022-07-29 14:30:35.352982] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] client session born(cs_id=51056, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51268") [2022-07-29 14:30:35.353024] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=51056, get_transact_count()=0, sm_id=51351) [2022-07-29 14:30:35.353040] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:35.454002] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:35.454042] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51268}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:35.454071] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:35.454084] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:35.454101] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:30:35.454115] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17115) [2022-07-29 14:30:35.454306] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076235454295, last_valid_time_us:1659076235454100, last_access_time_us:1659076235454100, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:35.454412] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:35.454807] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534705) [2022-07-29 14:30:35.454824] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session born(cs_id=2147534705, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:35.454860] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534705, get_transact_count()=0, sm_id=51352) [2022-07-29 14:30:35.454888] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:35.455033] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:35.455219] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34227, server_ip={172.20.2.116:2881}, cs_id=2147534705, proxy_sessid=0, server_type=1) [2022-07-29 14:30:35.455613] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534705, proxy_sessid=12399538384371156403, server_ip={172.20.2.116:2881}, ss_id=34227, server_sessid=3221677456, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36440") [2022-07-29 14:30:35.456682] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51352, cs_id=2147534705, proxy_sessid=12399538384371156403, ss_id=34227, server_sessid=3221677456, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:35.456898] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51352, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:35.456910] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:35.456973] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51352, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:35.457123] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34227, server_sessid:3221677456, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534705, proxy_sessid:12399538384371156403, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534705, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:35.457323] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34227, server_sessid=3221677456, server_ip={172.20.2.116:2881}, cs_id=2147534705, proxy_sessid=12399538384371156403) [2022-07-29 14:30:35.457362] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534705, proxy_sessid=12399538384371156403, client_vc=NULL) [2022-07-29 14:30:35.457399] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] deallocating sm(sm_id=51352) [2022-07-29 14:30:35.457430] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:35.457541] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:35.457650] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:35.457763] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:35.457873] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:35.457999] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=123] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:35.458012] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:35.458019] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:35.458162] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:35.458187] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:35.458218] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534706) [2022-07-29 14:30:35.458230] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534706, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:35.458254] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534706, get_transact_count()=0, sm_id=51353) [2022-07-29 14:30:35.458279] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:35.458374] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:35.458517] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] server session born(ss_id=34228, server_ip={172.20.2.118:2881}, cs_id=2147534706, proxy_sessid=0, server_type=1) [2022-07-29 14:30:35.458970] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534706, proxy_sessid=12399538384371156404, server_ip={172.20.2.118:2881}, ss_id=34228, server_sessid=3222023425, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41462") [2022-07-29 14:30:35.461041] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51353, cs_id=2147534706, proxy_sessid=12399538384371156404, ss_id=34228, server_sessid=3222023425, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:35.461287] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=221] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51353, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:35.461298] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:35.461304] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51353, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:35.461430] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=123] [dc=0] server session do_io_close((*this={ss_id:34228, server_sessid:3222023425, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534706, proxy_sessid:12399538384371156404, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534706, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:35.461608] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=171] [dc=0] server session is closing(ss_id=34228, server_sessid=3222023425, server_ip={172.20.2.118:2881}, cs_id=2147534706, proxy_sessid=12399538384371156404) [2022-07-29 14:30:35.461640] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534706, proxy_sessid=12399538384371156404, client_vc=NULL) [2022-07-29 14:30:35.461658] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51353) [2022-07-29 14:30:35.461674] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:35.461795] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:35.461895] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:35.462019] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:35.462120] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:35.462221] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:35.462235] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17115, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076235456875655, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:35.462265] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17115, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076235456875655, server_state_version:0}) [2022-07-29 14:30:35.462309] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:35.462345] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:35.462407] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17115, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076235456875655, server_state_version:0}) [2022-07-29 14:30:35.462438] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:35.462582] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:30:35.462634] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:35.462665] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:35.462605] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51351, ret=-4152) [2022-07-29 14:30:35.462702] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:35.462717] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:35.462740] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:35.462748] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:35.462696] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:35.462794] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51351, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:35.462982] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session destroy(cs_id=51056, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:35.463018] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51351) [2022-07-29 14:30:40.322633] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=91] [dc=0] connection accepted(client={172.20.2.46:51272}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:30:40.322746] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51272}) [2022-07-29 14:30:40.322794] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=51059, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51272") [2022-07-29 14:30:40.322839] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51059, get_transact_count()=0, sm_id=51354) [2022-07-29 14:30:40.322856] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:40.406980] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:40.407019] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51272}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:40.407048] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:40.407063] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:40.407080] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:30:40.407096] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17116) [2022-07-29 14:30:40.407297] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076240407285, last_valid_time_us:1659076240407079, last_access_time_us:1659076240407079, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:40.407405] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:40.407451] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534708) [2022-07-29 14:30:40.407467] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534708, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:40.407496] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534708, get_transact_count()=0, sm_id=51355) [2022-07-29 14:30:40.407525] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:40.407631] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:40.407798] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34229, server_ip={172.20.2.116:2881}, cs_id=2147534708, proxy_sessid=0, server_type=1) [2022-07-29 14:30:40.408191] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534708, proxy_sessid=12399538384371156405, server_ip={172.20.2.116:2881}, ss_id=34229, server_sessid=3221677503, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36444") [2022-07-29 14:30:40.409595] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] finishing mysql tunnel((sm_id=51355, cs_id=2147534708, proxy_sessid=12399538384371156405, ss_id=34229, server_sessid=3221677503, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:40.409808] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=183] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51355, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:40.409821] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:40.409828] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51355, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:40.409984] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=152] [dc=0] server session do_io_close((*this={ss_id:34229, server_sessid:3221677503, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534708, proxy_sessid:12399538384371156405, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534708, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:40.410185] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=193] [dc=0] server session is closing(ss_id=34229, server_sessid=3221677503, server_ip={172.20.2.116:2881}, cs_id=2147534708, proxy_sessid=12399538384371156405) [2022-07-29 14:30:40.410223] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534708, proxy_sessid=12399538384371156405, client_vc=NULL) [2022-07-29 14:30:40.410258] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51355) [2022-07-29 14:30:40.410291] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:40.410411] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:40.410528] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:40.410650] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:40.410761] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:40.410880] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:40.410903] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:40.410911] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:40.411059] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:40.411084] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:40.411117] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534709) [2022-07-29 14:30:40.411143] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534709, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:40.411180] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534709, get_transact_count()=0, sm_id=51356) [2022-07-29 14:30:40.411215] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:40.411307] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:40.411463] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34230, server_ip={172.20.2.117:2881}, cs_id=2147534709, proxy_sessid=0, server_type=1) [2022-07-29 14:30:40.411889] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534709, proxy_sessid=12399538384371156406, server_ip={172.20.2.117:2881}, ss_id=34230, server_sessid=3221760105, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44512") [2022-07-29 14:30:40.413196] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51356, cs_id=2147534709, proxy_sessid=12399538384371156406, ss_id=34230, server_sessid=3221760105, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:40.413376] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=161] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51356, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:40.413395] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:40.413401] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51356, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:40.413496] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] server session do_io_close((*this={ss_id:34230, server_sessid:3221760105, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534709, proxy_sessid:12399538384371156406, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534709, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:40.413653] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=151] [dc=0] server session is closing(ss_id=34230, server_sessid=3221760105, server_ip={172.20.2.117:2881}, cs_id=2147534709, proxy_sessid=12399538384371156406) [2022-07-29 14:30:40.413690] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session destroy(cs_id=2147534709, proxy_sessid=12399538384371156406, client_vc=NULL) [2022-07-29 14:30:40.413717] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51356) [2022-07-29 14:30:40.413740] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:40.413840] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:40.413945] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:40.414045] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:40.414137] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:40.414236] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:40.414248] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17116, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076240410579967, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:40.414290] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17116, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076240410579967, server_state_version:0}) [2022-07-29 14:30:40.414331] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:40.414365] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:40.414398] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17116, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076240410579967, server_state_version:0}) [2022-07-29 14:30:40.414422] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:40.414544] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:30:40.414615] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF1691B2A10] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:40.414566] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51354, ret=-4152) [2022-07-29 14:30:40.414662] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=38] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:40.414687] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:40.414700] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:40.414724] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:40.414657] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=90] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:40.414732] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:40.414739] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=81] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51354, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:40.414901] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=51059, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:40.414954] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] deallocating sm(sm_id=51354) [2022-07-29 14:30:45.330745] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51274}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:30:45.330864] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51274}) [2022-07-29 14:30:45.330943] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=51062, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51274") [2022-07-29 14:30:45.330982] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=51062, get_transact_count()=0, sm_id=51357) [2022-07-29 14:30:45.330996] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:45.406287] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:45.406347] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] client login audit(client_addr={172.20.2.46:51274}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:45.406375] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:45.406389] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:45.406407] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:30:45.406421] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17117) [2022-07-29 14:30:45.406627] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076245406615, last_valid_time_us:1659076245406487, last_access_time_us:1659076245406487, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:45.406733] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:45.406780] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534711) [2022-07-29 14:30:45.406810] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534711, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:45.406839] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534711, get_transact_count()=0, sm_id=51358) [2022-07-29 14:30:45.406855] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:45.406997] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:45.407169] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34231, server_ip={172.20.2.116:2881}, cs_id=2147534711, proxy_sessid=0, server_type=1) [2022-07-29 14:30:45.407555] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534711, proxy_sessid=12399538384371156407, server_ip={172.20.2.116:2881}, ss_id=34231, server_sessid=3221677554, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36448") [2022-07-29 14:30:45.408662] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=73] [dc=0] finishing mysql tunnel((sm_id=51358, cs_id=2147534711, proxy_sessid=12399538384371156407, ss_id=34231, server_sessid=3221677554, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:45.408865] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=174] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51358, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:45.408876] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:45.408883] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51358, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:45.409015] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=128] [dc=0] server session do_io_close((*this={ss_id:34231, server_sessid:3221677554, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534711, proxy_sessid:12399538384371156407, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534711, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:45.409200] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=176] [dc=0] server session is closing(ss_id=34231, server_sessid=3221677554, server_ip={172.20.2.116:2881}, cs_id=2147534711, proxy_sessid=12399538384371156407) [2022-07-29 14:30:45.409235] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534711, proxy_sessid=12399538384371156407, client_vc=NULL) [2022-07-29 14:30:45.409268] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51358) [2022-07-29 14:30:45.409299] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:45.409401] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:45.409508] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:45.409612] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:45.409720] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:45.409821] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:45.409832] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:45.409840] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:45.410071] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:45.410096] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:45.410129] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534712) [2022-07-29 14:30:45.410147] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session born(cs_id=2147534712, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:45.410171] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534712, get_transact_count()=0, sm_id=51359) [2022-07-29 14:30:45.410204] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:45.410294] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:45.410434] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34232, server_ip={172.20.2.116:2881}, cs_id=2147534712, proxy_sessid=0, server_type=1) [2022-07-29 14:30:45.410709] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534712, proxy_sessid=12399538384371156408, server_ip={172.20.2.116:2881}, ss_id=34232, server_sessid=3221677555, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36450") [2022-07-29 14:30:45.411792] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51359, cs_id=2147534712, proxy_sessid=12399538384371156408, ss_id=34232, server_sessid=3221677555, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:45.411939] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=118] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51359, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:45.411948] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:45.411952] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51359, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:45.412052] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=97] [dc=0] server session do_io_close((*this={ss_id:34232, server_sessid:3221677555, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534712, proxy_sessid:12399538384371156408, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534712, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:45.412178] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=120] [dc=0] server session is closing(ss_id=34232, server_sessid=3221677555, server_ip={172.20.2.116:2881}, cs_id=2147534712, proxy_sessid=12399538384371156408) [2022-07-29 14:30:45.412201] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534712, proxy_sessid=12399538384371156408, client_vc=NULL) [2022-07-29 14:30:45.412214] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51359) [2022-07-29 14:30:45.412227] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:45.412300] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:45.412387] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:45.412461] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:45.412536] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:45.412636] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:45.412647] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17117, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076245409664913, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:45.412661] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17117, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076245409664913, server_state_version:0}) [2022-07-29 14:30:45.412686] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:45.412706] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:45.412741] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17117, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076245409664913, server_state_version:0}) [2022-07-29 14:30:45.412764] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:45.412880] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:30:45.412950] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF169450940] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:45.412899] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] data is NULL(sm_id=51357, ret=-4152) [2022-07-29 14:30:45.413007] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:45.412976] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:45.413029] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:45.413043] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:45.413073] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:45.413080] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:45.413041] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51357, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:45.413166] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=51062, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:45.413198] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51357) [2022-07-29 14:30:50.330663] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51278}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:30:50.330843] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51278}) [2022-07-29 14:30:50.330901] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client session born(cs_id=51065, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51278") [2022-07-29 14:30:50.330961] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=51065, get_transact_count()=0, sm_id=51360) [2022-07-29 14:30:50.330989] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:50.413769] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:50.413813] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] client login audit(client_addr={172.20.2.46:51278}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:50.413840] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:50.413853] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:50.413878] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:30:50.413892] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17118) [2022-07-29 14:30:50.414114] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076250414101, last_valid_time_us:1659076250413877, last_access_time_us:1659076250413877, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:50.414221] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:50.414284] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534714) [2022-07-29 14:30:50.414310] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534714, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:50.414432] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534714, get_transact_count()=0, sm_id=51361) [2022-07-29 14:30:50.414458] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:50.414571] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:50.414781] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34233, server_ip={172.20.2.116:2881}, cs_id=2147534714, proxy_sessid=0, server_type=1) [2022-07-29 14:30:50.418866] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534714, proxy_sessid=12399538384371156409, server_ip={172.20.2.116:2881}, ss_id=34233, server_sessid=3221677602, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36452") [2022-07-29 14:30:50.424540] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] finishing mysql tunnel((sm_id=51361, cs_id=2147534714, proxy_sessid=12399538384371156409, ss_id=34233, server_sessid=3221677602, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:50.424742] INFO [PROXY.SM] ob_mysql_sm.cpp:8240 [21552][Y0-7FF167EAD3A0] [lt=178] [dc=0] Slow Query: ((client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, obproxy_client_port={172.20.2.119:36452}, server_trace_id=, route_type=ROUTE_TYPE_NONPARTITION_UNMERGE_LOCAL, user_name=proxyro, tenant_name=sys, cluster_name=ob_cluster, logic_database_name=, logic_tenant_name=, ob_proxy_protocol=0, cs_id=2147534714, proxy_sessid=12399538384371156409, ss_id=34233, server_sessid=3221677602, sm_id=51361, cmd_size_stats={client_request_bytes:74, server_request_bytes:262, server_response_bytes:84, client_response_bytes:84}, cmd_time_stats={client_transaction_idle_time_us=13, client_request_read_time_us=8, client_request_analyze_time_us=8, cluster_resource_create_time_us=0, pl_lookup_time_us=23, pl_process_time_us=55, congestion_control_time_us=0, congestion_process_time_us=0, do_observer_open_time_us=181, server_connect_time_us=108, server_sync_session_variable_time_us=0, server_send_saved_login_time_us=0, server_send_use_database_time_us=0, server_send_session_variable_time_us=0, server_send_all_session_variable_time_us=0, server_send_last_insert_id_time_us=0, server_send_start_trans_time_us=0, build_server_request_time_us=2, plugin_compress_request_time_us=0, prepare_send_request_to_server_time_us=4515, server_request_write_time_us=32, server_process_request_time_us=5367, server_response_read_time_us=6, plugin_decompress_response_time_us=0, server_response_analyze_time_us=9, ok_packet_trim_time_us=0, client_response_write_time_us=276, request_total_time_us=10214}, sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:50.424936] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51361, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:50.424956] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:50.424963] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51361, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:50.425072] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] server session do_io_close((*this={ss_id:34233, server_sessid:3221677602, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534714, proxy_sessid:12399538384371156409, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534714, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:50.425260] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=178] [dc=0] server session is closing(ss_id=34233, server_sessid=3221677602, server_ip={172.20.2.116:2881}, cs_id=2147534714, proxy_sessid=12399538384371156409) [2022-07-29 14:30:50.425303] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session destroy(cs_id=2147534714, proxy_sessid=12399538384371156409, client_vc=NULL) [2022-07-29 14:30:50.425344] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] deallocating sm(sm_id=51361) [2022-07-29 14:30:50.425375] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:50.425478] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:50.425585] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:50.425690] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:50.425797] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:50.425905] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:50.425916] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:50.425942] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:50.426066] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:50.426088] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:50.426123] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534715) [2022-07-29 14:30:50.426155] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session born(cs_id=2147534715, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:50.426191] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534715, get_transact_count()=0, sm_id=51362) [2022-07-29 14:30:50.426204] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:50.426311] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:50.426472] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session born(ss_id=34234, server_ip={172.20.2.118:2881}, cs_id=2147534715, proxy_sessid=0, server_type=1) [2022-07-29 14:30:50.426987] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534715, proxy_sessid=12399538384371156410, server_ip={172.20.2.118:2881}, ss_id=34234, server_sessid=3222023426, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41474") [2022-07-29 14:30:50.428981] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] finishing mysql tunnel((sm_id=51362, cs_id=2147534715, proxy_sessid=12399538384371156410, ss_id=34234, server_sessid=3222023426, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:50.429219] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=209] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51362, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:50.429240] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:50.429248] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51362, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:50.429364] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34234, server_sessid:3222023426, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534715, proxy_sessid:12399538384371156410, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534715, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:50.429556] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=183] [dc=0] server session is closing(ss_id=34234, server_sessid=3222023426, server_ip={172.20.2.118:2881}, cs_id=2147534715, proxy_sessid=12399538384371156410) [2022-07-29 14:30:50.429610] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client session destroy(cs_id=2147534715, proxy_sessid=12399538384371156410, client_vc=NULL) [2022-07-29 14:30:50.429643] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51362) [2022-07-29 14:30:50.429673] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:50.429787] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:50.429904] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:50.430032] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:50.430144] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:50.430253] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:50.430267] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17118, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076250424725718, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:50.430308] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17118, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076250424725718, server_state_version:0}) [2022-07-29 14:30:50.430355] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:50.430403] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:50.430455] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17118, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076250424725718, server_state_version:0}) [2022-07-29 14:30:50.430490] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:50.430630] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:30:50.430676] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF1691B2A10] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:50.430734] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=49] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:50.430653] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51360, ret=-4152) [2022-07-29 14:30:50.430768] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:50.430782] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:50.430815] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=33] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:50.430822] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:50.430761] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:50.430868] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51360, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:50.431070] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session destroy(cs_id=51065, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:50.431110] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51360) [2022-07-29 14:30:55.256454] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=40] [dc=0] connection accepted(client={172.20.2.46:51280}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:30:55.256575] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51280}) [2022-07-29 14:30:55.256644] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] client session born(cs_id=51068, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51280") [2022-07-29 14:30:55.256704] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] Starting new transaction using sm(cs_id=51068, get_transact_count()=0, sm_id=51363) [2022-07-29 14:30:55.256728] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:55.339125] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:30:55.339181] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] client login audit(client_addr={172.20.2.46:51280}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:30:55.339210] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:30:55.339225] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:55.339251] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:30:55.339266] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17119) [2022-07-29 14:30:55.339468] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076255339457, last_valid_time_us:1659076255339250, last_access_time_us:1659076255339250, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:30:55.339573] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:55.339628] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] proxy mysql client session born(cs_id=2147534717) [2022-07-29 14:30:55.339655] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534717, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:55.339693] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534717, get_transact_count()=0, sm_id=51364) [2022-07-29 14:30:55.339721] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:55.339843] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:55.340065] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] server session born(ss_id=34235, server_ip={172.20.2.118:2881}, cs_id=2147534717, proxy_sessid=0, server_type=1) [2022-07-29 14:30:55.340552] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534717, proxy_sessid=12399538384371156411, server_ip={172.20.2.118:2881}, ss_id=34235, server_sessid=3222023427, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41476") [2022-07-29 14:30:55.342589] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51364, cs_id=2147534717, proxy_sessid=12399538384371156411, ss_id=34235, server_sessid=3222023427, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:55.342728] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51364, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:55.342741] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:55.342746] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51364, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:55.342823] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] server session do_io_close((*this={ss_id:34235, server_sessid:3222023427, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534717, proxy_sessid:12399538384371156411, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534717, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:30:55.342974] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=143] [dc=0] server session is closing(ss_id=34235, server_sessid=3222023427, server_ip={172.20.2.118:2881}, cs_id=2147534717, proxy_sessid=12399538384371156411) [2022-07-29 14:30:55.343019] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534717, proxy_sessid=12399538384371156411, client_vc=NULL) [2022-07-29 14:30:55.343047] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51364) [2022-07-29 14:30:55.343063] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:55.343123] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:55.343191] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=68] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:55.343259] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:55.343331] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:55.343404] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:55.343417] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:30:55.343422] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:55.343570] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:30:55.343594] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:30:55.343625] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534718) [2022-07-29 14:30:55.343644] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=2147534718, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:30:55.343663] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534718, get_transact_count()=0, sm_id=51365) [2022-07-29 14:30:55.344790] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=1118] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:30:55.344979] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:30:55.345162] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] server session born(ss_id=34236, server_ip={172.20.2.116:2881}, cs_id=2147534718, proxy_sessid=0, server_type=1) [2022-07-29 14:30:55.345437] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] succ to set proxy_sessid(cs_id=2147534718, proxy_sessid=12399538384371156412, server_ip={172.20.2.116:2881}, ss_id=34236, server_sessid=3221677653, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36458") [2022-07-29 14:30:55.346557] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] finishing mysql tunnel((sm_id=51365, cs_id=2147534718, proxy_sessid=12399538384371156412, ss_id=34236, server_sessid=3221677653, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:30:55.346725] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=148] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51365, client_vc=0x7ff1684bb5e0) [2022-07-29 14:30:55.346735] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:30:55.346740] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51365, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:30:55.346833] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] server session do_io_close((*this={ss_id:34236, server_sessid:3221677653, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534718, proxy_sessid:12399538384371156412, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534718, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:30:55.347041] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=202] [dc=0] server session is closing(ss_id=34236, server_sessid=3221677653, server_ip={172.20.2.116:2881}, cs_id=2147534718, proxy_sessid=12399538384371156412) [2022-07-29 14:30:55.347068] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534718, proxy_sessid=12399538384371156412, client_vc=NULL) [2022-07-29 14:30:55.347095] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51365) [2022-07-29 14:30:55.347108] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:30:55.347198] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:30:55.347276] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=78] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:30:55.347359] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:30:55.347440] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:30:55.347521] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:30:55.347532] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17119, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076255343392471, server_state_version:0}, pending_list_count=0) [2022-07-29 14:30:55.347557] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17119, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076255343392471, server_state_version:0}) [2022-07-29 14:30:55.347594] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:55.347626] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:30:55.347664] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17119, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076255343392471, server_state_version:0}) [2022-07-29 14:30:55.347690] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:30:55.347814] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:30:55.347879] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF169450940] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:30:55.347832] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] data is NULL(sm_id=51363, ret=-4152) [2022-07-29 14:30:55.347915] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=28] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:55.347961] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=44] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:30:55.347972] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:30:55.347994] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:30:55.347910] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:30:55.348001] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:30:55.348005] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51363, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:30:55.348138] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session destroy(cs_id=51068, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:30:55.348179] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51363) [2022-07-29 14:31:00.263949] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=74] [dc=0] connection accepted(client={172.20.2.46:51286}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:31:00.264072] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51286}) [2022-07-29 14:31:00.264147] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client session born(cs_id=51071, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51286") [2022-07-29 14:31:00.264186] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=51071, get_transact_count()=0, sm_id=51366) [2022-07-29 14:31:00.264214] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:00.355695] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:00.355718] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client login audit(client_addr={172.20.2.46:51286}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:00.355731] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:00.355737] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:00.355746] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:31:00.355752] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17120) [2022-07-29 14:31:00.355874] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076260355867, last_valid_time_us:1659076260355745, last_access_time_us:1659076260355745, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:00.355963] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:00.355991] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534720) [2022-07-29 14:31:00.356000] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534720, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:00.356020] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534720, get_transact_count()=0, sm_id=51367) [2022-07-29 14:31:00.356028] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:00.356082] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:00.356170] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] server session born(ss_id=34237, server_ip={172.20.2.117:2881}, cs_id=2147534720, proxy_sessid=0, server_type=1) [2022-07-29 14:31:00.357078] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] succ to set proxy_sessid(cs_id=2147534720, proxy_sessid=12399538384371156413, server_ip={172.20.2.117:2881}, ss_id=34237, server_sessid=3221760122, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44526") [2022-07-29 14:31:00.358221] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] finishing mysql tunnel((sm_id=51367, cs_id=2147534720, proxy_sessid=12399538384371156413, ss_id=34237, server_sessid=3221760122, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:00.358305] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51367, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:00.358310] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:00.358312] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51367, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:00.358347] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session do_io_close((*this={ss_id:34237, server_sessid:3221760122, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534720, proxy_sessid:12399538384371156413, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534720, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:00.358420] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] server session is closing(ss_id=34237, server_sessid=3221760122, server_ip={172.20.2.117:2881}, cs_id=2147534720, proxy_sessid=12399538384371156413) [2022-07-29 14:31:00.358435] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534720, proxy_sessid=12399538384371156413, client_vc=NULL) [2022-07-29 14:31:00.358444] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] deallocating sm(sm_id=51367) [2022-07-29 14:31:00.358454] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:00.358492] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:00.358524] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:00.358568] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:00.358609] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:00.358646] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:00.358651] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:00.358654] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:00.358752] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:00.358759] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:00.358770] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534721) [2022-07-29 14:31:00.358776] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534721, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:00.358789] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534721, get_transact_count()=0, sm_id=51368) [2022-07-29 14:31:00.358794] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:00.358822] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:00.358881] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] server session born(ss_id=34238, server_ip={172.20.2.117:2881}, cs_id=2147534721, proxy_sessid=0, server_type=1) [2022-07-29 14:31:00.359283] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] succ to set proxy_sessid(cs_id=2147534721, proxy_sessid=12399538384371156414, server_ip={172.20.2.117:2881}, ss_id=34238, server_sessid=3221760123, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44528") [2022-07-29 14:31:00.360574] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51368, cs_id=2147534721, proxy_sessid=12399538384371156414, ss_id=34238, server_sessid=3221760123, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:00.360690] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51368, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:00.360697] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:00.360701] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51368, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:00.360761] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] server session do_io_close((*this={ss_id:34238, server_sessid:3221760123, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534721, proxy_sessid:12399538384371156414, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534721, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:00.360864] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] server session is closing(ss_id=34238, server_sessid=3221760123, server_ip={172.20.2.117:2881}, cs_id=2147534721, proxy_sessid=12399538384371156414) [2022-07-29 14:31:00.360883] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534721, proxy_sessid=12399538384371156414, client_vc=NULL) [2022-07-29 14:31:00.360902] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] deallocating sm(sm_id=51368) [2022-07-29 14:31:00.360912] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:00.361042] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=129] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:00.361102] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:00.361160] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:00.361219] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:00.361276] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:00.361284] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17120, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076260358295145, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:00.361300] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17120, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076260358295145, server_state_version:0}) [2022-07-29 14:31:00.361320] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:00.361336] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:00.361361] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17120, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076260358295145, server_state_version:0}) [2022-07-29 14:31:00.361382] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:00.361484] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:31:00.361517] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF1691B2A10] [lt=53] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:00.361500] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51366, ret=-4152) [2022-07-29 14:31:00.361544] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:00.361558] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:00.361566] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:00.361573] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:00.361576] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:00.361560] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:00.361617] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51366, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:00.361717] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=51071, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:00.361747] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51366) [2022-07-29 14:31:05.269333] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=33] [dc=0] connection accepted(client={172.20.2.46:51288}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:31:05.269465] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51288}) [2022-07-29 14:31:05.269550] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client session born(cs_id=51074, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51288") [2022-07-29 14:31:05.269585] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=51074, get_transact_count()=0, sm_id=51369) [2022-07-29 14:31:05.269616] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:05.351466] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:05.351491] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client login audit(client_addr={172.20.2.46:51288}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:05.351507] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:05.351516] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:05.351528] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:31:05.351536] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17121) [2022-07-29 14:31:05.351678] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076265351670, last_valid_time_us:1659076265351526, last_access_time_us:1659076265351526, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:05.351734] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:05.351769] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534723) [2022-07-29 14:31:05.351789] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=2147534723, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:05.351811] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534723, get_transact_count()=0, sm_id=51370) [2022-07-29 14:31:05.351820] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:05.351889] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:05.352013] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] server session born(ss_id=34239, server_ip={172.20.2.116:2881}, cs_id=2147534723, proxy_sessid=0, server_type=1) [2022-07-29 14:31:05.352493] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534723, proxy_sessid=12399538384371156415, server_ip={172.20.2.116:2881}, ss_id=34239, server_sessid=3221677749, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36464") [2022-07-29 14:31:05.353872] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51370, cs_id=2147534723, proxy_sessid=12399538384371156415, ss_id=34239, server_sessid=3221677749, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:05.354153] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=251] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51370, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:05.354190] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:05.354211] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51370, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:05.354328] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34239, server_sessid:3221677749, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534723, proxy_sessid:12399538384371156415, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534723, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:05.354525] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=188] [dc=0] server session is closing(ss_id=34239, server_sessid=3221677749, server_ip={172.20.2.116:2881}, cs_id=2147534723, proxy_sessid=12399538384371156415) [2022-07-29 14:31:05.354574] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534723, proxy_sessid=12399538384371156415, client_vc=NULL) [2022-07-29 14:31:05.354608] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51370) [2022-07-29 14:31:05.354640] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:05.354751] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:05.354859] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:05.355000] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=136] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:05.355113] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:05.355223] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:05.355236] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:05.355254] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:05.355361] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:05.355384] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:05.355413] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534724) [2022-07-29 14:31:05.355438] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534724, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:05.355471] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534724, get_transact_count()=0, sm_id=51371) [2022-07-29 14:31:05.355495] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:05.355572] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:05.355741] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34240, server_ip={172.20.2.117:2881}, cs_id=2147534724, proxy_sessid=0, server_type=1) [2022-07-29 14:31:05.356070] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534724, proxy_sessid=12399538384371156416, server_ip={172.20.2.117:2881}, ss_id=34240, server_sessid=3221760126, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44532") [2022-07-29 14:31:05.357339] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] finishing mysql tunnel((sm_id=51371, cs_id=2147534724, proxy_sessid=12399538384371156416, ss_id=34240, server_sessid=3221760126, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:05.357549] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=184] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51371, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:05.357573] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:05.357581] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51371, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:05.357703] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=119] [dc=0] server session do_io_close((*this={ss_id:34240, server_sessid:3221760126, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534724, proxy_sessid:12399538384371156416, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534724, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:05.357896] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=185] [dc=0] server session is closing(ss_id=34240, server_sessid=3221760126, server_ip={172.20.2.117:2881}, cs_id=2147534724, proxy_sessid=12399538384371156416) [2022-07-29 14:31:05.357948] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534724, proxy_sessid=12399538384371156416, client_vc=NULL) [2022-07-29 14:31:05.357981] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51371) [2022-07-29 14:31:05.358008] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:05.358120] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:05.358230] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:05.358350] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=116] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:05.358460] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:05.358578] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=116] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:05.358593] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17121, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076265354214088, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:05.358625] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17121, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076265354214088, server_state_version:0}) [2022-07-29 14:31:05.358671] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:05.358709] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:05.358757] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17121, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076265354214088, server_state_version:0}) [2022-07-29 14:31:05.358779] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:05.358916] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:31:05.358955] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:05.358979] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:05.359035] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=55] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:05.358945] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] data is NULL(sm_id=51369, ret=-4152) [2022-07-29 14:31:05.359046] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:05.359056] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:05.359062] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:05.359055] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:05.359164] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51369, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:05.359357] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client session destroy(cs_id=51074, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:05.359406] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51369) [2022-07-29 14:31:10.349641] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=39] [dc=0] connection accepted(client={172.20.2.46:51292}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:31:10.349768] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51292}) [2022-07-29 14:31:10.349829] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session born(cs_id=51077, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51292") [2022-07-29 14:31:10.349857] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=51077, get_transact_count()=0, sm_id=51372) [2022-07-29 14:31:10.349872] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:10.432657] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:10.432696] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51292}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:10.432724] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:10.432738] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:10.432756] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:31:10.432781] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17122) [2022-07-29 14:31:10.433001] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076270432989, last_valid_time_us:1659076270432754, last_access_time_us:1659076270432754, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:10.433108] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:10.433155] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534726) [2022-07-29 14:31:10.433171] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534726, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:10.433203] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534726, get_transact_count()=0, sm_id=51373) [2022-07-29 14:31:10.433233] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:10.433337] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:10.433512] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34241, server_ip={172.20.2.118:2881}, cs_id=2147534726, proxy_sessid=0, server_type=1) [2022-07-29 14:31:10.434065] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534726, proxy_sessid=12399538384371156417, server_ip={172.20.2.118:2881}, ss_id=34241, server_sessid=3222023428, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41488") [2022-07-29 14:31:10.440326] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] finishing mysql tunnel((sm_id=51373, cs_id=2147534726, proxy_sessid=12399538384371156417, ss_id=34241, server_sessid=3222023428, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:10.440588] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=231] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51373, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:10.440600] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:10.440608] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51373, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:10.440725] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34241, server_sessid:3222023428, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534726, proxy_sessid:12399538384371156417, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534726, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:10.440951] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=216] [dc=0] server session is closing(ss_id=34241, server_sessid=3222023428, server_ip={172.20.2.118:2881}, cs_id=2147534726, proxy_sessid=12399538384371156417) [2022-07-29 14:31:10.440989] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534726, proxy_sessid=12399538384371156417, client_vc=NULL) [2022-07-29 14:31:10.441010] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51373) [2022-07-29 14:31:10.441043] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:10.441165] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=121] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:10.441273] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:10.441388] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:10.441500] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:10.441611] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:10.441623] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:10.441631] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:10.441767] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:10.441793] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:10.441839] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] proxy mysql client session born(cs_id=2147534727) [2022-07-29 14:31:10.441864] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534727, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:10.441902] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534727, get_transact_count()=0, sm_id=51374) [2022-07-29 14:31:10.441915] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:10.442027] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:10.442177] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] server session born(ss_id=34242, server_ip={172.20.2.117:2881}, cs_id=2147534727, proxy_sessid=0, server_type=1) [2022-07-29 14:31:10.442622] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534727, proxy_sessid=12399538384371156418, server_ip={172.20.2.117:2881}, ss_id=34242, server_sessid=3221760129, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44536") [2022-07-29 14:31:10.443987] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51374, cs_id=2147534727, proxy_sessid=12399538384371156418, ss_id=34242, server_sessid=3221760129, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:10.444197] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=186] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51374, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:10.444219] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:10.444226] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51374, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:10.444340] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] server session do_io_close((*this={ss_id:34242, server_sessid:3221760129, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534727, proxy_sessid:12399538384371156418, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534727, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:10.444530] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=183] [dc=0] server session is closing(ss_id=34242, server_sessid=3221760129, server_ip={172.20.2.117:2881}, cs_id=2147534727, proxy_sessid=12399538384371156418) [2022-07-29 14:31:10.444564] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534727, proxy_sessid=12399538384371156418, client_vc=NULL) [2022-07-29 14:31:10.444597] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51374) [2022-07-29 14:31:10.444614] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:10.444735] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:10.444843] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:10.444969] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=123] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:10.445080] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:10.445190] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:10.445206] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17122, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076270440565725, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:10.445239] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17122, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076270440565725, server_state_version:0}) [2022-07-29 14:31:10.445275] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:10.445312] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:10.445363] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17122, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076270440565725, server_state_version:0}) [2022-07-29 14:31:10.445396] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:10.445515] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:31:10.445539] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51372, ret=-4152) [2022-07-29 14:31:10.445650] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:10.445767] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51372, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:10.445987] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session destroy(cs_id=51077, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:10.446025] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51372) [2022-07-29 14:31:10.446039] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF1691B2A10] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:10.446064] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:10.446092] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:10.446113] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:10.446136] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:10.446143] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:15.372698] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=41] [dc=0] connection accepted(client={172.20.2.46:51294}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:31:15.372862] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51294}) [2022-07-29 14:31:15.372980] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client session born(cs_id=51080, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51294") [2022-07-29 14:31:15.373026] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51080, get_transact_count()=0, sm_id=51375) [2022-07-29 14:31:15.373044] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:15.454520] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:15.454549] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51294}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:15.454564] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:15.454571] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:15.454581] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:31:15.454588] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17123) [2022-07-29 14:31:15.454722] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076275454715, last_valid_time_us:1659076275454580, last_access_time_us:1659076275454580, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:15.454772] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:15.454801] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534729) [2022-07-29 14:31:15.454817] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session born(cs_id=2147534729, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:15.454837] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534729, get_transact_count()=0, sm_id=51376) [2022-07-29 14:31:15.454853] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:15.454914] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:15.455043] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] server session born(ss_id=34243, server_ip={172.20.2.117:2881}, cs_id=2147534729, proxy_sessid=0, server_type=1) [2022-07-29 14:31:15.455384] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534729, proxy_sessid=12399538384371156419, server_ip={172.20.2.117:2881}, ss_id=34243, server_sessid=3221760132, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44538") [2022-07-29 14:31:15.458631] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51376, cs_id=2147534729, proxy_sessid=12399538384371156419, ss_id=34243, server_sessid=3221760132, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:15.458821] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=163] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51376, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:15.458843] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:15.458850] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51376, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:15.458959] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] server session do_io_close((*this={ss_id:34243, server_sessid:3221760132, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534729, proxy_sessid:12399538384371156419, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534729, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:15.459130] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=163] [dc=0] server session is closing(ss_id=34243, server_sessid=3221760132, server_ip={172.20.2.117:2881}, cs_id=2147534729, proxy_sessid=12399538384371156419) [2022-07-29 14:31:15.459164] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534729, proxy_sessid=12399538384371156419, client_vc=NULL) [2022-07-29 14:31:15.459189] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] deallocating sm(sm_id=51376) [2022-07-29 14:31:15.459211] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:15.459317] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:15.459417] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:15.459521] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=100] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:15.459605] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:15.459706] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:15.459716] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:15.459723] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:15.459850] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:15.459872] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:15.459911] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534730) [2022-07-29 14:31:15.459941] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client session born(cs_id=2147534730, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:15.459965] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534730, get_transact_count()=0, sm_id=51377) [2022-07-29 14:31:15.459988] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:15.460060] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:15.460202] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] server session born(ss_id=34244, server_ip={172.20.2.117:2881}, cs_id=2147534730, proxy_sessid=0, server_type=1) [2022-07-29 14:31:15.460571] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534730, proxy_sessid=12399538384371156420, server_ip={172.20.2.117:2881}, ss_id=34244, server_sessid=3221760133, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44540") [2022-07-29 14:31:15.461490] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] finishing mysql tunnel((sm_id=51377, cs_id=2147534730, proxy_sessid=12399538384371156420, ss_id=34244, server_sessid=3221760133, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:15.461586] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51377, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:15.461591] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:15.461594] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51377, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:15.461648] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] server session do_io_close((*this={ss_id:34244, server_sessid:3221760133, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534730, proxy_sessid:12399538384371156420, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534730, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:15.461731] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] server session is closing(ss_id=34244, server_sessid=3221760133, server_ip={172.20.2.117:2881}, cs_id=2147534730, proxy_sessid=12399538384371156420) [2022-07-29 14:31:15.461754] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534730, proxy_sessid=12399538384371156420, client_vc=NULL) [2022-07-29 14:31:15.461764] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51377) [2022-07-29 14:31:15.461771] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:15.461819] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:15.461868] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:15.461912] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:15.461962] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:15.462011] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:15.462019] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17123, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076275459731731, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:15.462029] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17123, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076275459731731, server_state_version:0}) [2022-07-29 14:31:15.462047] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:15.462060] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:15.462083] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17123, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076275459731731, server_state_version:0}) [2022-07-29 14:31:15.462101] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:15.462188] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:31:15.462201] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] data is NULL(sm_id=51375, ret=-4152) [2022-07-29 14:31:15.462242] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF169450940] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:15.462266] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:15.462251] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:15.462303] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:15.462316] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:15.462291] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51375, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:15.462342] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:15.462349] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:15.462367] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51080, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:15.462389] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51375) [2022-07-29 14:31:20.426019] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51298}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:31:20.426184] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51298}) [2022-07-29 14:31:20.426270] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] client session born(cs_id=51083, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51298") [2022-07-29 14:31:20.426304] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] Starting new transaction using sm(cs_id=51083, get_transact_count()=0, sm_id=51378) [2022-07-29 14:31:20.426322] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:20.512479] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:20.512517] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51298}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:20.512545] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:20.512560] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:20.512578] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:31:20.512592] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17124) [2022-07-29 14:31:20.512785] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076280512774, last_valid_time_us:1659076280512576, last_access_time_us:1659076280512576, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:20.512889] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:20.512995] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534732) [2022-07-29 14:31:20.513023] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534732, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:20.513053] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=2147534732, get_transact_count()=0, sm_id=51379) [2022-07-29 14:31:20.513081] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:20.513184] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:20.513350] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34245, server_ip={172.20.2.117:2881}, cs_id=2147534732, proxy_sessid=0, server_type=1) [2022-07-29 14:31:20.513814] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534732, proxy_sessid=12399538384371156421, server_ip={172.20.2.117:2881}, ss_id=34245, server_sessid=3221760136, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44542") [2022-07-29 14:31:20.515526] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=78] [dc=0] finishing mysql tunnel((sm_id=51379, cs_id=2147534732, proxy_sessid=12399538384371156421, ss_id=34245, server_sessid=3221760136, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:20.515754] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=199] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51379, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:20.515779] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:20.515788] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51379, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:20.515904] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34245, server_sessid:3221760136, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534732, proxy_sessid:12399538384371156421, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534732, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:20.516123] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=210] [dc=0] server session is closing(ss_id=34245, server_sessid=3221760136, server_ip={172.20.2.117:2881}, cs_id=2147534732, proxy_sessid=12399538384371156421) [2022-07-29 14:31:20.516162] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534732, proxy_sessid=12399538384371156421, client_vc=NULL) [2022-07-29 14:31:20.516195] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51379) [2022-07-29 14:31:20.516227] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:20.516349] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=122] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:20.516459] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:20.516580] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:20.516691] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:20.516809] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:20.516821] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:20.516829] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:20.516912] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:20.516947] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:20.516977] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534733) [2022-07-29 14:31:20.517006] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534733, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:20.517031] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534733, get_transact_count()=0, sm_id=51380) [2022-07-29 14:31:20.517043] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:20.517120] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:20.517264] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] server session born(ss_id=34246, server_ip={172.20.2.118:2881}, cs_id=2147534733, proxy_sessid=0, server_type=1) [2022-07-29 14:31:20.517640] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534733, proxy_sessid=12399538384371156422, server_ip={172.20.2.118:2881}, ss_id=34246, server_sessid=3222023429, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41498") [2022-07-29 14:31:20.519468] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] finishing mysql tunnel((sm_id=51380, cs_id=2147534733, proxy_sessid=12399538384371156422, ss_id=34246, server_sessid=3222023429, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:20.519665] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=172] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51380, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:20.519693] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:20.519700] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51380, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:20.519817] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34246, server_sessid:3222023429, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534733, proxy_sessid:12399538384371156422, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534733, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:20.520029] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=204] [dc=0] server session is closing(ss_id=34246, server_sessid=3222023429, server_ip={172.20.2.118:2881}, cs_id=2147534733, proxy_sessid=12399538384371156422) [2022-07-29 14:31:20.520063] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534733, proxy_sessid=12399538384371156422, client_vc=NULL) [2022-07-29 14:31:20.520096] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51380) [2022-07-29 14:31:20.520124] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:20.520235] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:20.520363] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=127] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:20.520490] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:20.520603] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:20.520722] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:20.520737] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17124, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076280515732456, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:20.520758] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17124, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076280515732456, server_state_version:0}) [2022-07-29 14:31:20.520793] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:20.520832] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:20.520881] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17124, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076280515732456, server_state_version:0}) [2022-07-29 14:31:20.520916] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:20.521068] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:31:20.521094] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:20.521124] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:20.521148] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:20.521162] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:20.521176] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:20.521183] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:20.521086] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] data is NULL(sm_id=51378, ret=-4152) [2022-07-29 14:31:20.521201] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:20.521310] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51378, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:20.521494] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51083, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:20.521544] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51378) [2022-07-29 14:31:25.375602] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=65] [dc=0] connection accepted(client={172.20.2.46:51300}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:31:25.375746] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51300}) [2022-07-29 14:31:25.375801] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=51086, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51300") [2022-07-29 14:31:25.375843] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=51086, get_transact_count()=0, sm_id=51381) [2022-07-29 14:31:25.375856] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:25.459330] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:25.459376] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client login audit(client_addr={172.20.2.46:51300}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:25.459421] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:25.459435] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:25.459454] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:31:25.459468] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17125) [2022-07-29 14:31:25.459669] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076285459656, last_valid_time_us:1659076285459452, last_access_time_us:1659076285459452, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:25.459777] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:25.459823] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534735) [2022-07-29 14:31:25.459854] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534735, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:25.459896] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534735, get_transact_count()=0, sm_id=51382) [2022-07-29 14:31:25.460056] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:25.460178] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:25.460365] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34247, server_ip={172.20.2.116:2881}, cs_id=2147534735, proxy_sessid=0, server_type=1) [2022-07-29 14:31:25.460896] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534735, proxy_sessid=12399538384371156423, server_ip={172.20.2.116:2881}, ss_id=34247, server_sessid=3221677940, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36480") [2022-07-29 14:31:25.462216] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] finishing mysql tunnel((sm_id=51382, cs_id=2147534735, proxy_sessid=12399538384371156423, ss_id=34247, server_sessid=3221677940, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:25.462384] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=146] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51382, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:25.462393] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:25.462408] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51382, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:25.462503] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] server session do_io_close((*this={ss_id:34247, server_sessid:3221677940, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534735, proxy_sessid:12399538384371156423, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534735, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:25.462643] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=133] [dc=0] server session is closing(ss_id=34247, server_sessid=3221677940, server_ip={172.20.2.116:2881}, cs_id=2147534735, proxy_sessid=12399538384371156423) [2022-07-29 14:31:25.462670] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534735, proxy_sessid=12399538384371156423, client_vc=NULL) [2022-07-29 14:31:25.462687] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51382) [2022-07-29 14:31:25.462701] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:25.462784] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=83] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:25.462858] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=73] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:25.462952] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:25.463030] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:25.463106] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=73] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:25.463115] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:25.463120] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:25.463265] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:25.463285] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:25.463310] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534736) [2022-07-29 14:31:25.463321] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534736, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:25.463341] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534736, get_transact_count()=0, sm_id=51383) [2022-07-29 14:31:25.463361] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:25.463422] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:25.463530] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] server session born(ss_id=34248, server_ip={172.20.2.116:2881}, cs_id=2147534736, proxy_sessid=0, server_type=1) [2022-07-29 14:31:25.464028] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534736, proxy_sessid=12399538384371156424, server_ip={172.20.2.116:2881}, ss_id=34248, server_sessid=3221677941, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36482") [2022-07-29 14:31:25.464961] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] finishing mysql tunnel((sm_id=51383, cs_id=2147534736, proxy_sessid=12399538384371156424, ss_id=34248, server_sessid=3221677941, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:25.465103] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=125] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51383, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:25.465110] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:25.465115] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51383, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:25.465193] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] server session do_io_close((*this={ss_id:34248, server_sessid:3221677941, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534736, proxy_sessid:12399538384371156424, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534736, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:25.465330] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=132] [dc=0] server session is closing(ss_id=34248, server_sessid=3221677941, server_ip={172.20.2.116:2881}, cs_id=2147534736, proxy_sessid=12399538384371156424) [2022-07-29 14:31:25.465353] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534736, proxy_sessid=12399538384371156424, client_vc=NULL) [2022-07-29 14:31:25.465376] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51383) [2022-07-29 14:31:25.465386] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:25.465468] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:25.465542] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:25.465624] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:25.465704] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=80] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:25.465787] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:25.465798] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17125, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076285462367243, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:25.465813] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17125, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076285462367243, server_state_version:0}) [2022-07-29 14:31:25.465844] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:25.465873] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:25.465909] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17125, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076285462367243, server_state_version:0}) [2022-07-29 14:31:25.465939] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:25.466049] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:31:25.466068] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] data is NULL(sm_id=51381, ret=-4152) [2022-07-29 14:31:25.466186] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:25.466144] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:25.466227] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=33] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:25.466260] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=31] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:25.466211] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51381, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:25.466274] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:25.466288] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:25.466294] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:25.466340] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=51086, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:25.466378] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51381) [2022-07-29 14:31:30.572029] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51306}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:31:30.572235] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51306}) [2022-07-29 14:31:30.572342] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] client session born(cs_id=51089, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51306") [2022-07-29 14:31:30.572392] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] Starting new transaction using sm(cs_id=51089, get_transact_count()=0, sm_id=51384) [2022-07-29 14:31:30.572419] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:30.655022] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:30.655042] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client login audit(client_addr={172.20.2.46:51306}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:30.655055] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:30.655061] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:30.655072] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c200) [2022-07-29 14:31:30.655078] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17126) [2022-07-29 14:31:30.655202] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076290655195, last_valid_time_us:1659076290655070, last_access_time_us:1659076290655070, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:30.655247] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:30.655277] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534738) [2022-07-29 14:31:30.655285] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session born(cs_id=2147534738, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:30.655304] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534738, get_transact_count()=0, sm_id=51385) [2022-07-29 14:31:30.655320] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:30.655377] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:30.655461] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] server session born(ss_id=34249, server_ip={172.20.2.116:2881}, cs_id=2147534738, proxy_sessid=0, server_type=1) [2022-07-29 14:31:30.655903] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534738, proxy_sessid=12399538384371156425, server_ip={172.20.2.116:2881}, ss_id=34249, server_sessid=3221677991, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36484") [2022-07-29 14:31:30.657087] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] finishing mysql tunnel((sm_id=51385, cs_id=2147534738, proxy_sessid=12399538384371156425, ss_id=34249, server_sessid=3221677991, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:30.657297] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=182] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51385, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:30.657311] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:30.657325] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51385, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:30.657450] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=121] [dc=0] server session do_io_close((*this={ss_id:34249, server_sessid:3221677991, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534738, proxy_sessid:12399538384371156425, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534738, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:30.657649] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] server session is closing(ss_id=34249, server_sessid=3221677991, server_ip={172.20.2.116:2881}, cs_id=2147534738, proxy_sessid=12399538384371156425) [2022-07-29 14:31:30.657688] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534738, proxy_sessid=12399538384371156425, client_vc=NULL) [2022-07-29 14:31:30.657723] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51385) [2022-07-29 14:31:30.657754] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:30.657874] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:30.657999] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=125] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:30.658115] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:30.658243] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=127] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:30.658354] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:30.658366] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:30.658375] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:30.658492] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:30.658516] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:30.658547] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534739) [2022-07-29 14:31:30.658572] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534739, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:30.658602] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=2147534739, get_transact_count()=0, sm_id=51386) [2022-07-29 14:31:30.658627] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:30.658706] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:30.658859] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34250, server_ip={172.20.2.117:2881}, cs_id=2147534739, proxy_sessid=0, server_type=1) [2022-07-29 14:31:30.659332] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534739, proxy_sessid=12399538384371156426, server_ip={172.20.2.117:2881}, ss_id=34250, server_sessid=3221760145, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44552") [2022-07-29 14:31:30.660348] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] finishing mysql tunnel((sm_id=51386, cs_id=2147534739, proxy_sessid=12399538384371156426, ss_id=34250, server_sessid=3221760145, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:30.660444] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=83] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51386, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:30.660449] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:30.660453] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51386, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:30.660511] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] server session do_io_close((*this={ss_id:34250, server_sessid:3221760145, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534739, proxy_sessid:12399538384371156426, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534739, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:30.660598] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=84] [dc=0] server session is closing(ss_id=34250, server_sessid=3221760145, server_ip={172.20.2.117:2881}, cs_id=2147534739, proxy_sessid=12399538384371156426) [2022-07-29 14:31:30.660615] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534739, proxy_sessid=12399538384371156426, client_vc=NULL) [2022-07-29 14:31:30.660625] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51386) [2022-07-29 14:31:30.660643] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:30.660695] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:30.660746] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:30.660795] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:30.660857] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:30.660908] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:30.660916] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17126, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076290658299035, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:30.660961] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17126, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076290658299035, server_state_version:0}) [2022-07-29 14:31:30.660980] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:30.660995] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:30.661025] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17126, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076290658299035, server_state_version:0}) [2022-07-29 14:31:30.661038] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:30.661132] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:31:30.661146] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] data is NULL(sm_id=51384, ret=-4152) [2022-07-29 14:31:30.661196] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:30.661219] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:30.661263] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:30.661248] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51384, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:30.661300] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:30.661313] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:30.661323] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=51089, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:30.661327] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:30.661334] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:30.661345] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51384) [2022-07-29 14:31:35.336635] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=61] [dc=0] connection accepted(client={172.20.2.46:51308}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:31:35.336775] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51308}) [2022-07-29 14:31:35.336855] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client session born(cs_id=51092, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51308") [2022-07-29 14:31:35.336895] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=51092, get_transact_count()=0, sm_id=51387) [2022-07-29 14:31:35.336909] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:35.421171] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:35.421218] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=45] [dc=0] client login audit(client_addr={172.20.2.46:51308}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:35.421257] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:35.421272] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:35.421290] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:31:35.421305] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17127) [2022-07-29 14:31:35.421500] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076295421488, last_valid_time_us:1659076295421288, last_access_time_us:1659076295421288, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:35.421606] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:35.421652] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534741) [2022-07-29 14:31:35.421684] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session born(cs_id=2147534741, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:35.421724] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534741, get_transact_count()=0, sm_id=51388) [2022-07-29 14:31:35.421751] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:35.421878] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:35.422068] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34251, server_ip={172.20.2.116:2881}, cs_id=2147534741, proxy_sessid=0, server_type=1) [2022-07-29 14:31:35.422531] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534741, proxy_sessid=12399538384371156427, server_ip={172.20.2.116:2881}, ss_id=34251, server_sessid=3221678039, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36488") [2022-07-29 14:31:35.423535] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] finishing mysql tunnel((sm_id=51388, cs_id=2147534741, proxy_sessid=12399538384371156427, ss_id=34251, server_sessid=3221678039, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:35.423712] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=148] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51388, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:35.423722] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:35.423731] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51388, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:35.423824] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] server session do_io_close((*this={ss_id:34251, server_sessid:3221678039, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534741, proxy_sessid:12399538384371156427, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534741, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:35.424003] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=169] [dc=0] server session is closing(ss_id=34251, server_sessid=3221678039, server_ip={172.20.2.116:2881}, cs_id=2147534741, proxy_sessid=12399538384371156427) [2022-07-29 14:31:35.424036] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534741, proxy_sessid=12399538384371156427, client_vc=NULL) [2022-07-29 14:31:35.424055] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51388) [2022-07-29 14:31:35.424072] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:35.424153] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:35.424240] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:35.424329] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:35.424411] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:35.424493] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:35.424502] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:35.424508] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:35.424627] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:35.424646] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:35.424676] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534742) [2022-07-29 14:31:35.424687] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session born(cs_id=2147534742, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:35.424707] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534742, get_transact_count()=0, sm_id=51389) [2022-07-29 14:31:35.424717] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:35.424801] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:35.424945] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] server session born(ss_id=34252, server_ip={172.20.2.117:2881}, cs_id=2147534742, proxy_sessid=0, server_type=1) [2022-07-29 14:31:35.425490] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534742, proxy_sessid=12399538384371156428, server_ip={172.20.2.117:2881}, ss_id=34252, server_sessid=3221760148, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44556") [2022-07-29 14:31:35.429198] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] finishing mysql tunnel((sm_id=51389, cs_id=2147534742, proxy_sessid=12399538384371156428, ss_id=34252, server_sessid=3221760148, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:35.429431] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51389, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:35.429450] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:35.429457] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51389, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:35.429573] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34252, server_sessid:3221760148, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534742, proxy_sessid:12399538384371156428, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534742, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:35.429772] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34252, server_sessid=3221760148, server_ip={172.20.2.117:2881}, cs_id=2147534742, proxy_sessid=12399538384371156428) [2022-07-29 14:31:35.429813] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session destroy(cs_id=2147534742, proxy_sessid=12399538384371156428, client_vc=NULL) [2022-07-29 14:31:35.429845] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51389) [2022-07-29 14:31:35.429875] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:35.430020] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=144] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:35.430128] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:35.430242] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:35.430361] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=119] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:35.430472] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:35.430486] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17127, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076295424094916, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:35.430519] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17127, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076295424094916, server_state_version:0}) [2022-07-29 14:31:35.430566] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:35.430607] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:35.430656] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17127, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076295424094916, server_state_version:0}) [2022-07-29 14:31:35.430691] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:35.430836] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bea0) [2022-07-29 14:31:35.430857] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B1590] [lt=26] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:35.430880] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=17] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:35.430898] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=17] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:35.430908] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:35.430952] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=43] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:35.430854] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] data is NULL(sm_id=51387, ret=-4152) [2022-07-29 14:31:35.430957] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:35.430966] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:35.431075] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51387, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:35.431248] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51092, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:35.431299] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51387) [2022-07-29 14:31:40.394976] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=64] [dc=0] connection accepted(client={172.20.2.46:51312}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:31:40.395138] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51312}) [2022-07-29 14:31:40.395217] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client session born(cs_id=51095, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51312") [2022-07-29 14:31:40.395268] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51095, get_transact_count()=0, sm_id=51390) [2022-07-29 14:31:40.395297] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:40.472839] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:40.472881] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51312}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:40.472904] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:40.472916] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:40.472966] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:31:40.472978] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17128) [2022-07-29 14:31:40.473148] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076300473139, last_valid_time_us:1659076300472965, last_access_time_us:1659076300472965, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:40.473235] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=85] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:40.473274] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534744) [2022-07-29 14:31:40.473288] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534744, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:40.473327] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534744, get_transact_count()=0, sm_id=51391) [2022-07-29 14:31:40.473342] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:40.473442] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:40.473586] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] server session born(ss_id=34253, server_ip={172.20.2.118:2881}, cs_id=2147534744, proxy_sessid=0, server_type=1) [2022-07-29 14:31:40.474069] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534744, proxy_sessid=12399538384371156429, server_ip={172.20.2.118:2881}, ss_id=34253, server_sessid=3222023430, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41512") [2022-07-29 14:31:40.476028] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] finishing mysql tunnel((sm_id=51391, cs_id=2147534744, proxy_sessid=12399538384371156429, ss_id=34253, server_sessid=3222023430, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:40.476265] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=201] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51391, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:40.476289] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:40.476297] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51391, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:40.476421] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] server session do_io_close((*this={ss_id:34253, server_sessid:3222023430, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534744, proxy_sessid:12399538384371156429, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534744, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:40.476628] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=196] [dc=0] server session is closing(ss_id=34253, server_sessid=3222023430, server_ip={172.20.2.118:2881}, cs_id=2147534744, proxy_sessid=12399538384371156429) [2022-07-29 14:31:40.476670] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534744, proxy_sessid=12399538384371156429, client_vc=NULL) [2022-07-29 14:31:40.476693] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51391) [2022-07-29 14:31:40.476714] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:40.476823] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:40.476954] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=131] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:40.477066] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:40.477186] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:40.477294] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:40.477305] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:40.477323] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:40.477502] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:40.477524] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:40.477559] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534745) [2022-07-29 14:31:40.477572] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534745, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:40.477599] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534745, get_transact_count()=0, sm_id=51392) [2022-07-29 14:31:40.477623] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:40.477714] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:40.477870] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34254, server_ip={172.20.2.117:2881}, cs_id=2147534745, proxy_sessid=0, server_type=1) [2022-07-29 14:31:40.478265] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534745, proxy_sessid=12399538384371156430, server_ip={172.20.2.117:2881}, ss_id=34254, server_sessid=3221760151, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44560") [2022-07-29 14:31:40.479563] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] finishing mysql tunnel((sm_id=51392, cs_id=2147534745, proxy_sessid=12399538384371156430, ss_id=34254, server_sessid=3221760151, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:40.479698] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51392, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:40.479711] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:40.479717] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51392, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:40.479792] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] server session do_io_close((*this={ss_id:34254, server_sessid:3221760151, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534745, proxy_sessid:12399538384371156430, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534745, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:40.479928] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] server session is closing(ss_id=34254, server_sessid=3221760151, server_ip={172.20.2.117:2881}, cs_id=2147534745, proxy_sessid=12399538384371156430) [2022-07-29 14:31:40.479957] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534745, proxy_sessid=12399538384371156430, client_vc=NULL) [2022-07-29 14:31:40.479976] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51392) [2022-07-29 14:31:40.479996] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:40.480068] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:40.480146] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=77] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:40.480219] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:40.480292] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:40.480370] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=76] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:40.480386] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17128, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076300476236644, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:40.480408] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17128, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076300476236644, server_state_version:0}) [2022-07-29 14:31:40.480440] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:40.480468] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:40.480507] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17128, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076300476236644, server_state_version:0}) [2022-07-29 14:31:40.480530] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:40.480644] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:31:40.480686] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=24] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:40.480659] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] data is NULL(sm_id=51390, ret=-4152) [2022-07-29 14:31:40.480726] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:40.480758] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:40.480780] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:40.480732] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:40.480804] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:40.480812] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:40.480803] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51390, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:40.480933] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=51095, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:40.480969] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51390) [2022-07-29 14:31:45.411649] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=56] [dc=0] connection accepted(client={172.20.2.46:51314}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:31:45.411828] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51314}) [2022-07-29 14:31:45.411914] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client session born(cs_id=51098, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51314") [2022-07-29 14:31:45.411979] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] Starting new transaction using sm(cs_id=51098, get_transact_count()=0, sm_id=51393) [2022-07-29 14:31:45.411997] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:45.504317] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:45.504354] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51314}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:45.504384] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:45.504399] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:45.504418] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:31:45.504433] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17129) [2022-07-29 14:31:45.504619] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076305504608, last_valid_time_us:1659076305504416, last_access_time_us:1659076305504416, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:45.504726] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:45.504770] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534747) [2022-07-29 14:31:45.504797] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534747, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:45.504834] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534747, get_transact_count()=0, sm_id=51394) [2022-07-29 14:31:45.504860] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:45.505008] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:45.505179] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34255, server_ip={172.20.2.118:2881}, cs_id=2147534747, proxy_sessid=0, server_type=1) [2022-07-29 14:31:45.505767] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534747, proxy_sessid=12399538384371156431, server_ip={172.20.2.118:2881}, ss_id=34255, server_sessid=3222023431, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41516") [2022-07-29 14:31:45.507652] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51394, cs_id=2147534747, proxy_sessid=12399538384371156431, ss_id=34255, server_sessid=3222023431, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:45.507896] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=210] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51394, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:45.507909] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:45.507916] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51394, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:45.508042] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=123] [dc=0] server session do_io_close((*this={ss_id:34255, server_sessid:3222023431, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534747, proxy_sessid:12399538384371156431, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534747, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:45.508249] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=196] [dc=0] server session is closing(ss_id=34255, server_sessid=3222023431, server_ip={172.20.2.118:2881}, cs_id=2147534747, proxy_sessid=12399538384371156431) [2022-07-29 14:31:45.508290] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534747, proxy_sessid=12399538384371156431, client_vc=NULL) [2022-07-29 14:31:45.508327] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51394) [2022-07-29 14:31:45.508363] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:45.508474] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:45.508585] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:45.508709] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=119] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:45.508819] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:45.508937] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=115] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:45.508950] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:45.508958] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:45.509115] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:45.509171] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:45.509222] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] proxy mysql client session born(cs_id=2147534748) [2022-07-29 14:31:45.509252] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534748, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:45.509294] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534748, get_transact_count()=0, sm_id=51395) [2022-07-29 14:31:45.509321] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:45.509427] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:45.509609] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] server session born(ss_id=34256, server_ip={172.20.2.116:2881}, cs_id=2147534748, proxy_sessid=0, server_type=1) [2022-07-29 14:31:45.510253] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] succ to set proxy_sessid(cs_id=2147534748, proxy_sessid=12399538384371156432, server_ip={172.20.2.116:2881}, ss_id=34256, server_sessid=3221678136, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36498") [2022-07-29 14:31:45.511816] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51395, cs_id=2147534748, proxy_sessid=12399538384371156432, ss_id=34256, server_sessid=3221678136, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:45.512010] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=170] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51395, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:45.512032] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:45.512038] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51395, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:45.512136] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] server session do_io_close((*this={ss_id:34256, server_sessid:3221678136, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534748, proxy_sessid:12399538384371156432, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534748, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:45.512300] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=157] [dc=0] server session is closing(ss_id=34256, server_sessid=3221678136, server_ip={172.20.2.116:2881}, cs_id=2147534748, proxy_sessid=12399538384371156432) [2022-07-29 14:31:45.512332] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534748, proxy_sessid=12399538384371156432, client_vc=NULL) [2022-07-29 14:31:45.512362] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51395) [2022-07-29 14:31:45.512390] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:45.512496] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:45.512602] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:45.512704] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:45.512797] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:45.512898] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:45.512912] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17129, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076305508834453, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:45.512948] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17129, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076305508834453, server_state_version:0}) [2022-07-29 14:31:45.512979] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:45.513017] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:45.513052] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17129, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076305508834453, server_state_version:0}) [2022-07-29 14:31:45.513076] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:45.513205] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:31:45.513256] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1590] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:45.513228] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] data is NULL(sm_id=51393, ret=-4152) [2022-07-29 14:31:45.513298] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:45.513321] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:45.513334] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:45.513348] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:45.513355] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:45.513322] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:45.513417] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51393, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:45.513568] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51098, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:45.513602] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51393) [2022-07-29 14:31:50.543766] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51318}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:31:50.543891] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51318}) [2022-07-29 14:31:50.544030] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=101] [dc=0] client session born(cs_id=51101, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51318") [2022-07-29 14:31:50.544077] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=51101, get_transact_count()=0, sm_id=51396) [2022-07-29 14:31:50.544109] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:50.641238] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:50.641279] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51318}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:50.641307] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:50.641321] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:50.641339] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:31:50.641362] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17130) [2022-07-29 14:31:50.641577] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076310641565, last_valid_time_us:1659076310641337, last_access_time_us:1659076310641337, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:50.641685] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:50.641732] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534750) [2022-07-29 14:31:50.641762] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534750, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:50.641792] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534750, get_transact_count()=0, sm_id=51397) [2022-07-29 14:31:50.641819] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:50.641968] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:50.642162] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34257, server_ip={172.20.2.118:2881}, cs_id=2147534750, proxy_sessid=0, server_type=1) [2022-07-29 14:31:50.642645] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534750, proxy_sessid=12399538384371156433, server_ip={172.20.2.118:2881}, ss_id=34257, server_sessid=3222023432, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41520") [2022-07-29 14:31:50.644818] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51397, cs_id=2147534750, proxy_sessid=12399538384371156433, ss_id=34257, server_sessid=3222023432, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:50.645094] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=245] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51397, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:50.645107] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:50.645128] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51397, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:50.645269] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=137] [dc=0] server session do_io_close((*this={ss_id:34257, server_sessid:3222023432, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534750, proxy_sessid:12399538384371156433, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534750, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:50.645470] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=192] [dc=0] server session is closing(ss_id=34257, server_sessid=3222023432, server_ip={172.20.2.118:2881}, cs_id=2147534750, proxy_sessid=12399538384371156433) [2022-07-29 14:31:50.645509] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534750, proxy_sessid=12399538384371156433, client_vc=NULL) [2022-07-29 14:31:50.645541] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51397) [2022-07-29 14:31:50.645572] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:50.645682] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:50.645790] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:50.645911] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:50.646038] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=127] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:50.646158] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:50.646170] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:50.646177] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:50.646323] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:50.646348] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:50.646393] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534751) [2022-07-29 14:31:50.646419] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534751, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:50.646456] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534751, get_transact_count()=0, sm_id=51398) [2022-07-29 14:31:50.646469] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:50.646551] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:50.646723] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34258, server_ip={172.20.2.116:2881}, cs_id=2147534751, proxy_sessid=0, server_type=1) [2022-07-29 14:31:50.647155] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534751, proxy_sessid=12399538384371156434, server_ip={172.20.2.116:2881}, ss_id=34258, server_sessid=3221678183, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36502") [2022-07-29 14:31:50.648224] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51398, cs_id=2147534751, proxy_sessid=12399538384371156434, ss_id=34258, server_sessid=3221678183, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:50.648450] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=200] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51398, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:50.648463] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:50.648469] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51398, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:50.648585] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34258, server_sessid:3221678183, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534751, proxy_sessid:12399538384371156434, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534751, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:50.648790] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=198] [dc=0] server session is closing(ss_id=34258, server_sessid=3221678183, server_ip={172.20.2.116:2881}, cs_id=2147534751, proxy_sessid=12399538384371156434) [2022-07-29 14:31:50.648826] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534751, proxy_sessid=12399538384371156434, client_vc=NULL) [2022-07-29 14:31:50.648857] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51398) [2022-07-29 14:31:50.648884] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:50.649131] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=246] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:50.649247] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:50.649367] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:50.649477] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:50.649594] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:50.649609] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17130, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076310645470620, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:50.649643] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17130, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076310645470620, server_state_version:0}) [2022-07-29 14:31:50.649691] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:50.649718] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:50.649766] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17130, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076310645470620, server_state_version:0}) [2022-07-29 14:31:50.649788] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:50.649943] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:31:50.649956] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF1691B2A10] [lt=24] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:50.649976] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:50.649995] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:50.650002] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:50.650011] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:50.650014] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:50.649967] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51396, ret=-4152) [2022-07-29 14:31:50.650088] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=120] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:50.650197] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51396, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:50.650399] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client session destroy(cs_id=51101, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:50.650449] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51396) [2022-07-29 14:31:55.545407] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=48] [dc=0] connection accepted(client={172.20.2.46:51320}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:31:55.545555] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51320}) [2022-07-29 14:31:55.545605] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=51104, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51320") [2022-07-29 14:31:55.545630] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=51104, get_transact_count()=0, sm_id=51399) [2022-07-29 14:31:55.545655] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:55.621784] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:31:55.621831] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] client login audit(client_addr={172.20.2.46:51320}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:31:55.621858] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:31:55.621872] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:55.621889] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:31:55.621902] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17131) [2022-07-29 14:31:55.622130] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076315622119, last_valid_time_us:1659076315621888, last_access_time_us:1659076315621888, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:31:55.622228] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:55.622274] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534753) [2022-07-29 14:31:55.622311] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client session born(cs_id=2147534753, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:55.622347] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534753, get_transact_count()=0, sm_id=51400) [2022-07-29 14:31:55.622374] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:55.622476] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:55.622662] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session born(ss_id=34259, server_ip={172.20.2.117:2881}, cs_id=2147534753, proxy_sessid=0, server_type=1) [2022-07-29 14:31:55.623002] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534753, proxy_sessid=12399538384371156435, server_ip={172.20.2.117:2881}, ss_id=34259, server_sessid=3221760158, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44570") [2022-07-29 14:31:55.624054] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51400, cs_id=2147534753, proxy_sessid=12399538384371156435, ss_id=34259, server_sessid=3221760158, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:55.624209] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=133] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51400, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:55.624218] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:55.624224] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51400, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:55.624317] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] server session do_io_close((*this={ss_id:34259, server_sessid:3221760158, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534753, proxy_sessid:12399538384371156435, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534753, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:31:55.624500] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=176] [dc=0] server session is closing(ss_id=34259, server_sessid=3221760158, server_ip={172.20.2.117:2881}, cs_id=2147534753, proxy_sessid=12399538384371156435) [2022-07-29 14:31:55.624530] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534753, proxy_sessid=12399538384371156435, client_vc=NULL) [2022-07-29 14:31:55.624558] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51400) [2022-07-29 14:31:55.624574] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:55.624655] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:55.624740] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:55.624824] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:55.624910] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:55.625017] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:55.625027] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:31:55.625033] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:55.625195] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:31:55.625215] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:31:55.625242] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534754) [2022-07-29 14:31:55.625262] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=2147534754, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:31:55.625283] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534754, get_transact_count()=0, sm_id=51401) [2022-07-29 14:31:55.625302] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:31:55.625397] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:31:55.625523] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34260, server_ip={172.20.2.118:2881}, cs_id=2147534754, proxy_sessid=0, server_type=1) [2022-07-29 14:31:55.625976] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534754, proxy_sessid=12399538384371156436, server_ip={172.20.2.118:2881}, ss_id=34260, server_sessid=3222023433, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41526") [2022-07-29 14:31:55.627208] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51401, cs_id=2147534754, proxy_sessid=12399538384371156436, ss_id=34260, server_sessid=3222023433, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:31:55.627358] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=130] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51401, client_vc=0x7ff1684bb5e0) [2022-07-29 14:31:55.627367] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:31:55.627372] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51401, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:31:55.627468] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] server session do_io_close((*this={ss_id:34260, server_sessid:3222023433, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534754, proxy_sessid:12399538384371156436, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534754, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:31:55.627611] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=136] [dc=0] server session is closing(ss_id=34260, server_sessid=3222023433, server_ip={172.20.2.118:2881}, cs_id=2147534754, proxy_sessid=12399538384371156436) [2022-07-29 14:31:55.627637] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534754, proxy_sessid=12399538384371156436, client_vc=NULL) [2022-07-29 14:31:55.627662] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] deallocating sm(sm_id=51401) [2022-07-29 14:31:55.627675] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:31:55.627757] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:31:55.627843] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:31:55.627960] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=115] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:31:55.628037] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:31:55.628123] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=84] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:31:55.628135] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17131, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076315624191633, server_state_version:0}, pending_list_count=0) [2022-07-29 14:31:55.628160] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17131, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076315624191633, server_state_version:0}) [2022-07-29 14:31:55.628188] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:55.628218] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:31:55.628247] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17131, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076315624191633, server_state_version:0}) [2022-07-29 14:31:55.628275] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:31:55.628398] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:31:55.628450] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF1691B1590] [lt=23] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:31:55.628418] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] data is NULL(sm_id=51399, ret=-4152) [2022-07-29 14:31:55.628512] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=52] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:55.628546] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:31:55.628490] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:31:55.628559] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:31:55.628574] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:31:55.628580] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:31:55.628566] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51399, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:31:55.628706] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=51104, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:31:55.628740] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] deallocating sm(sm_id=51399) [2022-07-29 14:32:00.571033] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=38] [dc=0] connection accepted(client={172.20.2.46:51324}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:32:00.571204] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51324}) [2022-07-29 14:32:00.571287] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] client session born(cs_id=51107, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51324") [2022-07-29 14:32:00.571334] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51107, get_transact_count()=0, sm_id=51402) [2022-07-29 14:32:00.571364] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:00.674080] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:00.674122] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51324}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:00.674151] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:00.674165] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:00.674183] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:32:00.674212] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17132) [2022-07-29 14:32:00.674400] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076320674390, last_valid_time_us:1659076320674181, last_access_time_us:1659076320674181, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:00.674506] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:00.674552] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534756) [2022-07-29 14:32:00.674569] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534756, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:00.674611] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534756, get_transact_count()=0, sm_id=51403) [2022-07-29 14:32:00.674627] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:00.674728] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:00.675008] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34261, server_ip={172.20.2.117:2881}, cs_id=2147534756, proxy_sessid=0, server_type=1) [2022-07-29 14:32:00.675499] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534756, proxy_sessid=12399538384371156437, server_ip={172.20.2.117:2881}, ss_id=34261, server_sessid=3221760165, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44574") [2022-07-29 14:32:00.676897] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] finishing mysql tunnel((sm_id=51403, cs_id=2147534756, proxy_sessid=12399538384371156437, ss_id=34261, server_sessid=3221760165, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:00.677014] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=100] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51403, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:00.677019] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:00.677022] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51403, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:00.677059] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] server session do_io_close((*this={ss_id:34261, server_sessid:3221760165, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534756, proxy_sessid:12399538384371156437, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534756, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:00.677138] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] server session is closing(ss_id=34261, server_sessid=3221760165, server_ip={172.20.2.117:2881}, cs_id=2147534756, proxy_sessid=12399538384371156437) [2022-07-29 14:32:00.677156] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534756, proxy_sessid=12399538384371156437, client_vc=NULL) [2022-07-29 14:32:00.677168] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51403) [2022-07-29 14:32:00.677178] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:00.677214] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:00.677251] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:00.677285] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:00.677319] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:00.677358] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:00.677364] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:00.677367] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:00.677462] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:00.677471] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:00.677486] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534757) [2022-07-29 14:32:00.677492] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] client session born(cs_id=2147534757, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:00.677505] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534757, get_transact_count()=0, sm_id=51404) [2022-07-29 14:32:00.677511] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:00.677563] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:00.677656] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] server session born(ss_id=34262, server_ip={172.20.2.117:2881}, cs_id=2147534757, proxy_sessid=0, server_type=1) [2022-07-29 14:32:00.678119] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534757, proxy_sessid=12399538384371156438, server_ip={172.20.2.117:2881}, ss_id=34262, server_sessid=3221760166, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44576") [2022-07-29 14:32:00.679228] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] finishing mysql tunnel((sm_id=51404, cs_id=2147534757, proxy_sessid=12399538384371156438, ss_id=34262, server_sessid=3221760166, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:00.679306] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51404, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:00.679311] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:00.679314] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51404, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:00.679352] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] server session do_io_close((*this={ss_id:34262, server_sessid:3221760166, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534757, proxy_sessid:12399538384371156438, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534757, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:00.679415] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] server session is closing(ss_id=34262, server_sessid=3221760166, server_ip={172.20.2.117:2881}, cs_id=2147534757, proxy_sessid=12399538384371156438) [2022-07-29 14:32:00.679427] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534757, proxy_sessid=12399538384371156438, client_vc=NULL) [2022-07-29 14:32:00.679433] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=2] [dc=0] deallocating sm(sm_id=51404) [2022-07-29 14:32:00.679439] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:00.679473] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:00.679510] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:00.679543] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:00.679579] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:00.679616] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:00.679623] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17132, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076320677374104, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:00.679639] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17132, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076320677374104, server_state_version:0}) [2022-07-29 14:32:00.679655] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:00.679667] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:00.679685] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17132, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076320677374104, server_state_version:0}) [2022-07-29 14:32:00.679695] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:00.679772] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:32:00.679784] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] data is NULL(sm_id=51402, ret=-4152) [2022-07-29 14:32:00.679816] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:00.679859] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF169450940] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:00.679855] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51402, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:00.679892] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:00.679912] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] client session destroy(cs_id=51107, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:00.679938] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51402) [2022-07-29 14:32:00.679916] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:00.679950] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=28] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:00.679963] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:00.679969] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:05.509933] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=58] [dc=0] connection accepted(client={172.20.2.46:51328}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:32:05.510084] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51328}) [2022-07-29 14:32:05.510172] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] client session born(cs_id=51110, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51328") [2022-07-29 14:32:05.510219] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=51110, get_transact_count()=0, sm_id=51405) [2022-07-29 14:32:05.510268] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:05.595036] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:05.595077] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51328}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:05.595104] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:05.595119] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:05.595136] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:32:05.595150] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17133) [2022-07-29 14:32:05.595342] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076325595330, last_valid_time_us:1659076325595134, last_access_time_us:1659076325595134, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:05.595451] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:05.595496] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534759) [2022-07-29 14:32:05.595519] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534759, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:05.595562] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534759, get_transact_count()=0, sm_id=51406) [2022-07-29 14:32:05.595590] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:05.595694] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:05.595860] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34263, server_ip={172.20.2.116:2881}, cs_id=2147534759, proxy_sessid=0, server_type=1) [2022-07-29 14:32:05.596217] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=41] [dc=0] succ to set proxy_sessid(cs_id=2147534759, proxy_sessid=12399538384371156439, server_ip={172.20.2.116:2881}, ss_id=34263, server_sessid=3221678334, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36512") [2022-07-29 14:32:05.597377] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51406, cs_id=2147534759, proxy_sessid=12399538384371156439, ss_id=34263, server_sessid=3221678334, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:05.597637] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=228] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51406, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:05.597649] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:05.597657] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51406, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:05.597774] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34263, server_sessid:3221678334, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534759, proxy_sessid:12399538384371156439, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534759, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:05.598124] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=324] [dc=0] server session is closing(ss_id=34263, server_sessid=3221678334, server_ip={172.20.2.116:2881}, cs_id=2147534759, proxy_sessid=12399538384371156439) [2022-07-29 14:32:05.598176] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client session destroy(cs_id=2147534759, proxy_sessid=12399538384371156439, client_vc=NULL) [2022-07-29 14:32:05.598214] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] deallocating sm(sm_id=51406) [2022-07-29 14:32:05.598235] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:05.598348] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:05.598457] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:05.598618] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=156] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:05.598730] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:05.598841] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:05.598853] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:05.598860] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:05.599062] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:05.599086] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:05.599118] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534760) [2022-07-29 14:32:05.599146] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534760, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:05.599170] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534760, get_transact_count()=0, sm_id=51407) [2022-07-29 14:32:05.599182] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:05.599346] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:05.599492] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] server session born(ss_id=34264, server_ip={172.20.2.118:2881}, cs_id=2147534760, proxy_sessid=0, server_type=1) [2022-07-29 14:32:05.600225] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534760, proxy_sessid=12399538384371156440, server_ip={172.20.2.118:2881}, ss_id=34264, server_sessid=3222023434, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41534") [2022-07-29 14:32:05.602104] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51407, cs_id=2147534760, proxy_sessid=12399538384371156440, ss_id=34264, server_sessid=3222023434, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:05.602301] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=173] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51407, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:05.602312] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:05.602321] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51407, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:05.602429] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] server session do_io_close((*this={ss_id:34264, server_sessid:3222023434, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534760, proxy_sessid:12399538384371156440, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534760, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:05.602629] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=192] [dc=0] server session is closing(ss_id=34264, server_sessid=3222023434, server_ip={172.20.2.118:2881}, cs_id=2147534760, proxy_sessid=12399538384371156440) [2022-07-29 14:32:05.602664] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534760, proxy_sessid=12399538384371156440, client_vc=NULL) [2022-07-29 14:32:05.602683] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51407) [2022-07-29 14:32:05.602711] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:05.602821] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:05.602978] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=157] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:05.603111] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=130] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:05.603222] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:05.603333] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:05.603347] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17133, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076325597613070, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:05.603384] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17133, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076325597613070, server_state_version:0}) [2022-07-29 14:32:05.603420] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:05.603446] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:05.603494] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17133, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076325597613070, server_state_version:0}) [2022-07-29 14:32:05.603522] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:05.603673] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:32:05.603703] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF1691B1590] [lt=17] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:05.603729] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:05.603760] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:05.603771] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:05.603782] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:05.603697] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51405, ret=-4152) [2022-07-29 14:32:05.603787] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:05.603798] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=100] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:05.603908] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51405, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:05.604111] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51110, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:05.604148] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51405) [2022-07-29 14:32:10.628665] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51332}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:32:10.628814] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51332}) [2022-07-29 14:32:10.628883] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] client session born(cs_id=51113, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51332") [2022-07-29 14:32:10.628935] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] Starting new transaction using sm(cs_id=51113, get_transact_count()=0, sm_id=51408) [2022-07-29 14:32:10.628952] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:10.707075] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:10.707125] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] client login audit(client_addr={172.20.2.46:51332}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:10.707153] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:10.707167] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:10.707185] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:32:10.707202] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17134) [2022-07-29 14:32:10.707428] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076330707417, last_valid_time_us:1659076330707183, last_access_time_us:1659076330707183, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:10.707533] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:10.707577] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534762) [2022-07-29 14:32:10.707607] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534762, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:10.707643] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=2147534762, get_transact_count()=0, sm_id=51409) [2022-07-29 14:32:10.707672] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:10.707776] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:10.707981] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34265, server_ip={172.20.2.117:2881}, cs_id=2147534762, proxy_sessid=0, server_type=1) [2022-07-29 14:32:10.708362] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534762, proxy_sessid=12399538384371156441, server_ip={172.20.2.117:2881}, ss_id=34265, server_sessid=3221760171, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44582") [2022-07-29 14:32:10.709378] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] finishing mysql tunnel((sm_id=51409, cs_id=2147534762, proxy_sessid=12399538384371156441, ss_id=34265, server_sessid=3221760171, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:10.709532] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51409, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:10.709541] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:10.709546] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51409, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:10.709625] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] server session do_io_close((*this={ss_id:34265, server_sessid:3221760171, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534762, proxy_sessid:12399538384371156441, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534762, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:10.709773] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=138] [dc=0] server session is closing(ss_id=34265, server_sessid=3221760171, server_ip={172.20.2.117:2881}, cs_id=2147534762, proxy_sessid=12399538384371156441) [2022-07-29 14:32:10.709814] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534762, proxy_sessid=12399538384371156441, client_vc=NULL) [2022-07-29 14:32:10.709840] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] deallocating sm(sm_id=51409) [2022-07-29 14:32:10.709866] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:10.709952] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=86] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:10.710023] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:10.710100] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:10.710174] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:10.710247] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:10.710258] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:10.710264] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:10.710424] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:10.710442] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:10.710472] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534763) [2022-07-29 14:32:10.710482] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534763, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:10.710506] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534763, get_transact_count()=0, sm_id=51410) [2022-07-29 14:32:10.710524] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:10.710608] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:10.710754] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] server session born(ss_id=34266, server_ip={172.20.2.118:2881}, cs_id=2147534763, proxy_sessid=0, server_type=1) [2022-07-29 14:32:10.711262] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] succ to set proxy_sessid(cs_id=2147534763, proxy_sessid=12399538384371156442, server_ip={172.20.2.118:2881}, ss_id=34266, server_sessid=3222023435, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41538") [2022-07-29 14:32:10.713049] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51410, cs_id=2147534763, proxy_sessid=12399538384371156442, ss_id=34266, server_sessid=3222023435, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:10.713265] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=183] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51410, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:10.713291] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:10.713302] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51410, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:10.713419] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34266, server_sessid:3222023435, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534763, proxy_sessid:12399538384371156442, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534763, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:10.713624] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=192] [dc=0] server session is closing(ss_id=34266, server_sessid=3222023435, server_ip={172.20.2.118:2881}, cs_id=2147534763, proxy_sessid=12399538384371156442) [2022-07-29 14:32:10.713677] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session destroy(cs_id=2147534763, proxy_sessid=12399538384371156442, client_vc=NULL) [2022-07-29 14:32:10.713715] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51410) [2022-07-29 14:32:10.713749] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:10.713864] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:10.713990] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=125] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:10.714107] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:10.714229] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=122] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:10.714342] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:10.714359] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17134, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076330709506982, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:10.714393] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17134, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076330709506982, server_state_version:0}) [2022-07-29 14:32:10.714442] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:10.714488] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:10.714538] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17134, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076330709506982, server_state_version:0}) [2022-07-29 14:32:10.714576] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:10.714715] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:32:10.714740] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF169450940] [lt=20] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:10.714757] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=11] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:10.714780] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:10.714800] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=16] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:10.714815] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:10.714820] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:10.714741] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] data is NULL(sm_id=51408, ret=-4152) [2022-07-29 14:32:10.714866] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=123] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:10.714990] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=122] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51408, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:10.715162] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51113, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:10.715218] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51408) [2022-07-29 14:32:15.585826] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51334}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:32:15.585977] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51334}) [2022-07-29 14:32:15.586027] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=51116, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51334") [2022-07-29 14:32:15.586073] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51116, get_transact_count()=0, sm_id=51411) [2022-07-29 14:32:15.586091] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:15.672108] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:15.672147] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51334}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:15.672174] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:15.672187] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:15.672203] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:32:15.672217] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17135) [2022-07-29 14:32:15.672431] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076335672420, last_valid_time_us:1659076335672202, last_access_time_us:1659076335672202, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:15.672537] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:15.672908] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534765) [2022-07-29 14:32:15.672953] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=2147534765, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:15.672988] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=2147534765, get_transact_count()=0, sm_id=51412) [2022-07-29 14:32:15.673016] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:15.673137] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:15.673309] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34267, server_ip={172.20.2.117:2881}, cs_id=2147534765, proxy_sessid=0, server_type=1) [2022-07-29 14:32:15.674016] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534765, proxy_sessid=12399538384371156443, server_ip={172.20.2.117:2881}, ss_id=34267, server_sessid=3221760174, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44586") [2022-07-29 14:32:15.677001] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] finishing mysql tunnel((sm_id=51412, cs_id=2147534765, proxy_sessid=12399538384371156443, ss_id=34267, server_sessid=3221760174, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:15.677222] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=193] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51412, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:15.677277] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:15.677296] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51412, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:15.677413] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34267, server_sessid:3221760174, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534765, proxy_sessid:12399538384371156443, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534765, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:15.677611] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=189] [dc=0] server session is closing(ss_id=34267, server_sessid=3221760174, server_ip={172.20.2.117:2881}, cs_id=2147534765, proxy_sessid=12399538384371156443) [2022-07-29 14:32:15.677649] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534765, proxy_sessid=12399538384371156443, client_vc=NULL) [2022-07-29 14:32:15.677684] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51412) [2022-07-29 14:32:15.677704] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:15.677815] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:15.677940] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=125] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:15.678055] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:15.678167] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:15.678282] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:15.678294] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:15.678301] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:15.678390] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:15.678414] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:15.678445] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534766) [2022-07-29 14:32:15.678471] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534766, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:15.678496] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534766, get_transact_count()=0, sm_id=51413) [2022-07-29 14:32:15.678519] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:15.678597] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:15.678740] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] server session born(ss_id=34268, server_ip={172.20.2.116:2881}, cs_id=2147534766, proxy_sessid=0, server_type=1) [2022-07-29 14:32:15.679133] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534766, proxy_sessid=12399538384371156444, server_ip={172.20.2.116:2881}, ss_id=34268, server_sessid=3221678434, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36522") [2022-07-29 14:32:15.680178] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51413, cs_id=2147534766, proxy_sessid=12399538384371156444, ss_id=34268, server_sessid=3221678434, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:15.680380] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=178] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51413, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:15.680405] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:15.680413] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51413, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:15.680528] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34268, server_sessid:3221678434, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534766, proxy_sessid:12399538384371156444, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534766, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:15.680720] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=185] [dc=0] server session is closing(ss_id=34268, server_sessid=3221678434, server_ip={172.20.2.116:2881}, cs_id=2147534766, proxy_sessid=12399538384371156444) [2022-07-29 14:32:15.680755] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534766, proxy_sessid=12399538384371156444, client_vc=NULL) [2022-07-29 14:32:15.680788] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51413) [2022-07-29 14:32:15.680816] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:15.680946] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=129] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:15.681055] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:15.681168] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:15.681279] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:15.681390] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:15.681404] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17135, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076335678149048, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:15.681425] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17135, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076335678149048, server_state_version:0}) [2022-07-29 14:32:15.681486] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:15.681523] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:15.681571] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17135, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076335678149048, server_state_version:0}) [2022-07-29 14:32:15.681604] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:15.681754] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:32:15.681784] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF1691B1590] [lt=15] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:15.681812] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:15.681830] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:15.681842] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:15.681853] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:15.681856] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:15.681778] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51411, ret=-4152) [2022-07-29 14:32:15.681889] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:15.682012] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51411, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:15.682189] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51116, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:15.682238] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51411) [2022-07-29 14:32:20.641940] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51338}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:32:20.642094] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51338}) [2022-07-29 14:32:20.642190] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] client session born(cs_id=51119, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51338") [2022-07-29 14:32:20.642239] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=51119, get_transact_count()=0, sm_id=51414) [2022-07-29 14:32:20.642257] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:20.716281] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:20.716320] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51338}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:20.716348] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:20.716362] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:20.716380] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:32:20.716393] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17136) [2022-07-29 14:32:20.716587] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076340716576, last_valid_time_us:1659076340716378, last_access_time_us:1659076340716378, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:20.716694] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:20.716740] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534768) [2022-07-29 14:32:20.716768] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534768, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:20.716813] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534768, get_transact_count()=0, sm_id=51415) [2022-07-29 14:32:20.716841] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:20.716992] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:20.717162] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] server session born(ss_id=34269, server_ip={172.20.2.117:2881}, cs_id=2147534768, proxy_sessid=0, server_type=1) [2022-07-29 14:32:20.717703] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534768, proxy_sessid=12399538384371156445, server_ip={172.20.2.117:2881}, ss_id=34269, server_sessid=3221760177, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44590") [2022-07-29 14:32:20.719142] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51415, cs_id=2147534768, proxy_sessid=12399538384371156445, ss_id=34269, server_sessid=3221760177, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:20.719373] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=198] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51415, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:20.719393] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:20.719402] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51415, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:20.719521] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] server session do_io_close((*this={ss_id:34269, server_sessid:3221760177, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534768, proxy_sessid:12399538384371156445, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534768, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:20.719725] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=194] [dc=0] server session is closing(ss_id=34269, server_sessid=3221760177, server_ip={172.20.2.117:2881}, cs_id=2147534768, proxy_sessid=12399538384371156445) [2022-07-29 14:32:20.719781] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] client session destroy(cs_id=2147534768, proxy_sessid=12399538384371156445, client_vc=NULL) [2022-07-29 14:32:20.719820] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51415) [2022-07-29 14:32:20.719855] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:20.719989] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=134] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:20.720102] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:20.720219] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:20.720333] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:20.720448] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:20.720461] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:20.720468] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:20.720535] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:20.720558] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:20.720592] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534769) [2022-07-29 14:32:20.720619] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534769, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:20.720657] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534769, get_transact_count()=0, sm_id=51416) [2022-07-29 14:32:20.720686] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:20.720772] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:20.720978] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] server session born(ss_id=34270, server_ip={172.20.2.116:2881}, cs_id=2147534769, proxy_sessid=0, server_type=1) [2022-07-29 14:32:20.721273] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534769, proxy_sessid=12399538384371156446, server_ip={172.20.2.116:2881}, ss_id=34270, server_sessid=3221678480, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36526") [2022-07-29 14:32:20.722212] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51416, cs_id=2147534769, proxy_sessid=12399538384371156446, ss_id=34270, server_sessid=3221678480, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:20.722410] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=174] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51416, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:20.722434] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:20.722442] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51416, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:20.722558] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34270, server_sessid:3221678480, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534769, proxy_sessid:12399538384371156446, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534769, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:20.722745] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=180] [dc=0] server session is closing(ss_id=34270, server_sessid=3221678480, server_ip={172.20.2.116:2881}, cs_id=2147534769, proxy_sessid=12399538384371156446) [2022-07-29 14:32:20.722779] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534769, proxy_sessid=12399538384371156446, client_vc=NULL) [2022-07-29 14:32:20.722813] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51416) [2022-07-29 14:32:20.722842] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:20.722971] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=128] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:20.723082] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:20.723195] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:20.723309] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:20.723439] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:20.723455] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17136, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076340720041344, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:20.723490] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17136, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076340720041344, server_state_version:0}) [2022-07-29 14:32:20.723541] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:20.723586] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:20.723638] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17136, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076340720041344, server_state_version:0}) [2022-07-29 14:32:20.723688] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:20.723824] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:32:20.723828] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF169450940] [lt=7] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:20.723845] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=12] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:20.723857] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:20.723863] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:20.723874] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:20.723876] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:20.723850] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] data is NULL(sm_id=51414, ret=-4152) [2022-07-29 14:32:20.723968] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:20.724078] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51414, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:20.724248] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51119, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:20.724290] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51414) [2022-07-29 14:32:25.635649] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51340}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:32:25.635822] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51340}) [2022-07-29 14:32:25.635885] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] client session born(cs_id=51122, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51340") [2022-07-29 14:32:25.635955] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=51122, get_transact_count()=0, sm_id=51417) [2022-07-29 14:32:25.635984] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:25.716790] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:25.716812] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client login audit(client_addr={172.20.2.46:51340}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:25.716827] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:25.716833] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:25.716843] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:32:25.716850] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17137) [2022-07-29 14:32:25.716988] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076345716980, last_valid_time_us:1659076345716842, last_access_time_us:1659076345716842, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:25.717032] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:25.717066] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534771) [2022-07-29 14:32:25.717076] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534771, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:25.717096] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534771, get_transact_count()=0, sm_id=51418) [2022-07-29 14:32:25.717105] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:25.717168] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:25.717277] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] server session born(ss_id=34271, server_ip={172.20.2.118:2881}, cs_id=2147534771, proxy_sessid=0, server_type=1) [2022-07-29 14:32:25.717818] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534771, proxy_sessid=12399538384371156447, server_ip={172.20.2.118:2881}, ss_id=34271, server_sessid=3222023436, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41548") [2022-07-29 14:32:25.719603] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51418, cs_id=2147534771, proxy_sessid=12399538384371156447, ss_id=34271, server_sessid=3222023436, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:25.719816] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=182] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51418, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:25.719832] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:25.719839] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51418, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:25.719974] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=131] [dc=0] server session do_io_close((*this={ss_id:34271, server_sessid:3222023436, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534771, proxy_sessid:12399538384371156447, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534771, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:25.720174] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34271, server_sessid=3222023436, server_ip={172.20.2.118:2881}, cs_id=2147534771, proxy_sessid=12399538384371156447) [2022-07-29 14:32:25.720212] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534771, proxy_sessid=12399538384371156447, client_vc=NULL) [2022-07-29 14:32:25.720248] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51418) [2022-07-29 14:32:25.720268] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:25.720379] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:25.720490] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:25.720603] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:25.720716] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:25.720826] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:25.720838] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:25.720845] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:25.721002] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:25.721026] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:25.721059] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534772) [2022-07-29 14:32:25.721085] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534772, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:25.721110] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534772, get_transact_count()=0, sm_id=51419) [2022-07-29 14:32:25.721137] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:25.721220] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:25.721369] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34272, server_ip={172.20.2.117:2881}, cs_id=2147534772, proxy_sessid=0, server_type=1) [2022-07-29 14:32:25.722390] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534772, proxy_sessid=12399538384371156448, server_ip={172.20.2.117:2881}, ss_id=34272, server_sessid=3221760180, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44596") [2022-07-29 14:32:25.729620] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51419, cs_id=2147534772, proxy_sessid=12399538384371156448, ss_id=34272, server_sessid=3221760180, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:25.729822] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=178] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51419, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:25.729833] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:25.729838] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51419, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:25.729953] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34272, server_sessid:3221760180, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534772, proxy_sessid:12399538384371156448, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534772, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:25.730112] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=151] [dc=0] server session is closing(ss_id=34272, server_sessid=3221760180, server_ip={172.20.2.117:2881}, cs_id=2147534772, proxy_sessid=12399538384371156448) [2022-07-29 14:32:25.730142] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534772, proxy_sessid=12399538384371156448, client_vc=NULL) [2022-07-29 14:32:25.730173] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51419) [2022-07-29 14:32:25.730190] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:25.730276] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:25.730361] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:25.730452] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:25.730540] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:25.730629] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:25.730641] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17137, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076345719792940, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:25.730658] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17137, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076345719792940, server_state_version:0}) [2022-07-29 14:32:25.730687] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:25.730719] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:25.730760] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17137, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076345719792940, server_state_version:0}) [2022-07-29 14:32:25.730788] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:25.730914] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:32:25.730959] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF1691B1590] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:25.730939] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51417, ret=-4152) [2022-07-29 14:32:25.731005] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:25.731031] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:25.731044] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:25.731069] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:25.731076] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:25.731025] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:25.731101] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51417, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:25.731232] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51122, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:25.731275] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51417) [2022-07-29 14:32:30.614554] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=65] [dc=0] connection accepted(client={172.20.2.46:51344}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:32:30.614704] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51344}) [2022-07-29 14:32:30.614786] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] client session born(cs_id=51125, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51344") [2022-07-29 14:32:30.614831] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51125, get_transact_count()=0, sm_id=51420) [2022-07-29 14:32:30.614848] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:30.700314] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:30.700350] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] client login audit(client_addr={172.20.2.46:51344}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:30.700377] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:30.700390] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:30.700407] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:32:30.700421] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17138) [2022-07-29 14:32:30.700616] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076350700604, last_valid_time_us:1659076350700405, last_access_time_us:1659076350700405, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:30.700733] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:30.700778] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534774) [2022-07-29 14:32:30.700802] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534774, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:30.700838] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534774, get_transact_count()=0, sm_id=51421) [2022-07-29 14:32:30.700854] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:30.700994] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:30.701155] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] server session born(ss_id=34273, server_ip={172.20.2.116:2881}, cs_id=2147534774, proxy_sessid=0, server_type=1) [2022-07-29 14:32:30.701564] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534774, proxy_sessid=12399538384371156449, server_ip={172.20.2.116:2881}, ss_id=34273, server_sessid=3221678577, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36532") [2022-07-29 14:32:30.702589] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] finishing mysql tunnel((sm_id=51421, cs_id=2147534774, proxy_sessid=12399538384371156449, ss_id=34273, server_sessid=3221678577, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:30.702834] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=206] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51421, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:30.702861] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:30.702870] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51421, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:30.703014] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=139] [dc=0] server session do_io_close((*this={ss_id:34273, server_sessid:3221678577, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534774, proxy_sessid:12399538384371156449, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534774, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:30.703223] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=195] [dc=0] server session is closing(ss_id=34273, server_sessid=3221678577, server_ip={172.20.2.116:2881}, cs_id=2147534774, proxy_sessid=12399538384371156449) [2022-07-29 14:32:30.703268] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session destroy(cs_id=2147534774, proxy_sessid=12399538384371156449, client_vc=NULL) [2022-07-29 14:32:30.703310] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51421) [2022-07-29 14:32:30.703334] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:30.703448] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:30.703564] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:30.703680] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:30.703793] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:30.703907] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:30.703933] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:30.703941] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:30.704104] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:30.704144] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:30.704186] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534775) [2022-07-29 14:32:30.704201] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534775, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:30.704244] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=2147534775, get_transact_count()=0, sm_id=51422) [2022-07-29 14:32:30.704258] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:30.704375] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:30.704593] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] server session born(ss_id=34274, server_ip={172.20.2.116:2881}, cs_id=2147534775, proxy_sessid=0, server_type=1) [2022-07-29 14:32:30.705016] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] succ to set proxy_sessid(cs_id=2147534775, proxy_sessid=12399538384371156450, server_ip={172.20.2.116:2881}, ss_id=34274, server_sessid=3221678578, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36534") [2022-07-29 14:32:30.712251] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=93] [dc=0] finishing mysql tunnel((sm_id=51422, cs_id=2147534775, proxy_sessid=12399538384371156450, ss_id=34274, server_sessid=3221678578, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:30.712455] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51422, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:30.712466] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:30.712472] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51422, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:30.712591] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] server session do_io_close((*this={ss_id:34274, server_sessid:3221678578, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534775, proxy_sessid:12399538384371156450, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534775, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:30.712781] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=181] [dc=0] server session is closing(ss_id=34274, server_sessid=3221678578, server_ip={172.20.2.116:2881}, cs_id=2147534775, proxy_sessid=12399538384371156450) [2022-07-29 14:32:30.712828] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session destroy(cs_id=2147534775, proxy_sessid=12399538384371156450, client_vc=NULL) [2022-07-29 14:32:30.712862] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51422) [2022-07-29 14:32:30.712892] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:30.713022] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=130] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:30.713133] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:30.713249] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:30.713362] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:30.713476] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:30.713492] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17138, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076350703650080, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:30.713514] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17138, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076350703650080, server_state_version:0}) [2022-07-29 14:32:30.713565] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:30.713595] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:30.713651] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17138, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076350703650080, server_state_version:0}) [2022-07-29 14:32:30.713674] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:30.713786] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:32:30.713810] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51420, ret=-4152) [2022-07-29 14:32:30.713939] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=127] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:30.714051] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51420, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:30.714220] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51125, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:30.714278] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51420) [2022-07-29 14:32:30.714306] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF169450940] [lt=19] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:30.714420] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:30.714502] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=80] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:30.714528] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:30.714542] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:30.714548] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:35.618467] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=58] [dc=0] connection accepted(client={172.20.2.46:51348}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:32:35.618673] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51348}) [2022-07-29 14:32:35.618788] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] client session born(cs_id=51128, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51348") [2022-07-29 14:32:35.618839] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] Starting new transaction using sm(cs_id=51128, get_transact_count()=0, sm_id=51423) [2022-07-29 14:32:35.618871] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:35.697412] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:35.697452] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51348}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:35.697479] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:35.697494] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:35.697512] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:32:35.697526] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17139) [2022-07-29 14:32:35.697726] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076355697715, last_valid_time_us:1659076355697509, last_access_time_us:1659076355697509, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:35.697832] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:35.697879] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534777) [2022-07-29 14:32:35.697909] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session born(cs_id=2147534777, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:35.697978] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] Starting new transaction using sm(cs_id=2147534777, get_transact_count()=0, sm_id=51424) [2022-07-29 14:32:35.698006] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:35.698111] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:35.698299] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34275, server_ip={172.20.2.117:2881}, cs_id=2147534777, proxy_sessid=0, server_type=1) [2022-07-29 14:32:35.698731] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534777, proxy_sessid=12399538384371156451, server_ip={172.20.2.117:2881}, ss_id=34275, server_sessid=3221760189, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44602") [2022-07-29 14:32:35.700222] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51424, cs_id=2147534777, proxy_sessid=12399538384371156451, ss_id=34275, server_sessid=3221760189, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:35.700376] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=134] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51424, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:35.700385] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:35.700390] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51424, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:35.700464] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] server session do_io_close((*this={ss_id:34275, server_sessid:3221760189, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534777, proxy_sessid:12399538384371156451, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534777, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:35.700596] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=126] [dc=0] server session is closing(ss_id=34275, server_sessid=3221760189, server_ip={172.20.2.117:2881}, cs_id=2147534777, proxy_sessid=12399538384371156451) [2022-07-29 14:32:35.700630] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534777, proxy_sessid=12399538384371156451, client_vc=NULL) [2022-07-29 14:32:35.700656] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] deallocating sm(sm_id=51424) [2022-07-29 14:32:35.700670] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:35.700741] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:35.700820] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:35.700889] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:35.700996] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:35.701069] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:35.701078] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:35.701083] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:35.701301] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:35.701317] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:35.701339] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534778) [2022-07-29 14:32:35.701356] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=2147534778, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:35.701375] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534778, get_transact_count()=0, sm_id=51425) [2022-07-29 14:32:35.701392] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:35.701446] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:35.701536] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] server session born(ss_id=34276, server_ip={172.20.2.117:2881}, cs_id=2147534778, proxy_sessid=0, server_type=1) [2022-07-29 14:32:35.701983] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534778, proxy_sessid=12399538384371156452, server_ip={172.20.2.117:2881}, ss_id=34276, server_sessid=3221760190, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44604") [2022-07-29 14:32:35.703308] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51425, cs_id=2147534778, proxy_sessid=12399538384371156452, ss_id=34276, server_sessid=3221760190, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:35.703512] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51425, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:35.703537] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:35.703545] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51425, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:35.703660] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34276, server_sessid:3221760190, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534778, proxy_sessid:12399538384371156452, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534778, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:35.703866] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=197] [dc=0] server session is closing(ss_id=34276, server_sessid=3221760190, server_ip={172.20.2.117:2881}, cs_id=2147534778, proxy_sessid=12399538384371156452) [2022-07-29 14:32:35.703901] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534778, proxy_sessid=12399538384371156452, client_vc=NULL) [2022-07-29 14:32:35.703950] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] deallocating sm(sm_id=51425) [2022-07-29 14:32:35.703979] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:35.704091] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:35.704199] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:35.704312] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:35.704423] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:35.704533] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:35.704548] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17139, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076355700360553, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:35.704583] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17139, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076355700360553, server_state_version:0}) [2022-07-29 14:32:35.704619] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:35.704645] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:35.704692] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17139, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076355700360553, server_state_version:0}) [2022-07-29 14:32:35.704727] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:35.704869] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:32:35.704887] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:35.704907] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:35.704933] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:35.704940] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:35.704947] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:35.704950] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:35.704887] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] data is NULL(sm_id=51423, ret=-4152) [2022-07-29 14:32:35.705014] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=126] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:35.705120] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51423, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:35.705261] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51128, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:35.705295] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51423) [2022-07-29 14:32:40.709666] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51356}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:32:40.709805] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51356}) [2022-07-29 14:32:40.709871] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client session born(cs_id=51131, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51356") [2022-07-29 14:32:40.709944] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] Starting new transaction using sm(cs_id=51131, get_transact_count()=0, sm_id=51426) [2022-07-29 14:32:40.709963] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:40.793615] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:40.793657] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] client login audit(client_addr={172.20.2.46:51356}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:40.793685] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:40.793699] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:40.793716] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:32:40.793731] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17140) [2022-07-29 14:32:40.793954] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076360793942, last_valid_time_us:1659076360793783, last_access_time_us:1659076360793783, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:40.794062] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:40.794108] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534780) [2022-07-29 14:32:40.794130] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] client session born(cs_id=2147534780, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:40.794175] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=2147534780, get_transact_count()=0, sm_id=51427) [2022-07-29 14:32:40.794190] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:40.794295] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:40.794461] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34277, server_ip={172.20.2.117:2881}, cs_id=2147534780, proxy_sessid=0, server_type=1) [2022-07-29 14:32:40.795002] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] succ to set proxy_sessid(cs_id=2147534780, proxy_sessid=12399538384371156453, server_ip={172.20.2.117:2881}, ss_id=34277, server_sessid=3221760193, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44606") [2022-07-29 14:32:40.796474] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51427, cs_id=2147534780, proxy_sessid=12399538384371156453, ss_id=34277, server_sessid=3221760193, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:40.796686] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51427, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:40.796704] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:40.796711] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51427, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:40.796827] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34277, server_sessid:3221760193, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534780, proxy_sessid:12399538384371156453, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534780, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:40.797040] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=205] [dc=0] server session is closing(ss_id=34277, server_sessid=3221760193, server_ip={172.20.2.117:2881}, cs_id=2147534780, proxy_sessid=12399538384371156453) [2022-07-29 14:32:40.797074] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534780, proxy_sessid=12399538384371156453, client_vc=NULL) [2022-07-29 14:32:40.797096] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51427) [2022-07-29 14:32:40.797129] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:40.797239] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:40.797348] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:40.797471] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:40.797583] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:40.797721] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=136] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:40.797733] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:40.797740] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:40.797812] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:40.797836] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:40.797864] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534781) [2022-07-29 14:32:40.797875] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534781, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:40.797899] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534781, get_transact_count()=0, sm_id=51428) [2022-07-29 14:32:40.797982] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:40.798066] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:40.798201] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] server session born(ss_id=34278, server_ip={172.20.2.118:2881}, cs_id=2147534781, proxy_sessid=0, server_type=1) [2022-07-29 14:32:40.798791] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] succ to set proxy_sessid(cs_id=2147534781, proxy_sessid=12399538384371156454, server_ip={172.20.2.118:2881}, ss_id=34278, server_sessid=3222023437, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41562") [2022-07-29 14:32:40.800356] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=64] [dc=0] finishing mysql tunnel((sm_id=51428, cs_id=2147534781, proxy_sessid=12399538384371156454, ss_id=34278, server_sessid=3222023437, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:40.800565] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=181] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51428, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:40.800577] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:40.800585] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51428, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:40.800701] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34278, server_sessid:3222023437, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534781, proxy_sessid:12399538384371156454, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534781, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:40.800895] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=185] [dc=0] server session is closing(ss_id=34278, server_sessid=3222023437, server_ip={172.20.2.118:2881}, cs_id=2147534781, proxy_sessid=12399538384371156454) [2022-07-29 14:32:40.800946] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534781, proxy_sessid=12399538384371156454, client_vc=NULL) [2022-07-29 14:32:40.800980] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51428) [2022-07-29 14:32:40.800996] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:40.801107] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:40.801214] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:40.801327] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:40.801438] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:40.801551] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:40.801565] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17140, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076360796667439, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:40.801598] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17140, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076360796667439, server_state_version:0}) [2022-07-29 14:32:40.801634] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:40.801674] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:40.801712] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17140, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076360796667439, server_state_version:0}) [2022-07-29 14:32:40.801747] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:40.801884] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:32:40.801951] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF169450940] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:40.801907] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51426, ret=-4152) [2022-07-29 14:32:40.801999] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:40.802023] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:40.802048] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:40.802062] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:40.802067] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:40.802021] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:40.802118] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51426, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:40.802281] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51131, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:40.802331] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51426) [2022-07-29 14:32:45.659398] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51358}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:32:45.659597] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51358}) [2022-07-29 14:32:45.659659] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] client session born(cs_id=51134, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51358") [2022-07-29 14:32:45.659680] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=51134, get_transact_count()=0, sm_id=51429) [2022-07-29 14:32:45.659699] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:45.758590] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:45.758622] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51358}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:45.758644] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:45.758656] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:45.758670] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:32:45.758681] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17141) [2022-07-29 14:32:45.758854] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076365758844, last_valid_time_us:1659076365758668, last_access_time_us:1659076365758668, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:45.758968] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:45.759009] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534783) [2022-07-29 14:32:45.759028] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534783, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:45.759055] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534783, get_transact_count()=0, sm_id=51430) [2022-07-29 14:32:45.759079] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:45.759168] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:45.759306] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] server session born(ss_id=34279, server_ip={172.20.2.118:2881}, cs_id=2147534783, proxy_sessid=0, server_type=1) [2022-07-29 14:32:45.759765] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534783, proxy_sessid=12399538384371156455, server_ip={172.20.2.118:2881}, ss_id=34279, server_sessid=3222023438, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41564") [2022-07-29 14:32:45.761088] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] finishing mysql tunnel((sm_id=51430, cs_id=2147534783, proxy_sessid=12399538384371156455, ss_id=34279, server_sessid=3222023438, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:45.761250] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=141] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51430, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:45.761258] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:45.761264] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51430, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:45.761356] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] server session do_io_close((*this={ss_id:34279, server_sessid:3222023438, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534783, proxy_sessid:12399538384371156455, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534783, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:45.761506] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=145] [dc=0] server session is closing(ss_id=34279, server_sessid=3222023438, server_ip={172.20.2.118:2881}, cs_id=2147534783, proxy_sessid=12399538384371156455) [2022-07-29 14:32:45.761534] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534783, proxy_sessid=12399538384371156455, client_vc=NULL) [2022-07-29 14:32:45.761562] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] deallocating sm(sm_id=51430) [2022-07-29 14:32:45.761578] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:45.761665] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=87] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:45.761751] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:45.761840] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:45.761937] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:45.762025] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:45.762034] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:45.762041] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:45.762153] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:45.762172] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:45.762196] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534784) [2022-07-29 14:32:45.762216] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534784, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:45.762236] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534784, get_transact_count()=0, sm_id=51431) [2022-07-29 14:32:45.762254] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:45.762310] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:45.762415] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] server session born(ss_id=34280, server_ip={172.20.2.117:2881}, cs_id=2147534784, proxy_sessid=0, server_type=1) [2022-07-29 14:32:45.762810] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534784, proxy_sessid=12399538384371156456, server_ip={172.20.2.117:2881}, ss_id=34280, server_sessid=3221760196, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44612") [2022-07-29 14:32:45.763842] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51431, cs_id=2147534784, proxy_sessid=12399538384371156456, ss_id=34280, server_sessid=3221760196, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:45.764094] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=226] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51431, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:45.764116] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:45.764123] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51431, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:45.764232] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] server session do_io_close((*this={ss_id:34280, server_sessid:3221760196, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534784, proxy_sessid:12399538384371156456, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534784, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:45.764410] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=170] [dc=0] server session is closing(ss_id=34280, server_sessid=3221760196, server_ip={172.20.2.117:2881}, cs_id=2147534784, proxy_sessid=12399538384371156456) [2022-07-29 14:32:45.764455] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session destroy(cs_id=2147534784, proxy_sessid=12399538384371156456, client_vc=NULL) [2022-07-29 14:32:45.764493] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] deallocating sm(sm_id=51431) [2022-07-29 14:32:45.764509] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:45.764611] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:45.764712] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:45.764815] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:45.764941] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=126] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:45.765042] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:45.765056] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17141, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076365761234144, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:45.765086] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17141, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076365761234144, server_state_version:0}) [2022-07-29 14:32:45.765128] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:45.765164] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:45.765208] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17141, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076365761234144, server_state_version:0}) [2022-07-29 14:32:45.765240] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:45.765389] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:32:45.765419] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF1691B1590] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:45.765433] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:45.765452] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:45.765459] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:45.765466] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:45.765470] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:45.765410] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] data is NULL(sm_id=51429, ret=-4152) [2022-07-29 14:32:45.765488] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:45.765574] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51429, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:45.765706] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51134, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:45.765739] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51429) [2022-07-29 14:32:50.635736] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=38] [dc=0] connection accepted(client={172.20.2.46:51362}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:32:50.635874] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51362}) [2022-07-29 14:32:50.635947] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=51137, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51362") [2022-07-29 14:32:50.635987] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=51137, get_transact_count()=0, sm_id=51432) [2022-07-29 14:32:50.636001] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:50.718600] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:50.718627] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] client login audit(client_addr={172.20.2.46:51362}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:50.718644] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:50.718651] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:50.718665] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:32:50.718673] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17142) [2022-07-29 14:32:50.719012] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076370719001, last_valid_time_us:1659076370718752, last_access_time_us:1659076370718752, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:50.719056] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:50.719090] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534786) [2022-07-29 14:32:50.719117] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534786, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:50.719139] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534786, get_transact_count()=0, sm_id=51433) [2022-07-29 14:32:50.719154] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:50.719226] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:50.719326] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] server session born(ss_id=34281, server_ip={172.20.2.118:2881}, cs_id=2147534786, proxy_sessid=0, server_type=1) [2022-07-29 14:32:50.719814] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] succ to set proxy_sessid(cs_id=2147534786, proxy_sessid=12399538384371156457, server_ip={172.20.2.118:2881}, ss_id=34281, server_sessid=3222023439, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41568") [2022-07-29 14:32:50.721859] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51433, cs_id=2147534786, proxy_sessid=12399538384371156457, ss_id=34281, server_sessid=3222023439, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:50.722050] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=169] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51433, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:50.722059] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:50.722063] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51433, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:50.722134] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] server session do_io_close((*this={ss_id:34281, server_sessid:3222023439, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534786, proxy_sessid:12399538384371156457, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534786, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:50.722259] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] server session is closing(ss_id=34281, server_sessid=3222023439, server_ip={172.20.2.118:2881}, cs_id=2147534786, proxy_sessid=12399538384371156457) [2022-07-29 14:32:50.722286] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534786, proxy_sessid=12399538384371156457, client_vc=NULL) [2022-07-29 14:32:50.722311] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] deallocating sm(sm_id=51433) [2022-07-29 14:32:50.722326] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:50.722395] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:50.722462] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:50.722523] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:50.722591] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:50.722660] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:50.722668] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:50.722673] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:50.722780] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:50.722804] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:50.722827] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534787) [2022-07-29 14:32:50.722836] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534787, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:50.722856] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534787, get_transact_count()=0, sm_id=51434) [2022-07-29 14:32:50.722868] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:50.722935] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:50.723030] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34282, server_ip={172.20.2.118:2881}, cs_id=2147534787, proxy_sessid=0, server_type=1) [2022-07-29 14:32:50.723319] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534787, proxy_sessid=12399538384371156458, server_ip={172.20.2.118:2881}, ss_id=34282, server_sessid=3222023440, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41570") [2022-07-29 14:32:50.724827] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] finishing mysql tunnel((sm_id=51434, cs_id=2147534787, proxy_sessid=12399538384371156458, ss_id=34282, server_sessid=3222023440, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:50.724961] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51434, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:50.724967] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:50.724971] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51434, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:50.725035] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] server session do_io_close((*this={ss_id:34282, server_sessid:3222023440, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534787, proxy_sessid:12399538384371156458, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534787, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:50.725140] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=101] [dc=0] server session is closing(ss_id=34282, server_sessid=3222023440, server_ip={172.20.2.118:2881}, cs_id=2147534787, proxy_sessid=12399538384371156458) [2022-07-29 14:32:50.725160] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534787, proxy_sessid=12399538384371156458, client_vc=NULL) [2022-07-29 14:32:50.725171] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51434) [2022-07-29 14:32:50.725183] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:50.725242] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:50.725292] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:50.725351] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:50.725449] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:50.725548] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:50.725565] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17142, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076370722034116, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:50.725595] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17142, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076370722034116, server_state_version:0}) [2022-07-29 14:32:50.725631] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:50.725665] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:50.725708] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17142, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076370722034116, server_state_version:0}) [2022-07-29 14:32:50.725737] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:50.725856] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:32:50.725882] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF169450940] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:50.725896] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:50.725909] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=12] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:50.725916] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:50.725965] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=49] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:50.725971] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:50.725876] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] data is NULL(sm_id=51432, ret=-4152) [2022-07-29 14:32:50.726031] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=154] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:50.726117] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=84] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51432, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:50.726264] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=51137, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:50.726311] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] deallocating sm(sm_id=51432) [2022-07-29 14:32:55.638259] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=65] [dc=0] connection accepted(client={172.20.2.46:51364}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:32:55.638428] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51364}) [2022-07-29 14:32:55.638492] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] client session born(cs_id=51140, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51364") [2022-07-29 14:32:55.638540] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] Starting new transaction using sm(cs_id=51140, get_transact_count()=0, sm_id=51435) [2022-07-29 14:32:55.638558] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:55.723261] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:32:55.723294] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] client login audit(client_addr={172.20.2.46:51364}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:32:55.723316] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:32:55.723327] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:55.723342] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:32:55.723354] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17143) [2022-07-29 14:32:55.723566] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076375723556, last_valid_time_us:1659076375723341, last_access_time_us:1659076375723341, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:32:55.723646] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=79] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:55.723687] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534789) [2022-07-29 14:32:55.723713] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534789, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:55.723738] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534789, get_transact_count()=0, sm_id=51436) [2022-07-29 14:32:55.723761] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:55.723849] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:55.724026] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] server session born(ss_id=34283, server_ip={172.20.2.118:2881}, cs_id=2147534789, proxy_sessid=0, server_type=1) [2022-07-29 14:32:55.724496] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534789, proxy_sessid=12399538384371156459, server_ip={172.20.2.118:2881}, ss_id=34283, server_sessid=3222023441, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41572") [2022-07-29 14:32:55.726113] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51436, cs_id=2147534789, proxy_sessid=12399538384371156459, ss_id=34283, server_sessid=3222023441, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:55.726258] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=125] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51436, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:55.726266] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:55.726271] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51436, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:55.726360] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=86] [dc=0] server session do_io_close((*this={ss_id:34283, server_sessid:3222023441, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534789, proxy_sessid:12399538384371156459, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534789, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:32:55.726518] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=153] [dc=0] server session is closing(ss_id=34283, server_sessid=3222023441, server_ip={172.20.2.118:2881}, cs_id=2147534789, proxy_sessid=12399538384371156459) [2022-07-29 14:32:55.726545] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534789, proxy_sessid=12399538384371156459, client_vc=NULL) [2022-07-29 14:32:55.726562] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51436) [2022-07-29 14:32:55.726577] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:55.726654] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:55.726727] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=73] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:55.726808] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=77] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:55.726884] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:55.726964] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=78] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:55.726972] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:32:55.726977] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:55.727090] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:32:55.727107] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:32:55.727130] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534790) [2022-07-29 14:32:55.727149] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=2147534790, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:32:55.727169] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534790, get_transact_count()=0, sm_id=51437) [2022-07-29 14:32:55.727187] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:32:55.727241] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:32:55.727336] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] server session born(ss_id=34284, server_ip={172.20.2.116:2881}, cs_id=2147534790, proxy_sessid=0, server_type=1) [2022-07-29 14:32:55.728581] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534790, proxy_sessid=12399538384371156460, server_ip={172.20.2.116:2881}, ss_id=34284, server_sessid=3221678818, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36554") [2022-07-29 14:32:55.730215] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] finishing mysql tunnel((sm_id=51437, cs_id=2147534790, proxy_sessid=12399538384371156460, ss_id=34284, server_sessid=3221678818, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:32:55.730431] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=189] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51437, client_vc=0x7ff1684bb5e0) [2022-07-29 14:32:55.730443] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:32:55.730451] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51437, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:32:55.730568] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34284, server_sessid:3221678818, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534790, proxy_sessid:12399538384371156460, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534790, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:32:55.730763] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] server session is closing(ss_id=34284, server_sessid=3221678818, server_ip={172.20.2.116:2881}, cs_id=2147534790, proxy_sessid=12399538384371156460) [2022-07-29 14:32:55.730798] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534790, proxy_sessid=12399538384371156460, client_vc=NULL) [2022-07-29 14:32:55.730834] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] deallocating sm(sm_id=51437) [2022-07-29 14:32:55.730862] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:32:55.731017] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=155] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:32:55.731126] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:32:55.731240] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:32:55.731351] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:32:55.731462] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:32:55.731477] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17143, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076375726864746, server_state_version:0}, pending_list_count=0) [2022-07-29 14:32:55.731511] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17143, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076375726864746, server_state_version:0}) [2022-07-29 14:32:55.731559] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:55.731599] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:32:55.731648] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17143, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076375726864746, server_state_version:0}) [2022-07-29 14:32:55.731682] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:32:55.731838] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:32:55.731861] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF1691B1590] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:32:55.731875] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:55.731886] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=10] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:32:55.731893] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:32:55.731910] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=17] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:32:55.731914] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:32:55.731862] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51435, ret=-4152) [2022-07-29 14:32:55.731988] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=124] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:32:55.732097] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51435, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:32:55.732265] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51140, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:32:55.732316] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51435) [2022-07-29 14:33:00.709961] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=42] [dc=0] connection accepted(client={172.20.2.46:51368}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:33:00.710083] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51368}) [2022-07-29 14:33:00.710142] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client session born(cs_id=51143, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51368") [2022-07-29 14:33:00.710170] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] Starting new transaction using sm(cs_id=51143, get_transact_count()=0, sm_id=51438) [2022-07-29 14:33:00.710201] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:00.795503] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:00.795533] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] client login audit(client_addr={172.20.2.46:51368}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:00.795554] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:00.795571] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:00.795585] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:33:00.795595] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17144) [2022-07-29 14:33:00.795770] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076380795761, last_valid_time_us:1659076380795583, last_access_time_us:1659076380795583, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:00.795842] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:00.795878] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534792) [2022-07-29 14:33:00.795890] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534792, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:00.795914] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534792, get_transact_count()=0, sm_id=51439) [2022-07-29 14:33:00.795962] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:00.796041] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:00.796186] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] server session born(ss_id=34285, server_ip={172.20.2.116:2881}, cs_id=2147534792, proxy_sessid=0, server_type=1) [2022-07-29 14:33:00.796508] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] succ to set proxy_sessid(cs_id=2147534792, proxy_sessid=12399538384371156461, server_ip={172.20.2.116:2881}, ss_id=34285, server_sessid=3221678865, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36556") [2022-07-29 14:33:00.797588] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] finishing mysql tunnel((sm_id=51439, cs_id=2147534792, proxy_sessid=12399538384371156461, ss_id=34285, server_sessid=3221678865, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:00.797729] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=123] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51439, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:00.797737] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:00.797741] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51439, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:00.797818] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] server session do_io_close((*this={ss_id:34285, server_sessid:3221678865, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534792, proxy_sessid:12399538384371156461, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534792, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:00.797958] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=134] [dc=0] server session is closing(ss_id=34285, server_sessid=3221678865, server_ip={172.20.2.116:2881}, cs_id=2147534792, proxy_sessid=12399538384371156461) [2022-07-29 14:33:00.797983] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534792, proxy_sessid=12399538384371156461, client_vc=NULL) [2022-07-29 14:33:00.797998] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51439) [2022-07-29 14:33:00.798022] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:00.798094] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:00.798164] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:00.798239] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:00.798310] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:00.798382] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:00.798390] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:00.798395] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:00.798502] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:00.798517] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:00.798537] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534793) [2022-07-29 14:33:00.798550] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session born(cs_id=2147534793, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:00.798569] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534793, get_transact_count()=0, sm_id=51440) [2022-07-29 14:33:00.798586] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:00.798633] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:00.798719] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] server session born(ss_id=34286, server_ip={172.20.2.118:2881}, cs_id=2147534793, proxy_sessid=0, server_type=1) [2022-07-29 14:33:00.799237] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] succ to set proxy_sessid(cs_id=2147534793, proxy_sessid=12399538384371156462, server_ip={172.20.2.118:2881}, ss_id=34286, server_sessid=3222023442, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41578") [2022-07-29 14:33:00.800989] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] finishing mysql tunnel((sm_id=51440, cs_id=2147534793, proxy_sessid=12399538384371156462, ss_id=34286, server_sessid=3222023442, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:00.801125] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=121] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51440, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:00.801133] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:00.801137] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51440, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:00.801211] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] server session do_io_close((*this={ss_id:34286, server_sessid:3222023442, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534793, proxy_sessid:12399538384371156462, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534793, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:00.801349] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=133] [dc=0] server session is closing(ss_id=34286, server_sessid=3222023442, server_ip={172.20.2.118:2881}, cs_id=2147534793, proxy_sessid=12399538384371156462) [2022-07-29 14:33:00.801371] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534793, proxy_sessid=12399538384371156462, client_vc=NULL) [2022-07-29 14:33:00.801394] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] deallocating sm(sm_id=51440) [2022-07-29 14:33:00.801404] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:00.801467] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:00.801538] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:00.801612] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:00.801683] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:00.801762] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=78] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:00.801771] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17144, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076380797714990, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:00.801784] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17144, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076380797714990, server_state_version:0}) [2022-07-29 14:33:00.801811] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:00.801838] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:00.801866] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17144, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076380797714990, server_state_version:0}) [2022-07-29 14:33:00.801893] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:00.802012] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:33:00.802052] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=21] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:00.802023] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] data is NULL(sm_id=51438, ret=-4152) [2022-07-29 14:33:00.802097] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:00.802122] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:00.802087] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:00.802154] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:00.802169] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:00.802176] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:00.802149] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51438, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:00.802247] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=51143, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:00.802274] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51438) [2022-07-29 14:33:05.954993] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=44] [dc=0] connection accepted(client={172.20.2.46:51372}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:33:05.955135] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51372}) [2022-07-29 14:33:05.955184] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=51146, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51372") [2022-07-29 14:33:05.955223] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=51146, get_transact_count()=0, sm_id=51441) [2022-07-29 14:33:05.955236] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:06.036738] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:06.036782] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] client login audit(client_addr={172.20.2.46:51372}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:06.036811] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:06.036825] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:06.036843] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:33:06.036858] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17145) [2022-07-29 14:33:06.037082] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076386037070, last_valid_time_us:1659076386036841, last_access_time_us:1659076386036841, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:06.037193] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:06.037238] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534795) [2022-07-29 14:33:06.037265] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534795, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:06.037304] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534795, get_transact_count()=0, sm_id=51442) [2022-07-29 14:33:06.037320] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:06.037448] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:06.037627] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session born(ss_id=34287, server_ip={172.20.2.116:2881}, cs_id=2147534795, proxy_sessid=0, server_type=1) [2022-07-29 14:33:06.037950] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534795, proxy_sessid=12399538384371156463, server_ip={172.20.2.116:2881}, ss_id=34287, server_sessid=3221678924, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36560") [2022-07-29 14:33:06.038873] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] finishing mysql tunnel((sm_id=51442, cs_id=2147534795, proxy_sessid=12399538384371156463, ss_id=34287, server_sessid=3221678924, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:06.038964] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=74] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51442, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:06.038970] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:06.038976] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51442, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:06.039015] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session do_io_close((*this={ss_id:34287, server_sessid:3221678924, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534795, proxy_sessid:12399538384371156463, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534795, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:06.039097] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=76] [dc=0] server session is closing(ss_id=34287, server_sessid=3221678924, server_ip={172.20.2.116:2881}, cs_id=2147534795, proxy_sessid=12399538384371156463) [2022-07-29 14:33:06.039117] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534795, proxy_sessid=12399538384371156463, client_vc=NULL) [2022-07-29 14:33:06.039136] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] deallocating sm(sm_id=51442) [2022-07-29 14:33:06.039148] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:06.039185] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:06.039221] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:06.039260] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:06.039297] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:06.039336] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:06.039341] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:06.039345] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:06.039471] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:06.039483] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:06.039503] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534796) [2022-07-29 14:33:06.039516] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=2147534796, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:06.039531] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] Starting new transaction using sm(cs_id=2147534796, get_transact_count()=0, sm_id=51443) [2022-07-29 14:33:06.039542] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:06.039590] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:06.039666] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] server session born(ss_id=34288, server_ip={172.20.2.118:2881}, cs_id=2147534796, proxy_sessid=0, server_type=1) [2022-07-29 14:33:06.040060] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] succ to set proxy_sessid(cs_id=2147534796, proxy_sessid=12399538384371156464, server_ip={172.20.2.118:2881}, ss_id=34288, server_sessid=3222023443, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41582") [2022-07-29 14:33:06.041577] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] finishing mysql tunnel((sm_id=51443, cs_id=2147534796, proxy_sessid=12399538384371156464, ss_id=34288, server_sessid=3222023443, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:06.041647] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51443, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:06.041651] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:06.041654] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51443, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:06.041692] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] server session do_io_close((*this={ss_id:34288, server_sessid:3222023443, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534796, proxy_sessid:12399538384371156464, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534796, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:06.041757] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] server session is closing(ss_id=34288, server_sessid=3222023443, server_ip={172.20.2.118:2881}, cs_id=2147534796, proxy_sessid=12399538384371156464) [2022-07-29 14:33:06.041769] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534796, proxy_sessid=12399538384371156464, client_vc=NULL) [2022-07-29 14:33:06.041776] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51443) [2022-07-29 14:33:06.041789] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:06.041825] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:06.041860] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:06.041897] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:06.041941] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:06.041977] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:06.041983] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17145, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076386039206152, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:06.041996] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17145, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076386039206152, server_state_version:0}) [2022-07-29 14:33:06.042011] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:06.042029] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:06.042054] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17145, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076386039206152, server_state_version:0}) [2022-07-29 14:33:06.042068] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:06.042143] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:33:06.042154] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] data is NULL(sm_id=51441, ret=-4152) [2022-07-29 14:33:06.042187] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1590] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:06.042191] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:06.042222] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51441, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:06.042238] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=43] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:06.042262] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:06.042282] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=51146, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:06.042301] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] deallocating sm(sm_id=51441) [2022-07-29 14:33:06.042300] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:06.042327] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=26] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:06.042334] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:10.945570] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=60] [dc=0] connection accepted(client={172.20.2.46:51376}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:33:10.945707] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51376}) [2022-07-29 14:33:10.945814] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] client session born(cs_id=51149, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51376") [2022-07-29 14:33:10.945859] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51149, get_transact_count()=0, sm_id=51444) [2022-07-29 14:33:10.945889] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:11.029088] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:11.029131] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51376}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:11.029158] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:11.029172] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:11.029189] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:33:11.029203] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17146) [2022-07-29 14:33:11.029400] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076391029389, last_valid_time_us:1659076391029187, last_access_time_us:1659076391029187, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:11.029522] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=119] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:11.029582] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] proxy mysql client session born(cs_id=2147534798) [2022-07-29 14:33:11.029597] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session born(cs_id=2147534798, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:11.029639] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534798, get_transact_count()=0, sm_id=51445) [2022-07-29 14:33:11.029667] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:11.029784] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:11.030038] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34289, server_ip={172.20.2.116:2881}, cs_id=2147534798, proxy_sessid=0, server_type=1) [2022-07-29 14:33:11.030529] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534798, proxy_sessid=12399538384371156465, server_ip={172.20.2.116:2881}, ss_id=34289, server_sessid=3221678966, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36564") [2022-07-29 14:33:11.032061] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=64] [dc=0] finishing mysql tunnel((sm_id=51445, cs_id=2147534798, proxy_sessid=12399538384371156465, ss_id=34289, server_sessid=3221678966, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:11.032276] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=186] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51445, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:11.032301] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:11.032309] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51445, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:11.032426] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34289, server_sessid:3221678966, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534798, proxy_sessid:12399538384371156465, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534798, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:11.032623] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34289, server_sessid=3221678966, server_ip={172.20.2.116:2881}, cs_id=2147534798, proxy_sessid=12399538384371156465) [2022-07-29 14:33:11.032660] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534798, proxy_sessid=12399538384371156465, client_vc=NULL) [2022-07-29 14:33:11.032694] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51445) [2022-07-29 14:33:11.032725] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:11.032838] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:11.032955] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=117] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:11.033070] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:11.033184] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:11.033295] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:11.033306] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:11.033325] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:11.033462] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:11.033484] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:11.033514] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534799) [2022-07-29 14:33:11.033527] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534799, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:11.033563] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534799, get_transact_count()=0, sm_id=51446) [2022-07-29 14:33:11.033587] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:11.033663] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:11.033802] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34290, server_ip={172.20.2.118:2881}, cs_id=2147534799, proxy_sessid=0, server_type=1) [2022-07-29 14:33:11.034238] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534799, proxy_sessid=12399538384371156466, server_ip={172.20.2.118:2881}, ss_id=34290, server_sessid=3222023444, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41586") [2022-07-29 14:33:11.036101] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51446, cs_id=2147534799, proxy_sessid=12399538384371156466, ss_id=34290, server_sessid=3222023444, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:11.036304] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=178] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51446, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:11.036328] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:11.036336] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51446, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:11.036451] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34290, server_sessid:3222023444, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534799, proxy_sessid:12399538384371156466, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534799, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:11.036642] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=183] [dc=0] server session is closing(ss_id=34290, server_sessid=3222023444, server_ip={172.20.2.118:2881}, cs_id=2147534799, proxy_sessid=12399538384371156466) [2022-07-29 14:33:11.036678] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534799, proxy_sessid=12399538384371156466, client_vc=NULL) [2022-07-29 14:33:11.036708] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51446) [2022-07-29 14:33:11.036737] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:11.036847] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:11.036972] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:11.037086] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:11.037198] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:11.037308] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:11.037323] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17146, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076391032954175, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:11.037355] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17146, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076391032954175, server_state_version:0}) [2022-07-29 14:33:11.037402] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:11.037442] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:11.037490] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17146, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076391032954175, server_state_version:0}) [2022-07-29 14:33:11.037523] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:11.037661] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:33:11.037685] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51444, ret=-4152) [2022-07-29 14:33:11.037797] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:11.037906] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51444, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:11.038024] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF1691B2A10] [lt=5] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:11.038050] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:11.038065] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:11.038074] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:11.038081] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:11.038080] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=51149, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:11.038085] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:11.038119] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51444) [2022-07-29 14:33:15.803446] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=48] [dc=0] connection accepted(client={172.20.2.46:51378}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:33:15.803608] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51378}) [2022-07-29 14:33:15.803696] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] client session born(cs_id=51152, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51378") [2022-07-29 14:33:15.803730] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] Starting new transaction using sm(cs_id=51152, get_transact_count()=0, sm_id=51447) [2022-07-29 14:33:15.803793] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:15.888734] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:15.888755] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client login audit(client_addr={172.20.2.46:51378}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:15.888770] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:15.888776] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:15.888785] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:33:15.888792] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17147) [2022-07-29 14:33:15.888928] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076395888909, last_valid_time_us:1659076395888784, last_access_time_us:1659076395888784, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:15.888971] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:15.888999] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534801) [2022-07-29 14:33:15.889006] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] client session born(cs_id=2147534801, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:15.889023] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534801, get_transact_count()=0, sm_id=51448) [2022-07-29 14:33:15.889037] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:15.889107] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:15.889197] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session born(ss_id=34291, server_ip={172.20.2.117:2881}, cs_id=2147534801, proxy_sessid=0, server_type=1) [2022-07-29 14:33:15.889511] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] succ to set proxy_sessid(cs_id=2147534801, proxy_sessid=12399538384371156467, server_ip={172.20.2.117:2881}, ss_id=34291, server_sessid=3221760213, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44634") [2022-07-29 14:33:15.891160] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] finishing mysql tunnel((sm_id=51448, cs_id=2147534801, proxy_sessid=12399538384371156467, ss_id=34291, server_sessid=3221760213, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:15.891244] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51448, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:15.891248] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:15.891251] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51448, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:15.891289] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] server session do_io_close((*this={ss_id:34291, server_sessid:3221760213, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534801, proxy_sessid:12399538384371156467, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534801, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:15.891364] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] server session is closing(ss_id=34291, server_sessid=3221760213, server_ip={172.20.2.117:2881}, cs_id=2147534801, proxy_sessid=12399538384371156467) [2022-07-29 14:33:15.891379] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=2147534801, proxy_sessid=12399538384371156467, client_vc=NULL) [2022-07-29 14:33:15.891389] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] deallocating sm(sm_id=51448) [2022-07-29 14:33:15.891404] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:15.891439] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:15.891469] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:15.891506] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:15.891541] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:15.891577] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:15.891581] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:15.891587] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:15.891675] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:15.891684] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:15.891697] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534802) [2022-07-29 14:33:15.891702] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] client session born(cs_id=2147534802, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:15.891717] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534802, get_transact_count()=0, sm_id=51449) [2022-07-29 14:33:15.891722] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:15.891753] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:15.891811] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] server session born(ss_id=34292, server_ip={172.20.2.118:2881}, cs_id=2147534802, proxy_sessid=0, server_type=1) [2022-07-29 14:33:15.892639] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] succ to set proxy_sessid(cs_id=2147534802, proxy_sessid=12399538384371156468, server_ip={172.20.2.118:2881}, ss_id=34292, server_sessid=3222023445, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41590") [2022-07-29 14:33:15.894059] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51449, cs_id=2147534802, proxy_sessid=12399538384371156468, ss_id=34292, server_sessid=3222023445, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:15.894268] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51449, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:15.894294] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:15.894302] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51449, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:15.894418] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34292, server_sessid:3222023445, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534802, proxy_sessid:12399538384371156468, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534802, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:15.894623] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=194] [dc=0] server session is closing(ss_id=34292, server_sessid=3222023445, server_ip={172.20.2.118:2881}, cs_id=2147534802, proxy_sessid=12399538384371156468) [2022-07-29 14:33:15.894661] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534802, proxy_sessid=12399538384371156468, client_vc=NULL) [2022-07-29 14:33:15.894696] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51449) [2022-07-29 14:33:15.894717] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:15.894828] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:15.894958] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=129] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:15.895072] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:15.895182] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:15.895293] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:15.895319] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17147, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076395891234341, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:15.895353] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17147, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076395891234341, server_state_version:0}) [2022-07-29 14:33:15.895399] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:15.895439] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:15.895488] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17147, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076395891234341, server_state_version:0}) [2022-07-29 14:33:15.895523] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:15.895665] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:33:15.895713] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:15.895726] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:15.895736] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:15.895741] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:15.895747] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:15.895750] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:15.895689] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51447, ret=-4152) [2022-07-29 14:33:15.895801] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:15.895910] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51447, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:15.896098] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=51152, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:15.896152] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51447) [2022-07-29 14:33:20.796393] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51382}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:33:20.796529] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51382}) [2022-07-29 14:33:20.796601] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session born(cs_id=51155, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51382") [2022-07-29 14:33:20.796647] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=51155, get_transact_count()=0, sm_id=51450) [2022-07-29 14:33:20.796669] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:20.872326] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:20.872359] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] client login audit(client_addr={172.20.2.46:51382}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:20.872381] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:20.872392] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:20.872415] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:33:20.872426] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17148) [2022-07-29 14:33:20.872588] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076400872579, last_valid_time_us:1659076400872413, last_access_time_us:1659076400872413, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:20.872668] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=78] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:20.872729] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534804) [2022-07-29 14:33:20.872753] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534804, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:20.872780] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534804, get_transact_count()=0, sm_id=51451) [2022-07-29 14:33:20.872802] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:20.872898] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:20.873188] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=130] [dc=0] server session born(ss_id=34293, server_ip={172.20.2.116:2881}, cs_id=2147534804, proxy_sessid=0, server_type=1) [2022-07-29 14:33:20.873563] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] succ to set proxy_sessid(cs_id=2147534804, proxy_sessid=12399538384371156469, server_ip={172.20.2.116:2881}, ss_id=34293, server_sessid=3221679054, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36572") [2022-07-29 14:33:20.874954] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=86] [dc=0] finishing mysql tunnel((sm_id=51451, cs_id=2147534804, proxy_sessid=12399538384371156469, ss_id=34293, server_sessid=3221679054, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:20.875172] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51451, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:20.875196] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:20.875203] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51451, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:20.875321] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34293, server_sessid:3221679054, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534804, proxy_sessid:12399538384371156469, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534804, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:20.875520] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] server session is closing(ss_id=34293, server_sessid=3221679054, server_ip={172.20.2.116:2881}, cs_id=2147534804, proxy_sessid=12399538384371156469) [2022-07-29 14:33:20.875557] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534804, proxy_sessid=12399538384371156469, client_vc=NULL) [2022-07-29 14:33:20.875592] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51451) [2022-07-29 14:33:20.875623] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:20.875736] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:20.875843] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:20.875962] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:20.876077] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:20.876188] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:20.876199] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:20.876207] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:20.876284] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:20.876308] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:20.876337] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534805) [2022-07-29 14:33:20.876362] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534805, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:20.876398] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534805, get_transact_count()=0, sm_id=51452) [2022-07-29 14:33:20.876410] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:20.876496] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:20.876630] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34294, server_ip={172.20.2.117:2881}, cs_id=2147534805, proxy_sessid=0, server_type=1) [2022-07-29 14:33:20.878258] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534805, proxy_sessid=12399538384371156470, server_ip={172.20.2.117:2881}, ss_id=34294, server_sessid=3221760216, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44640") [2022-07-29 14:33:20.879550] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] finishing mysql tunnel((sm_id=51452, cs_id=2147534805, proxy_sessid=12399538384371156470, ss_id=34294, server_sessid=3221760216, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:20.879745] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=173] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51452, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:20.879766] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:20.879774] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51452, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:20.879888] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] server session do_io_close((*this={ss_id:34294, server_sessid:3221760216, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534805, proxy_sessid:12399538384371156470, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534805, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:20.880091] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=197] [dc=0] server session is closing(ss_id=34294, server_sessid=3221760216, server_ip={172.20.2.117:2881}, cs_id=2147534805, proxy_sessid=12399538384371156470) [2022-07-29 14:33:20.880123] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534805, proxy_sessid=12399538384371156470, client_vc=NULL) [2022-07-29 14:33:20.880153] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51452) [2022-07-29 14:33:20.880180] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:20.880290] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:20.880398] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:20.880510] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:20.880621] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:20.880732] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:20.880746] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17148, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076400876191257, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:20.880778] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17148, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076400876191257, server_state_version:0}) [2022-07-29 14:33:20.880814] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:20.880851] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:20.880899] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17148, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076400876191257, server_state_version:0}) [2022-07-29 14:33:20.880940] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:20.881082] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:33:20.881108] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] data is NULL(sm_id=51450, ret=-4152) [2022-07-29 14:33:20.881219] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:20.881330] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51450, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:20.881506] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51155, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:20.881555] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51450) [2022-07-29 14:33:20.881638] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF1691B2A10] [lt=28] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:20.881666] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:20.881695] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:20.881729] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=31] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:20.881754] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:20.881760] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:36.005855] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51388}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:33:36.006168] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51388}) [2022-07-29 14:33:36.006258] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] client session born(cs_id=51158, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51388") [2022-07-29 14:33:36.006306] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51158, get_transact_count()=0, sm_id=51453) [2022-07-29 14:33:36.006348] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:36.091134] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:36.091179] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client login audit(client_addr={172.20.2.46:51388}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:36.091206] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:36.091221] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:36.091238] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:33:36.091252] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17149) [2022-07-29 14:33:36.091455] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076416091445, last_valid_time_us:1659076416091237, last_access_time_us:1659076416091237, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:36.091561] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:36.091607] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534807) [2022-07-29 14:33:36.091623] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session born(cs_id=2147534807, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:36.091653] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534807, get_transact_count()=0, sm_id=51454) [2022-07-29 14:33:36.091676] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:36.091778] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:36.091985] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34295, server_ip={172.20.2.116:2881}, cs_id=2147534807, proxy_sessid=0, server_type=1) [2022-07-29 14:33:36.092305] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534807, proxy_sessid=12399538384371156471, server_ip={172.20.2.116:2881}, ss_id=34295, server_sessid=3221679211, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36576") [2022-07-29 14:33:36.093340] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51454, cs_id=2147534807, proxy_sessid=12399538384371156471, ss_id=34295, server_sessid=3221679211, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:36.093546] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=180] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51454, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:36.093568] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:36.093576] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51454, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:36.093691] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34295, server_sessid:3221679211, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534807, proxy_sessid:12399538384371156471, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534807, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:36.093886] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=188] [dc=0] server session is closing(ss_id=34295, server_sessid=3221679211, server_ip={172.20.2.116:2881}, cs_id=2147534807, proxy_sessid=12399538384371156471) [2022-07-29 14:33:36.093963] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534807, proxy_sessid=12399538384371156471, client_vc=NULL) [2022-07-29 14:33:36.093996] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51454) [2022-07-29 14:33:36.094016] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:36.094127] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:36.094235] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:36.094350] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:36.094463] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:36.094573] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:36.094585] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:36.094604] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:36.094681] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:36.094704] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:36.094732] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534808) [2022-07-29 14:33:36.094757] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534808, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:36.094819] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] Starting new transaction using sm(cs_id=2147534808, get_transact_count()=0, sm_id=51455) [2022-07-29 14:33:36.094832] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:36.094956] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:36.095098] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] server session born(ss_id=34296, server_ip={172.20.2.118:2881}, cs_id=2147534808, proxy_sessid=0, server_type=1) [2022-07-29 14:33:36.095566] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534808, proxy_sessid=12399538384371156472, server_ip={172.20.2.118:2881}, ss_id=34296, server_sessid=3222023446, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41598") [2022-07-29 14:33:36.097447] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51455, cs_id=2147534808, proxy_sessid=12399538384371156472, ss_id=34296, server_sessid=3222023446, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:36.097657] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=182] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51455, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:36.097670] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:36.097679] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51455, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:36.097794] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34296, server_sessid:3222023446, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534808, proxy_sessid:12399538384371156472, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534808, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:36.098018] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=216] [dc=0] server session is closing(ss_id=34296, server_sessid=3222023446, server_ip={172.20.2.118:2881}, cs_id=2147534808, proxy_sessid=12399538384371156472) [2022-07-29 14:33:36.098053] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534808, proxy_sessid=12399538384371156472, client_vc=NULL) [2022-07-29 14:33:36.098073] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51455) [2022-07-29 14:33:36.098090] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:36.098200] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:36.098309] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:36.098422] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:36.098531] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:36.098641] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:36.098656] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17149, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076416093526103, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:36.098692] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17149, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076416093526103, server_state_version:0}) [2022-07-29 14:33:36.098727] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:36.098767] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:36.098804] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17149, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076416093526103, server_state_version:0}) [2022-07-29 14:33:36.098827] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:36.098989] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:33:36.099025] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF169450940] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:36.099045] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:36.099078] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=32] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:36.099090] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:36.099013] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51453, ret=-4152) [2022-07-29 14:33:36.099115] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:36.099122] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:36.099113] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:36.099223] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51453, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:36.099388] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51158, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:36.099439] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51453) [2022-07-29 14:33:41.057879] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=52] [dc=0] connection accepted(client={172.20.2.46:51392}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:33:41.057988] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51392}) [2022-07-29 14:33:41.058024] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session born(cs_id=51161, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51392") [2022-07-29 14:33:41.058048] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=51161, get_transact_count()=0, sm_id=51456) [2022-07-29 14:33:41.058063] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:41.144014] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:41.144052] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] client login audit(client_addr={172.20.2.46:51392}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:41.144079] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:41.144092] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:41.144109] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:33:41.144123] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17150) [2022-07-29 14:33:41.144314] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076421144303, last_valid_time_us:1659076421144107, last_access_time_us:1659076421144107, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:41.144411] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=95] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:41.144453] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534810) [2022-07-29 14:33:41.144468] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534810, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:41.144496] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534810, get_transact_count()=0, sm_id=51457) [2022-07-29 14:33:41.144511] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:41.144623] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:41.144783] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34297, server_ip={172.20.2.116:2881}, cs_id=2147534810, proxy_sessid=0, server_type=1) [2022-07-29 14:33:41.145340] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] succ to set proxy_sessid(cs_id=2147534810, proxy_sessid=12399538384371156473, server_ip={172.20.2.116:2881}, ss_id=34297, server_sessid=3221679254, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36580") [2022-07-29 14:33:41.146884] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] finishing mysql tunnel((sm_id=51457, cs_id=2147534810, proxy_sessid=12399538384371156473, ss_id=34297, server_sessid=3221679254, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:41.147121] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=207] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51457, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:41.147134] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:41.147142] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51457, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:41.147259] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34297, server_sessid:3221679254, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534810, proxy_sessid:12399538384371156473, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534810, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:41.147459] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] server session is closing(ss_id=34297, server_sessid=3221679254, server_ip={172.20.2.116:2881}, cs_id=2147534810, proxy_sessid=12399538384371156473) [2022-07-29 14:33:41.147497] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534810, proxy_sessid=12399538384371156473, client_vc=NULL) [2022-07-29 14:33:41.147520] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51457) [2022-07-29 14:33:41.147540] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:41.147651] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:41.147761] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:41.147876] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:41.148001] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=125] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:41.148113] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:41.148125] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:41.148134] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:41.148263] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:41.148286] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:41.148316] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534811) [2022-07-29 14:33:41.148344] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client session born(cs_id=2147534811, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:41.148369] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534811, get_transact_count()=0, sm_id=51458) [2022-07-29 14:33:41.148395] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:41.148473] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:41.148613] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34298, server_ip={172.20.2.118:2881}, cs_id=2147534811, proxy_sessid=0, server_type=1) [2022-07-29 14:33:41.149160] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534811, proxy_sessid=12399538384371156474, server_ip={172.20.2.118:2881}, ss_id=34298, server_sessid=3222023447, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41602") [2022-07-29 14:33:41.151242] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=63] [dc=0] finishing mysql tunnel((sm_id=51458, cs_id=2147534811, proxy_sessid=12399538384371156474, ss_id=34298, server_sessid=3222023447, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:41.151488] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=219] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51458, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:41.151507] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:41.151515] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51458, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:41.151631] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34298, server_sessid:3222023447, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534811, proxy_sessid:12399538384371156474, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534811, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:41.151828] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=188] [dc=0] server session is closing(ss_id=34298, server_sessid=3222023447, server_ip={172.20.2.118:2881}, cs_id=2147534811, proxy_sessid=12399538384371156474) [2022-07-29 14:33:41.151862] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534811, proxy_sessid=12399538384371156474, client_vc=NULL) [2022-07-29 14:33:41.151896] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51458) [2022-07-29 14:33:41.151945] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:41.152056] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:41.152164] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:41.152276] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:41.152390] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:41.152501] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:41.152516] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17150, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076421147538727, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:41.152542] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17150, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076421147538727, server_state_version:0}) [2022-07-29 14:33:41.152578] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:41.152617] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:41.152670] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17150, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076421147538727, server_state_version:0}) [2022-07-29 14:33:41.152706] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:41.152891] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:33:41.152954] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF1691B2A10] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:41.153001] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:41.152915] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51456, ret=-4152) [2022-07-29 14:33:41.153037] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:41.153051] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:41.153064] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:41.153076] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=11] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:41.153031] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:41.153140] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51456, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:41.153316] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client session destroy(cs_id=51161, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:41.153369] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51456) [2022-07-29 14:33:45.888247] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=55] [dc=0] connection accepted(client={172.20.2.46:51394}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:33:45.888416] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51394}) [2022-07-29 14:33:45.888515] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=51164, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51394") [2022-07-29 14:33:45.888564] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51164, get_transact_count()=0, sm_id=51459) [2022-07-29 14:33:45.888594] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:45.963348] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:45.963370] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client login audit(client_addr={172.20.2.46:51394}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:45.963383] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:45.963389] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:45.963399] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:33:45.963405] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17151) [2022-07-29 14:33:45.963531] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076425963523, last_valid_time_us:1659076425963398, last_access_time_us:1659076425963398, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:45.963575] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=42] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:45.963602] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] proxy mysql client session born(cs_id=2147534813) [2022-07-29 14:33:45.963610] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534813, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:45.963631] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534813, get_transact_count()=0, sm_id=51460) [2022-07-29 14:33:45.963646] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:45.963726] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:45.963822] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] server session born(ss_id=34299, server_ip={172.20.2.116:2881}, cs_id=2147534813, proxy_sessid=0, server_type=1) [2022-07-29 14:33:45.964263] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534813, proxy_sessid=12399538384371156475, server_ip={172.20.2.116:2881}, ss_id=34299, server_sessid=3221679305, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36584") [2022-07-29 14:33:45.965900] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51460, cs_id=2147534813, proxy_sessid=12399538384371156475, ss_id=34299, server_sessid=3221679305, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:45.966137] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=207] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51460, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:45.966150] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:45.966157] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51460, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:45.966276] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=115] [dc=0] server session do_io_close((*this={ss_id:34299, server_sessid:3221679305, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534813, proxy_sessid:12399538384371156475, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534813, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:45.966476] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34299, server_sessid=3221679305, server_ip={172.20.2.116:2881}, cs_id=2147534813, proxy_sessid=12399538384371156475) [2022-07-29 14:33:45.966524] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534813, proxy_sessid=12399538384371156475, client_vc=NULL) [2022-07-29 14:33:45.966575] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] deallocating sm(sm_id=51460) [2022-07-29 14:33:45.966605] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:45.966718] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:45.966828] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:45.966955] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=123] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:45.967079] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=124] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:45.967191] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:45.967204] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:45.967211] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:45.967349] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:45.967373] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:45.967406] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534814) [2022-07-29 14:33:45.967432] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534814, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:45.967469] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534814, get_transact_count()=0, sm_id=51461) [2022-07-29 14:33:45.967494] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:45.967578] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:45.967728] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34300, server_ip={172.20.2.117:2881}, cs_id=2147534814, proxy_sessid=0, server_type=1) [2022-07-29 14:33:45.968053] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534814, proxy_sessid=12399538384371156476, server_ip={172.20.2.117:2881}, ss_id=34300, server_sessid=3221760231, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44652") [2022-07-29 14:33:45.969062] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] finishing mysql tunnel((sm_id=51461, cs_id=2147534814, proxy_sessid=12399538384371156476, ss_id=34300, server_sessid=3221760231, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:45.969146] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51461, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:45.969154] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:45.969157] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=2] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51461, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:45.969225] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] server session do_io_close((*this={ss_id:34300, server_sessid:3221760231, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534814, proxy_sessid:12399538384371156476, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534814, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:45.969328] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] server session is closing(ss_id=34300, server_sessid=3221760231, server_ip={172.20.2.117:2881}, cs_id=2147534814, proxy_sessid=12399538384371156476) [2022-07-29 14:33:45.969347] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534814, proxy_sessid=12399538384371156476, client_vc=NULL) [2022-07-29 14:33:45.969358] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51461) [2022-07-29 14:33:45.969367] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:45.969425] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:45.969482] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:45.969540] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:45.969593] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:45.969652] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:45.969662] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17151, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076425966450954, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:45.969674] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17151, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076425966450954, server_state_version:0}) [2022-07-29 14:33:45.969708] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:45.969726] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:45.969758] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17151, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076425966450954, server_state_version:0}) [2022-07-29 14:33:45.969779] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:45.969877] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:33:45.969907] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF169450940] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:45.969892] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] data is NULL(sm_id=51459, ret=-4152) [2022-07-29 14:33:45.969944] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=33] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:45.969959] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:45.969968] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:45.969978] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:45.969982] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:45.969952] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:45.970010] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51459, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:45.970102] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session destroy(cs_id=51164, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:45.970127] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51459) [2022-07-29 14:33:50.888163] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=62] [dc=0] connection accepted(client={172.20.2.46:51398}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:33:50.888305] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51398}) [2022-07-29 14:33:50.888405] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session born(cs_id=51167, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51398") [2022-07-29 14:33:50.888473] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=51167, get_transact_count()=0, sm_id=51462) [2022-07-29 14:33:50.888493] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:50.973286] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:50.973338] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51398}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:50.973367] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:50.973381] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:50.973398] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:33:50.973439] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17152) [2022-07-29 14:33:50.973656] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076430973645, last_valid_time_us:1659076430973396, last_access_time_us:1659076430973396, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:50.973773] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=115] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:50.973821] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534816) [2022-07-29 14:33:50.973849] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534816, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:50.973890] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534816, get_transact_count()=0, sm_id=51463) [2022-07-29 14:33:50.973963] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:50.974127] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:50.974400] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34301, server_ip={172.20.2.117:2881}, cs_id=2147534816, proxy_sessid=0, server_type=1) [2022-07-29 14:33:50.974854] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] succ to set proxy_sessid(cs_id=2147534816, proxy_sessid=12399538384371156477, server_ip={172.20.2.117:2881}, ss_id=34301, server_sessid=3221760235, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44654") [2022-07-29 14:33:50.976540] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51463, cs_id=2147534816, proxy_sessid=12399538384371156477, ss_id=34301, server_sessid=3221760235, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:50.976720] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=131] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51463, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:50.976742] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:50.976752] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51463, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:50.976849] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] server session do_io_close((*this={ss_id:34301, server_sessid:3221760235, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534816, proxy_sessid:12399538384371156477, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534816, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:50.977029] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=166] [dc=0] server session is closing(ss_id=34301, server_sessid=3221760235, server_ip={172.20.2.117:2881}, cs_id=2147534816, proxy_sessid=12399538384371156477) [2022-07-29 14:33:50.977091] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534816, proxy_sessid=12399538384371156477, client_vc=NULL) [2022-07-29 14:33:50.977144] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] deallocating sm(sm_id=51463) [2022-07-29 14:33:50.977174] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:50.977248] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:50.977321] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:50.977396] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:50.977470] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:50.977543] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=71] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:50.977552] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:50.977565] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:50.977770] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:50.977788] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:50.977817] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534817) [2022-07-29 14:33:50.977835] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session born(cs_id=2147534817, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:50.977863] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534817, get_transact_count()=0, sm_id=51464) [2022-07-29 14:33:50.977880] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:50.977966] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:50.978106] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] server session born(ss_id=34302, server_ip={172.20.2.118:2881}, cs_id=2147534817, proxy_sessid=0, server_type=1) [2022-07-29 14:33:50.978763] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] succ to set proxy_sessid(cs_id=2147534817, proxy_sessid=12399538384371156478, server_ip={172.20.2.118:2881}, ss_id=34302, server_sessid=3222023448, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41610") [2022-07-29 14:33:50.980838] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51464, cs_id=2147534817, proxy_sessid=12399538384371156478, ss_id=34302, server_sessid=3222023448, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:50.981050] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=154] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51464, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:50.981073] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:50.981080] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51464, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:50.981173] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] server session do_io_close((*this={ss_id:34302, server_sessid:3222023448, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534817, proxy_sessid:12399538384371156478, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534817, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:50.981336] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=153] [dc=0] server session is closing(ss_id=34302, server_sessid=3222023448, server_ip={172.20.2.118:2881}, cs_id=2147534817, proxy_sessid=12399538384371156478) [2022-07-29 14:33:50.981376] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session destroy(cs_id=2147534817, proxy_sessid=12399538384371156478, client_vc=NULL) [2022-07-29 14:33:50.981409] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51464) [2022-07-29 14:33:50.981427] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:50.981515] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:50.981601] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=85] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:50.981693] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:50.981781] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:50.981869] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=86] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:50.981884] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17152, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076430976676968, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:50.981934] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17152, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076430976676968, server_state_version:0}) [2022-07-29 14:33:50.981975] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:50.982012] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:50.982046] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17152, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076430976676968, server_state_version:0}) [2022-07-29 14:33:50.982067] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:50.982198] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:33:50.982262] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF1691B2A10] [lt=10] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:50.982226] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] data is NULL(sm_id=51462, ret=-4152) [2022-07-29 14:33:50.982291] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:50.982308] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:50.982318] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:50.982328] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:50.982332] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:50.982320] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=87] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:50.982414] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=86] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51462, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:50.982581] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=51167, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:50.982630] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51462) [2022-07-29 14:33:56.013913] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=64] [dc=0] connection accepted(client={172.20.2.46:51400}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:33:56.014135] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51400}) [2022-07-29 14:33:56.014219] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=51170, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51400") [2022-07-29 14:33:56.014264] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51170, get_transact_count()=0, sm_id=51465) [2022-07-29 14:33:56.014295] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:56.126898] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:33:56.127005] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] client login audit(client_addr={172.20.2.46:51400}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:33:56.127033] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:33:56.127047] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:56.127065] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:33:56.127094] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17153) [2022-07-29 14:33:56.127293] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076436127282, last_valid_time_us:1659076436127128, last_access_time_us:1659076436127128, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:33:56.127398] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:56.127808] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534819) [2022-07-29 14:33:56.127825] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session born(cs_id=2147534819, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:56.127869] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534819, get_transact_count()=0, sm_id=51466) [2022-07-29 14:33:56.127898] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:56.128040] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:56.128212] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] server session born(ss_id=34303, server_ip={172.20.2.116:2881}, cs_id=2147534819, proxy_sessid=0, server_type=1) [2022-07-29 14:33:56.128661] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534819, proxy_sessid=12399538384371156479, server_ip={172.20.2.116:2881}, ss_id=34303, server_sessid=3221679425, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36592") [2022-07-29 14:33:56.129760] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51466, cs_id=2147534819, proxy_sessid=12399538384371156479, ss_id=34303, server_sessid=3221679425, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:56.130007] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=220] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51466, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:56.130031] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:56.130050] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51466, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:56.130168] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34303, server_sessid:3221679425, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534819, proxy_sessid:12399538384371156479, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534819, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:33:56.130365] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=188] [dc=0] server session is closing(ss_id=34303, server_sessid=3221679425, server_ip={172.20.2.116:2881}, cs_id=2147534819, proxy_sessid=12399538384371156479) [2022-07-29 14:33:56.130402] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534819, proxy_sessid=12399538384371156479, client_vc=NULL) [2022-07-29 14:33:56.130424] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] deallocating sm(sm_id=51466) [2022-07-29 14:33:56.130442] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:56.130556] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:56.130666] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:56.130779] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:56.130890] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:56.131014] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:56.131026] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:33:56.131034] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:56.131176] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:33:56.131200] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:33:56.131229] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534820) [2022-07-29 14:33:56.131241] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session born(cs_id=2147534820, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:33:56.131278] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534820, get_transact_count()=0, sm_id=51467) [2022-07-29 14:33:56.131301] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:33:56.131389] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:33:56.131525] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34304, server_ip={172.20.2.116:2881}, cs_id=2147534820, proxy_sessid=0, server_type=1) [2022-07-29 14:33:56.131999] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534820, proxy_sessid=12399538384371156480, server_ip={172.20.2.116:2881}, ss_id=34304, server_sessid=3221679426, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36594") [2022-07-29 14:33:56.132909] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51467, cs_id=2147534820, proxy_sessid=12399538384371156480, ss_id=34304, server_sessid=3221679426, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:33:56.133133] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=196] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51467, client_vc=0x7ff1684bb5e0) [2022-07-29 14:33:56.133178] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:33:56.133198] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51467, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:33:56.133314] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34304, server_sessid:3221679426, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534820, proxy_sessid:12399538384371156480, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534820, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:33:56.133507] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=184] [dc=0] server session is closing(ss_id=34304, server_sessid=3221679426, server_ip={172.20.2.116:2881}, cs_id=2147534820, proxy_sessid=12399538384371156480) [2022-07-29 14:33:56.133541] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534820, proxy_sessid=12399538384371156480, client_vc=NULL) [2022-07-29 14:33:56.133573] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51467) [2022-07-29 14:33:56.133601] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:33:56.133711] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:33:56.133819] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:33:56.133946] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=123] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:33:56.134058] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:33:56.134193] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=133] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:33:56.134218] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17153, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076436131036365, server_state_version:0}, pending_list_count=0) [2022-07-29 14:33:56.134252] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17153, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076436131036365, server_state_version:0}) [2022-07-29 14:33:56.134288] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:56.134326] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:33:56.134376] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17153, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076436131036365, server_state_version:0}) [2022-07-29 14:33:56.134410] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:33:56.134600] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:33:56.134631] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF169450940] [lt=22] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:33:56.134650] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:56.134667] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:33:56.134673] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:33:56.134682] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:33:56.134685] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:33:56.134625] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51465, ret=-4152) [2022-07-29 14:33:56.134736] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:33:56.134844] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51465, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:33:56.135050] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51170, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:33:56.135101] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51465) [2022-07-29 14:34:01.071900] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51404}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:34:01.072050] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51404}) [2022-07-29 14:34:01.072122] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client session born(cs_id=51173, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51404") [2022-07-29 14:34:01.072181] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] Starting new transaction using sm(cs_id=51173, get_transact_count()=0, sm_id=51468) [2022-07-29 14:34:01.072212] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:01.148697] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:01.148737] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51404}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:01.148765] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:01.148780] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:01.148798] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:34:01.148826] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17154) [2022-07-29 14:34:01.149046] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076441149035, last_valid_time_us:1659076441148939, last_access_time_us:1659076441148939, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:01.149152] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:01.149199] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534822) [2022-07-29 14:34:01.149228] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534822, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:01.149257] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534822, get_transact_count()=0, sm_id=51469) [2022-07-29 14:34:01.149285] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:01.149397] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:01.149590] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34305, server_ip={172.20.2.118:2881}, cs_id=2147534822, proxy_sessid=0, server_type=1) [2022-07-29 14:34:01.150083] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] succ to set proxy_sessid(cs_id=2147534822, proxy_sessid=12399538384371156481, server_ip={172.20.2.118:2881}, ss_id=34305, server_sessid=3222023449, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41616") [2022-07-29 14:34:01.152114] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] finishing mysql tunnel((sm_id=51469, cs_id=2147534822, proxy_sessid=12399538384371156481, ss_id=34305, server_sessid=3222023449, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:01.152328] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=182] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51469, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:01.152340] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:01.152354] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51469, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:01.152470] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34305, server_sessid:3222023449, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534822, proxy_sessid:12399538384371156481, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534822, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:01.152672] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=191] [dc=0] server session is closing(ss_id=34305, server_sessid=3222023449, server_ip={172.20.2.118:2881}, cs_id=2147534822, proxy_sessid=12399538384371156481) [2022-07-29 14:34:01.152711] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534822, proxy_sessid=12399538384371156481, client_vc=NULL) [2022-07-29 14:34:01.152748] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51469) [2022-07-29 14:34:01.152768] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:01.152880] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:01.153030] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=150] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:01.153144] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:01.153255] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:01.153366] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:01.153378] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:01.153385] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:01.153539] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:01.153561] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:01.153593] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534823) [2022-07-29 14:34:01.153619] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534823, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:01.153654] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534823, get_transact_count()=0, sm_id=51470) [2022-07-29 14:34:01.153678] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:01.153758] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:01.153905] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34306, server_ip={172.20.2.117:2881}, cs_id=2147534823, proxy_sessid=0, server_type=1) [2022-07-29 14:34:01.154380] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] succ to set proxy_sessid(cs_id=2147534823, proxy_sessid=12399538384371156482, server_ip={172.20.2.117:2881}, ss_id=34306, server_sessid=3221760244, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44664") [2022-07-29 14:34:01.155896] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] finishing mysql tunnel((sm_id=51470, cs_id=2147534823, proxy_sessid=12399538384371156482, ss_id=34306, server_sessid=3221760244, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:01.156109] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51470, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:01.156120] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:01.156126] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51470, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:01.156241] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34306, server_sessid:3221760244, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534823, proxy_sessid:12399538384371156482, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534823, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:01.156426] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=178] [dc=0] server session is closing(ss_id=34306, server_sessid=3221760244, server_ip={172.20.2.117:2881}, cs_id=2147534823, proxy_sessid=12399538384371156482) [2022-07-29 14:34:01.156468] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534823, proxy_sessid=12399538384371156482, client_vc=NULL) [2022-07-29 14:34:01.156498] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51470) [2022-07-29 14:34:01.156526] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:01.156638] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:01.156745] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=107] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:01.156858] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:01.156984] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=126] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:01.157096] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:01.157110] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17154, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076441152856053, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:01.157137] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17154, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076441152856053, server_state_version:0}) [2022-07-29 14:34:01.157186] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:01.157212] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:01.157260] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17154, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076441152856053, server_state_version:0}) [2022-07-29 14:34:01.157294] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:01.157402] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:34:01.157425] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] data is NULL(sm_id=51468, ret=-4152) [2022-07-29 14:34:01.157536] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:01.157646] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51468, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:01.157809] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51173, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:01.157858] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51468) [2022-07-29 14:34:01.157883] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF1691B2A10] [lt=18] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:01.157909] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:01.157940] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=29] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:01.157949] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:01.157960] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:01.157967] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:05.997331] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=100] [dc=0] connection accepted(client={172.20.2.46:51408}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:34:05.997522] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51408}) [2022-07-29 14:34:05.997613] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=51176, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51408") [2022-07-29 14:34:05.997659] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51176, get_transact_count()=0, sm_id=51471) [2022-07-29 14:34:05.997690] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:06.078654] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:06.078693] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=37] [dc=0] client login audit(client_addr={172.20.2.46:51408}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:06.078721] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:06.078735] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:06.078753] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:34:06.078767] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17155) [2022-07-29 14:34:06.078979] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076446078968, last_valid_time_us:1659076446078822, last_access_time_us:1659076446078822, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:06.079086] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:06.079133] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534825) [2022-07-29 14:34:06.079161] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534825, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:06.079204] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534825, get_transact_count()=0, sm_id=51472) [2022-07-29 14:34:06.079231] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:06.079375] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:06.079574] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34307, server_ip={172.20.2.117:2881}, cs_id=2147534825, proxy_sessid=0, server_type=1) [2022-07-29 14:34:06.080007] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534825, proxy_sessid=12399538384371156483, server_ip={172.20.2.117:2881}, ss_id=34307, server_sessid=3221760247, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44666") [2022-07-29 14:34:06.081313] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51472, cs_id=2147534825, proxy_sessid=12399538384371156483, ss_id=34307, server_sessid=3221760247, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:06.081536] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=194] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51472, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:06.081549] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:06.081563] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51472, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:06.081682] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=115] [dc=0] server session do_io_close((*this={ss_id:34307, server_sessid:3221760247, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534825, proxy_sessid:12399538384371156483, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534825, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:06.081884] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=192] [dc=0] server session is closing(ss_id=34307, server_sessid=3221760247, server_ip={172.20.2.117:2881}, cs_id=2147534825, proxy_sessid=12399538384371156483) [2022-07-29 14:34:06.081958] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534825, proxy_sessid=12399538384371156483, client_vc=NULL) [2022-07-29 14:34:06.081993] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51472) [2022-07-29 14:34:06.082013] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:06.082126] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:06.082237] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:06.082350] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:06.082460] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:06.082571] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:06.082594] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:06.082602] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:06.082747] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:06.082770] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:06.082802] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534826) [2022-07-29 14:34:06.082829] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534826, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:06.082852] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534826, get_transact_count()=0, sm_id=51473) [2022-07-29 14:34:06.082876] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:06.082986] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:06.083135] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=43] [dc=0] server session born(ss_id=34308, server_ip={172.20.2.118:2881}, cs_id=2147534826, proxy_sessid=0, server_type=1) [2022-07-29 14:34:06.083619] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534826, proxy_sessid=12399538384371156484, server_ip={172.20.2.118:2881}, ss_id=34308, server_sessid=3222023450, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41622") [2022-07-29 14:34:06.085534] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] finishing mysql tunnel((sm_id=51473, cs_id=2147534826, proxy_sessid=12399538384371156484, ss_id=34308, server_sessid=3222023450, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:06.085737] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=178] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51473, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:06.085749] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:06.085757] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51473, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:06.085873] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34308, server_sessid:3222023450, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534826, proxy_sessid:12399538384371156484, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534826, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:06.086104] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=223] [dc=0] server session is closing(ss_id=34308, server_sessid=3222023450, server_ip={172.20.2.118:2881}, cs_id=2147534826, proxy_sessid=12399538384371156484) [2022-07-29 14:34:06.086152] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] client session destroy(cs_id=2147534826, proxy_sessid=12399538384371156484, client_vc=NULL) [2022-07-29 14:34:06.086184] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51473) [2022-07-29 14:34:06.086212] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:06.086324] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:06.086433] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:06.086560] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=124] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:06.086671] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:06.086781] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:06.086795] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17155, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076446082002881, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:06.086828] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17155, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076446082002881, server_state_version:0}) [2022-07-29 14:34:06.086876] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:06.086915] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:06.086977] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17155, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076446082002881, server_state_version:0}) [2022-07-29 14:34:06.086999] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:06.087165] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:34:06.087224] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF169450940] [lt=6] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:06.087255] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:06.087179] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] data is NULL(sm_id=51471, ret=-4152) [2022-07-29 14:34:06.087280] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:06.087294] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:06.087308] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:06.087314] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:06.087280] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=100] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:06.087389] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51471, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:06.087554] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51176, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:06.087603] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51471) [2022-07-29 14:34:11.113556] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=78] [dc=0] connection accepted(client={172.20.2.46:51412}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:34:11.113711] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51412}) [2022-07-29 14:34:11.113800] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] client session born(cs_id=51179, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51412") [2022-07-29 14:34:11.113848] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=51179, get_transact_count()=0, sm_id=51474) [2022-07-29 14:34:11.113878] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:11.205732] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:11.205766] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] client login audit(client_addr={172.20.2.46:51412}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:11.205791] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:11.205803] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:11.205817] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:34:11.205828] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17156) [2022-07-29 14:34:11.206054] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076451206042, last_valid_time_us:1659076451205816, last_access_time_us:1659076451205816, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:11.206134] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=78] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:11.206191] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534828) [2022-07-29 14:34:11.206216] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client session born(cs_id=2147534828, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:11.206244] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534828, get_transact_count()=0, sm_id=51475) [2022-07-29 14:34:11.206279] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:11.206377] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:11.206589] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] server session born(ss_id=34309, server_ip={172.20.2.116:2881}, cs_id=2147534828, proxy_sessid=0, server_type=1) [2022-07-29 14:34:11.206955] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] succ to set proxy_sessid(cs_id=2147534828, proxy_sessid=12399538384371156485, server_ip={172.20.2.116:2881}, ss_id=34309, server_sessid=3221679565, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36604") [2022-07-29 14:34:11.208016] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51475, cs_id=2147534828, proxy_sessid=12399538384371156485, ss_id=34309, server_sessid=3221679565, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:11.208224] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=180] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51475, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:11.208242] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:11.208250] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51475, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:11.208368] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34309, server_sessid:3221679565, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534828, proxy_sessid:12399538384371156485, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534828, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:11.208566] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=189] [dc=0] server session is closing(ss_id=34309, server_sessid=3221679565, server_ip={172.20.2.116:2881}, cs_id=2147534828, proxy_sessid=12399538384371156485) [2022-07-29 14:34:11.208604] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534828, proxy_sessid=12399538384371156485, client_vc=NULL) [2022-07-29 14:34:11.208652] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] deallocating sm(sm_id=51475) [2022-07-29 14:34:11.208671] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:11.208780] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:11.208889] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:11.209018] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:11.209128] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:11.209241] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:11.209253] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:11.209260] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:11.209413] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:11.209439] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:11.209531] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534829) [2022-07-29 14:34:11.209560] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534829, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:11.209586] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534829, get_transact_count()=0, sm_id=51476) [2022-07-29 14:34:11.209611] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:11.209689] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:11.209833] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=48] [dc=0] server session born(ss_id=34310, server_ip={172.20.2.116:2881}, cs_id=2147534829, proxy_sessid=0, server_type=1) [2022-07-29 14:34:11.210157] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534829, proxy_sessid=12399538384371156486, server_ip={172.20.2.116:2881}, ss_id=34310, server_sessid=3221679567, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36606") [2022-07-29 14:34:11.211097] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] finishing mysql tunnel((sm_id=51476, cs_id=2147534829, proxy_sessid=12399538384371156486, ss_id=34310, server_sessid=3221679567, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:11.211213] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51476, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:11.211220] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:11.211224] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51476, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:11.211288] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=62] [dc=0] server session do_io_close((*this={ss_id:34310, server_sessid:3221679567, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534829, proxy_sessid:12399538384371156486, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534829, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:11.211396] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=103] [dc=0] server session is closing(ss_id=34310, server_sessid=3221679567, server_ip={172.20.2.116:2881}, cs_id=2147534829, proxy_sessid=12399538384371156486) [2022-07-29 14:34:11.211416] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534829, proxy_sessid=12399538384371156486, client_vc=NULL) [2022-07-29 14:34:11.211429] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] deallocating sm(sm_id=51476) [2022-07-29 14:34:11.211438] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:11.211499] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:11.211559] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:11.211620] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:11.211681] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=60] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:11.211741] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:11.211751] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17156, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076451208894309, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:11.211767] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17156, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076451208894309, server_state_version:0}) [2022-07-29 14:34:11.211788] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:11.211812] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:11.211845] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17156, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076451208894309, server_state_version:0}) [2022-07-29 14:34:11.211862] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:11.211989] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:34:11.212031] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21571][Y0-7FF1691B2A10] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:11.212004] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] data is NULL(sm_id=51474, ret=-4152) [2022-07-29 14:34:11.212063] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:11.212085] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:11.212094] INFO [PROXY] ob_client_vc.cpp:587 [21571][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:11.212058] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:11.212108] INFO [PROXY] ob_client_vc.cpp:1102 [21571][Y0-7FF1691B29D0] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:11.212113] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21571][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:11.212111] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51474, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:11.212203] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=51179, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:11.212227] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51474) [2022-07-29 14:34:16.007770] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=63] [dc=0] connection accepted(client={172.20.2.46:51414}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:34:16.007909] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51414}) [2022-07-29 14:34:16.008020] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] client session born(cs_id=51182, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51414") [2022-07-29 14:34:16.008062] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] Starting new transaction using sm(cs_id=51182, get_transact_count()=0, sm_id=51477) [2022-07-29 14:34:16.008080] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:16.089515] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:16.089543] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51414}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:16.089570] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:16.089578] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:16.089591] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:34:16.089599] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17157) [2022-07-29 14:34:16.089742] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076456089734, last_valid_time_us:1659076456089590, last_access_time_us:1659076456089590, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:16.089800] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:16.089834] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534831) [2022-07-29 14:34:16.089851] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534831, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:16.089873] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534831, get_transact_count()=0, sm_id=51478) [2022-07-29 14:34:16.089891] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:16.089983] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:16.090102] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session born(ss_id=34311, server_ip={172.20.2.116:2881}, cs_id=2147534831, proxy_sessid=0, server_type=1) [2022-07-29 14:34:16.090535] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534831, proxy_sessid=12399538384371156487, server_ip={172.20.2.116:2881}, ss_id=34311, server_sessid=3221679617, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36608") [2022-07-29 14:34:16.091528] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] finishing mysql tunnel((sm_id=51478, cs_id=2147534831, proxy_sessid=12399538384371156487, ss_id=34311, server_sessid=3221679617, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:16.091724] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=168] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51478, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:16.091736] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:16.091743] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51478, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:16.091851] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] server session do_io_close((*this={ss_id:34311, server_sessid:3221679617, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534831, proxy_sessid:12399538384371156487, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534831, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:16.092056] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] server session is closing(ss_id=34311, server_sessid=3221679617, server_ip={172.20.2.116:2881}, cs_id=2147534831, proxy_sessid=12399538384371156487) [2022-07-29 14:34:16.092092] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] client session destroy(cs_id=2147534831, proxy_sessid=12399538384371156487, client_vc=NULL) [2022-07-29 14:34:16.092119] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] deallocating sm(sm_id=51478) [2022-07-29 14:34:16.092151] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:16.092254] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=103] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:16.092353] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:16.092458] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:16.092560] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:16.092663] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=100] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:16.092673] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:16.092681] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:16.092805] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:16.092827] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:16.092856] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534832) [2022-07-29 14:34:16.092869] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session born(cs_id=2147534832, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:16.092906] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534832, get_transact_count()=0, sm_id=51479) [2022-07-29 14:34:16.092931] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:16.093006] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:16.093140] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34312, server_ip={172.20.2.117:2881}, cs_id=2147534832, proxy_sessid=0, server_type=1) [2022-07-29 14:34:16.093657] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534832, proxy_sessid=12399538384371156488, server_ip={172.20.2.117:2881}, ss_id=34312, server_sessid=3221760252, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44676") [2022-07-29 14:34:16.094683] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51479, cs_id=2147534832, proxy_sessid=12399538384371156488, ss_id=34312, server_sessid=3221760252, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:16.094870] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=163] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51479, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:16.094882] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:16.094889] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51479, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:16.095017] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=125] [dc=0] server session do_io_close((*this={ss_id:34312, server_sessid:3221760252, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534832, proxy_sessid:12399538384371156488, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534832, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:16.095192] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=168] [dc=0] server session is closing(ss_id=34312, server_sessid=3221760252, server_ip={172.20.2.117:2881}, cs_id=2147534832, proxy_sessid=12399538384371156488) [2022-07-29 14:34:16.095224] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534832, proxy_sessid=12399538384371156488, client_vc=NULL) [2022-07-29 14:34:16.095255] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51479) [2022-07-29 14:34:16.095270] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:16.095380] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:16.095479] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:16.095576] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:16.095678] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:16.095778] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:16.095791] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17157, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076456091702979, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:16.095822] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17157, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076456091702979, server_state_version:0}) [2022-07-29 14:34:16.095865] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:16.095909] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:16.095966] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17157, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076456091702979, server_state_version:0}) [2022-07-29 14:34:16.095997] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:16.096127] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:34:16.096170] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21572][Y0-7FF169450940] [lt=6] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:16.096216] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B2C50] [lt=37] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:16.096150] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] data is NULL(sm_id=51477, ret=-4152) [2022-07-29 14:34:16.096252] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:16.096267] INFO [PROXY] ob_client_vc.cpp:587 [21572][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:16.096281] INFO [PROXY] ob_client_vc.cpp:1102 [21572][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:16.096288] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21572][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:16.096241] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=90] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:16.096331] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=89] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51477, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:16.096482] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51182, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:16.096529] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51477) [2022-07-29 14:34:20.982189] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51418}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:34:20.982318] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51418}) [2022-07-29 14:34:20.982371] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=51185, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51418") [2022-07-29 14:34:20.982419] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51185, get_transact_count()=0, sm_id=51480) [2022-07-29 14:34:20.982452] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:21.069644] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:21.069687] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51418}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:21.069715] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:21.069729] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:21.069746] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:34:21.069775] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17158) [2022-07-29 14:34:21.070005] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076461069995, last_valid_time_us:1659076461069744, last_access_time_us:1659076461069744, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:21.070111] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:21.070158] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534834) [2022-07-29 14:34:21.070187] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534834, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:21.070230] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] Starting new transaction using sm(cs_id=2147534834, get_transact_count()=0, sm_id=51481) [2022-07-29 14:34:21.070246] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:21.070353] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:21.070520] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] server session born(ss_id=34313, server_ip={172.20.2.116:2881}, cs_id=2147534834, proxy_sessid=0, server_type=1) [2022-07-29 14:34:21.074274] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534834, proxy_sessid=12399538384371156489, server_ip={172.20.2.116:2881}, ss_id=34313, server_sessid=3221679664, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36612") [2022-07-29 14:34:21.075300] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51481, cs_id=2147534834, proxy_sessid=12399538384371156489, ss_id=34313, server_sessid=3221679664, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:21.075510] INFO [PROXY.SM] ob_mysql_sm.cpp:8240 [21552][Y0-7FF167EAD3A0] [lt=159] [dc=0] Slow Query: ((client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, obproxy_client_port={172.20.2.119:36612}, server_trace_id=, route_type=ROUTE_TYPE_NONPARTITION_UNMERGE_LOCAL, user_name=proxyro, tenant_name=sys, cluster_name=ob_cluster, logic_database_name=, logic_tenant_name=, ob_proxy_protocol=0, cs_id=2147534834, proxy_sessid=12399538384371156489, ss_id=34313, server_sessid=3221679664, sm_id=51481, cmd_size_stats={client_request_bytes:74, server_request_bytes:262, server_response_bytes:84, client_response_bytes:84}, cmd_time_stats={client_transaction_idle_time_us=12, client_request_read_time_us=8, client_request_analyze_time_us=8, cluster_resource_create_time_us=0, pl_lookup_time_us=20, pl_process_time_us=59, congestion_control_time_us=0, congestion_process_time_us=0, do_observer_open_time_us=136, server_connect_time_us=87, server_sync_session_variable_time_us=0, server_send_saved_login_time_us=0, server_send_use_database_time_us=0, server_send_session_variable_time_us=0, server_send_all_session_variable_time_us=0, server_send_last_insert_id_time_us=0, server_send_start_trans_time_us=0, build_server_request_time_us=3, plugin_compress_request_time_us=0, prepare_send_request_to_server_time_us=4083, server_request_write_time_us=30, server_process_request_time_us=792, server_response_read_time_us=5, plugin_decompress_response_time_us=0, server_response_analyze_time_us=8, ok_packet_trim_time_us=1, client_response_write_time_us=239, request_total_time_us=5168}, sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:21.075696] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=73] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51481, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:21.075706] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:21.075713] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51481, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:21.075811] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] server session do_io_close((*this={ss_id:34313, server_sessid:3221679664, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534834, proxy_sessid:12399538384371156489, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534834, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:21.075999] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=179] [dc=0] server session is closing(ss_id=34313, server_sessid=3221679664, server_ip={172.20.2.116:2881}, cs_id=2147534834, proxy_sessid=12399538384371156489) [2022-07-29 14:34:21.076034] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534834, proxy_sessid=12399538384371156489, client_vc=NULL) [2022-07-29 14:34:21.076068] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51481) [2022-07-29 14:34:21.076098] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:21.076192] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:21.076284] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=92] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:21.076400] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:21.076497] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:21.076592] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=93] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:21.076604] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:21.076611] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:21.076810] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:21.076835] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:21.076869] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534835) [2022-07-29 14:34:21.076882] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session born(cs_id=2147534835, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:21.076916] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534835, get_transact_count()=0, sm_id=51482) [2022-07-29 14:34:21.076942] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:21.077025] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:21.077183] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] server session born(ss_id=34314, server_ip={172.20.2.117:2881}, cs_id=2147534835, proxy_sessid=0, server_type=1) [2022-07-29 14:34:21.077716] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=34] [dc=0] succ to set proxy_sessid(cs_id=2147534835, proxy_sessid=12399538384371156490, server_ip={172.20.2.117:2881}, ss_id=34314, server_sessid=3221760255, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44680") [2022-07-29 14:34:21.080324] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] finishing mysql tunnel((sm_id=51482, cs_id=2147534835, proxy_sessid=12399538384371156490, ss_id=34314, server_sessid=3221760255, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:21.080500] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=152] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51482, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:21.080511] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:21.080516] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51482, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:21.080616] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] server session do_io_close((*this={ss_id:34314, server_sessid:3221760255, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534835, proxy_sessid:12399538384371156490, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534835, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:21.080778] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=155] [dc=0] server session is closing(ss_id=34314, server_sessid=3221760255, server_ip={172.20.2.117:2881}, cs_id=2147534835, proxy_sessid=12399538384371156490) [2022-07-29 14:34:21.080810] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534835, proxy_sessid=12399538384371156490, client_vc=NULL) [2022-07-29 14:34:21.080841] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] deallocating sm(sm_id=51482) [2022-07-29 14:34:21.080857] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:21.080966] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:21.081060] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:21.081157] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=93] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:21.081246] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:21.081342] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:21.081356] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17158, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076461075727131, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:21.081385] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17158, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076461075727131, server_state_version:0}) [2022-07-29 14:34:21.081418] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:21.081454] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:21.081500] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17158, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076461075727131, server_state_version:0}) [2022-07-29 14:34:21.081534] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:21.081659] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:34:21.081700] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21573][Y0-7FF1691B2A10] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:21.081722] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B2C50] [lt=16] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:21.081753] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B2C50] [lt=30] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:21.081683] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] data is NULL(sm_id=51480, ret=-4152) [2022-07-29 14:34:21.081765] INFO [PROXY] ob_client_vc.cpp:587 [21573][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:21.081776] INFO [PROXY] ob_client_vc.cpp:1102 [21573][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:21.081782] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21573][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:21.081768] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=83] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:21.081860] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=91] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51480, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:21.082008] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=51185, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:21.082046] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51480) [2022-07-29 14:34:26.035553] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=45] [dc=0] connection accepted(client={172.20.2.46:51420}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:34:26.035724] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51420}) [2022-07-29 14:34:26.035797] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] client session born(cs_id=51188, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51420") [2022-07-29 14:34:26.035835] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=51188, get_transact_count()=0, sm_id=51483) [2022-07-29 14:34:26.035859] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:26.117119] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:26.117160] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51420}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:26.117188] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:26.117202] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:26.117219] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:34:26.117233] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17159) [2022-07-29 14:34:26.117428] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076466117417, last_valid_time_us:1659076466117217, last_access_time_us:1659076466117217, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:26.117532] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:26.117579] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534837) [2022-07-29 14:34:26.117608] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534837, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:26.117650] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534837, get_transact_count()=0, sm_id=51484) [2022-07-29 14:34:26.117679] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:26.117794] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:26.118108] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34315, server_ip={172.20.2.118:2881}, cs_id=2147534837, proxy_sessid=0, server_type=1) [2022-07-29 14:34:26.118472] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534837, proxy_sessid=12399538384371156491, server_ip={172.20.2.118:2881}, ss_id=34315, server_sessid=3222023451, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41636") [2022-07-29 14:34:26.120136] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] finishing mysql tunnel((sm_id=51484, cs_id=2147534837, proxy_sessid=12399538384371156491, ss_id=34315, server_sessid=3222023451, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:26.120293] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=120] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51484, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:26.120301] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:26.120307] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51484, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:26.120379] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] server session do_io_close((*this={ss_id:34315, server_sessid:3222023451, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534837, proxy_sessid:12399538384371156491, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534837, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:26.120504] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=119] [dc=0] server session is closing(ss_id=34315, server_sessid=3222023451, server_ip={172.20.2.118:2881}, cs_id=2147534837, proxy_sessid=12399538384371156491) [2022-07-29 14:34:26.120530] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534837, proxy_sessid=12399538384371156491, client_vc=NULL) [2022-07-29 14:34:26.120554] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] deallocating sm(sm_id=51484) [2022-07-29 14:34:26.120569] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:26.120637] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:26.120705] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=68] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:26.120775] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=66] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:26.120844] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=68] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:26.120911] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:26.120959] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:26.120964] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:26.121127] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:26.121143] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:26.121164] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534838) [2022-07-29 14:34:26.121172] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] client session born(cs_id=2147534838, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:26.121192] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534838, get_transact_count()=0, sm_id=51485) [2022-07-29 14:34:26.121208] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:26.121261] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:26.121356] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] server session born(ss_id=34316, server_ip={172.20.2.117:2881}, cs_id=2147534838, proxy_sessid=0, server_type=1) [2022-07-29 14:34:26.121757] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534838, proxy_sessid=12399538384371156492, server_ip={172.20.2.117:2881}, ss_id=34316, server_sessid=3221760258, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44684") [2022-07-29 14:34:26.123192] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=51] [dc=0] finishing mysql tunnel((sm_id=51485, cs_id=2147534838, proxy_sessid=12399538384371156492, ss_id=34316, server_sessid=3221760258, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:26.123395] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=177] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51485, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:26.123408] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:26.123415] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51485, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:26.123532] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34316, server_sessid:3221760258, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534838, proxy_sessid:12399538384371156492, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534838, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:26.123726] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] server session is closing(ss_id=34316, server_sessid=3221760258, server_ip={172.20.2.117:2881}, cs_id=2147534838, proxy_sessid=12399538384371156492) [2022-07-29 14:34:26.123762] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534838, proxy_sessid=12399538384371156492, client_vc=NULL) [2022-07-29 14:34:26.123796] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] deallocating sm(sm_id=51485) [2022-07-29 14:34:26.123825] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:26.123977] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=152] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:26.124086] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:26.124198] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:26.124310] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:26.124421] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:26.124435] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17159, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076466120744546, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:26.124468] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17159, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076466120744546, server_state_version:0}) [2022-07-29 14:34:26.124514] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:26.124542] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:26.124591] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17159, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076466120744546, server_state_version:0}) [2022-07-29 14:34:26.124613] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:26.124760] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:34:26.124802] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21574][Y0-7FF169450940] [lt=15] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:26.124852] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B2C50] [lt=43] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:26.124784] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] data is NULL(sm_id=51483, ret=-4152) [2022-07-29 14:34:26.124880] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B2C50] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:26.124890] INFO [PROXY] ob_client_vc.cpp:587 [21574][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:26.124911] INFO [PROXY] ob_client_vc.cpp:1102 [21574][Y0-7FF1691B29D0] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:26.124946] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21574][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:26.124884] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:26.125007] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51483, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:26.125158] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=51188, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:26.125196] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] deallocating sm(sm_id=51483) [2022-07-29 14:34:31.066652] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=61] [dc=0] connection accepted(client={172.20.2.46:51424}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:34:31.066783] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51424}) [2022-07-29 14:34:31.066836] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=51191, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51424") [2022-07-29 14:34:31.066861] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=51191, get_transact_count()=0, sm_id=51486) [2022-07-29 14:34:31.066875] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:31.147517] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:31.147546] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51424}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:31.147563] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:31.147571] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:31.147583] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:34:31.147592] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17160) [2022-07-29 14:34:31.147737] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076471147729, last_valid_time_us:1659076471147581, last_access_time_us:1659076471147581, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:31.147797] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=58] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:31.147830] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534840) [2022-07-29 14:34:31.147840] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session born(cs_id=2147534840, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:31.147863] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534840, get_transact_count()=0, sm_id=51487) [2022-07-29 14:34:31.147882] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:31.147992] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:31.148103] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session born(ss_id=34317, server_ip={172.20.2.117:2881}, cs_id=2147534840, proxy_sessid=0, server_type=1) [2022-07-29 14:34:31.148709] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] succ to set proxy_sessid(cs_id=2147534840, proxy_sessid=12399538384371156493, server_ip={172.20.2.117:2881}, ss_id=34317, server_sessid=3221760261, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44686") [2022-07-29 14:34:31.150292] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=47] [dc=0] finishing mysql tunnel((sm_id=51487, cs_id=2147534840, proxy_sessid=12399538384371156493, ss_id=34317, server_sessid=3221760261, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:31.150487] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=170] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51487, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:31.150509] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:31.150516] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51487, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:31.150613] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=94] [dc=0] server session do_io_close((*this={ss_id:34317, server_sessid:3221760261, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534840, proxy_sessid:12399538384371156493, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534840, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:31.150837] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=216] [dc=0] server session is closing(ss_id=34317, server_sessid=3221760261, server_ip={172.20.2.117:2881}, cs_id=2147534840, proxy_sessid=12399538384371156493) [2022-07-29 14:34:31.150868] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534840, proxy_sessid=12399538384371156493, client_vc=NULL) [2022-07-29 14:34:31.150886] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] deallocating sm(sm_id=51487) [2022-07-29 14:34:31.150943] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:31.151018] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=75] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:31.151088] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:31.151161] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:31.151234] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:31.151307] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:31.151316] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:31.151321] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:31.151448] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:31.151466] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:31.151490] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] proxy mysql client session born(cs_id=2147534841) [2022-07-29 14:34:31.151508] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session born(cs_id=2147534841, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:31.151527] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534841, get_transact_count()=0, sm_id=51488) [2022-07-29 14:34:31.151545] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:31.151598] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:31.151703] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] server session born(ss_id=34318, server_ip={172.20.2.118:2881}, cs_id=2147534841, proxy_sessid=0, server_type=1) [2022-07-29 14:34:31.152184] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534841, proxy_sessid=12399538384371156494, server_ip={172.20.2.118:2881}, ss_id=34318, server_sessid=3222023452, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41642") [2022-07-29 14:34:31.154209] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51488, cs_id=2147534841, proxy_sessid=12399538384371156494, ss_id=34318, server_sessid=3222023452, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:31.154417] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=181] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51488, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:31.154430] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:31.154438] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51488, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:31.154555] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34318, server_sessid:3222023452, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534841, proxy_sessid:12399538384371156494, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534841, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:31.154748] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=185] [dc=0] server session is closing(ss_id=34318, server_sessid=3222023452, server_ip={172.20.2.118:2881}, cs_id=2147534841, proxy_sessid=12399538384371156494) [2022-07-29 14:34:31.154783] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534841, proxy_sessid=12399538384371156494, client_vc=NULL) [2022-07-29 14:34:31.154817] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51488) [2022-07-29 14:34:31.154856] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:31.155024] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=168] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:31.155133] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:31.155248] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:31.155361] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:31.155474] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:31.155488] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17160, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076471150938051, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:31.155509] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17160, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076471150938051, server_state_version:0}) [2022-07-29 14:34:31.155543] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:31.155569] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:31.155607] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17160, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076471150938051, server_state_version:0}) [2022-07-29 14:34:31.155634] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:31.155769] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:34:31.155836] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21575][Y0-7FF1691B2A10] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:31.155860] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:31.155881] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B2C50] [lt=20] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:31.155794] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] data is NULL(sm_id=51486, ret=-4152) [2022-07-29 14:34:31.155892] INFO [PROXY] ob_client_vc.cpp:587 [21575][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:31.155906] INFO [PROXY] ob_client_vc.cpp:1102 [21575][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:31.155912] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21575][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:31.155895] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=99] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:31.156038] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=142] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51486, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:31.156209] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51191, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:31.156247] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51486) [2022-07-29 14:34:36.005724] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=61] [dc=0] connection accepted(client={172.20.2.46:51428}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:34:36.005879] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51428}) [2022-07-29 14:34:36.005979] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=65] [dc=0] client session born(cs_id=51194, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51428") [2022-07-29 14:34:36.006019] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=51194, get_transact_count()=0, sm_id=51489) [2022-07-29 14:34:36.006046] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:36.091903] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:36.092063] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=159] [dc=0] client login audit(client_addr={172.20.2.46:51428}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:36.092102] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=31] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:36.092117] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:36.092135] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:34:36.092179] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17161) [2022-07-29 14:34:36.092369] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076476092357, last_valid_time_us:1659076476092330, last_access_time_us:1659076476092330, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:36.092472] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:36.092518] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534843) [2022-07-29 14:34:36.092546] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session born(cs_id=2147534843, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:36.092588] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534843, get_transact_count()=0, sm_id=51490) [2022-07-29 14:34:36.092616] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:36.092733] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:36.092900] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34319, server_ip={172.20.2.117:2881}, cs_id=2147534843, proxy_sessid=0, server_type=1) [2022-07-29 14:34:36.093427] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] succ to set proxy_sessid(cs_id=2147534843, proxy_sessid=12399538384371156495, server_ip={172.20.2.117:2881}, ss_id=34319, server_sessid=3221760268, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44690") [2022-07-29 14:34:36.094727] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51490, cs_id=2147534843, proxy_sessid=12399538384371156495, ss_id=34319, server_sessid=3221760268, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:36.094914] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=157] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51490, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:36.094952] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:36.094970] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51490, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:36.095071] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] server session do_io_close((*this={ss_id:34319, server_sessid:3221760268, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534843, proxy_sessid:12399538384371156495, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534843, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:36.095244] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=163] [dc=0] server session is closing(ss_id=34319, server_sessid=3221760268, server_ip={172.20.2.117:2881}, cs_id=2147534843, proxy_sessid=12399538384371156495) [2022-07-29 14:34:36.095290] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] client session destroy(cs_id=2147534843, proxy_sessid=12399538384371156495, client_vc=NULL) [2022-07-29 14:34:36.095324] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51490) [2022-07-29 14:34:36.095354] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:36.095448] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:36.095541] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:36.095638] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:36.095734] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:36.095828] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:36.095850] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:36.095867] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:36.096027] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:36.096048] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:36.096089] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] proxy mysql client session born(cs_id=2147534844) [2022-07-29 14:34:36.096113] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client session born(cs_id=2147534844, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:36.096147] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] Starting new transaction using sm(cs_id=2147534844, get_transact_count()=0, sm_id=51491) [2022-07-29 14:34:36.096170] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:36.096260] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:36.096421] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=35] [dc=0] server session born(ss_id=34320, server_ip={172.20.2.118:2881}, cs_id=2147534844, proxy_sessid=0, server_type=1) [2022-07-29 14:34:36.096767] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534844, proxy_sessid=12399538384371156496, server_ip={172.20.2.118:2881}, ss_id=34320, server_sessid=3222023453, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41646") [2022-07-29 14:34:36.097912] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] finishing mysql tunnel((sm_id=51491, cs_id=2147534844, proxy_sessid=12399538384371156496, ss_id=34320, server_sessid=3222023453, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:36.098094] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=160] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51491, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:36.098115] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:36.098132] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51491, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:36.098229] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] server session do_io_close((*this={ss_id:34320, server_sessid:3222023453, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534844, proxy_sessid:12399538384371156496, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534844, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:36.098389] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=153] [dc=0] server session is closing(ss_id=34320, server_sessid=3222023453, server_ip={172.20.2.118:2881}, cs_id=2147534844, proxy_sessid=12399538384371156496) [2022-07-29 14:34:36.098429] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session destroy(cs_id=2147534844, proxy_sessid=12399538384371156496, client_vc=NULL) [2022-07-29 14:34:36.098458] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51491) [2022-07-29 14:34:36.098484] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:36.098578] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:36.098671] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:36.098767] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:36.098861] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=94] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:36.098967] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=104] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:36.098991] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17161, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076476094891244, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:36.099020] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17161, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076476094891244, server_state_version:0}) [2022-07-29 14:34:36.099062] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:36.099098] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:36.099142] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17161, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076476094891244, server_state_version:0}) [2022-07-29 14:34:36.099173] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:36.099321] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:34:36.099387] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21576][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:36.099344] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] data is NULL(sm_id=51489, ret=-4152) [2022-07-29 14:34:36.099430] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B2C50] [lt=34] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:36.099466] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B2C50] [lt=33] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:36.099490] INFO [PROXY] ob_client_vc.cpp:587 [21576][Y0-7FF1691B29D0] [lt=17] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:36.099512] INFO [PROXY] ob_client_vc.cpp:1102 [21576][Y0-7FF1691B29D0] [lt=22] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:36.099439] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:36.099527] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21576][Y0-7FF1691B29D0] [lt=14] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:36.099522] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=82] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51489, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:36.099689] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] client session destroy(cs_id=51194, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:36.099739] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] deallocating sm(sm_id=51489) [2022-07-29 14:34:41.170044] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=50] [dc=0] connection accepted(client={172.20.2.46:51432}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:34:41.170147] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51432}) [2022-07-29 14:34:41.170193] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=51197, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51432") [2022-07-29 14:34:41.170216] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=51197, get_transact_count()=0, sm_id=51492) [2022-07-29 14:34:41.170228] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:41.256048] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:41.256089] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] client login audit(client_addr={172.20.2.46:51432}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:41.256117] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:41.256132] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:41.256149] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:34:41.256163] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17162) [2022-07-29 14:34:41.256357] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076481256346, last_valid_time_us:1659076481256147, last_access_time_us:1659076481256147, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:41.256465] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:41.256510] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534846) [2022-07-29 14:34:41.256541] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] client session born(cs_id=2147534846, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:41.256571] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534846, get_transact_count()=0, sm_id=51493) [2022-07-29 14:34:41.256590] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:41.256712] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:41.256880] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] server session born(ss_id=34321, server_ip={172.20.2.117:2881}, cs_id=2147534846, proxy_sessid=0, server_type=1) [2022-07-29 14:34:41.257234] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534846, proxy_sessid=12399538384371156497, server_ip={172.20.2.117:2881}, ss_id=34321, server_sessid=3221760272, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44694") [2022-07-29 14:34:41.258792] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] finishing mysql tunnel((sm_id=51493, cs_id=2147534846, proxy_sessid=12399538384371156497, ss_id=34321, server_sessid=3221760272, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:41.258907] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=96] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51493, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:41.258914] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:41.258929] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51493, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:41.258988] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=56] [dc=0] server session do_io_close((*this={ss_id:34321, server_sessid:3221760272, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534846, proxy_sessid:12399538384371156497, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534846, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:41.259099] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=105] [dc=0] server session is closing(ss_id=34321, server_sessid=3221760272, server_ip={172.20.2.117:2881}, cs_id=2147534846, proxy_sessid=12399538384371156497) [2022-07-29 14:34:41.259121] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534846, proxy_sessid=12399538384371156497, client_vc=NULL) [2022-07-29 14:34:41.259157] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] deallocating sm(sm_id=51493) [2022-07-29 14:34:41.259178] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:41.259233] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:41.259287] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:41.259345] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:41.259394] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=49] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:41.259442] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:41.259448] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:41.259453] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:41.259582] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:41.259597] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:41.259616] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534847) [2022-07-29 14:34:41.259624] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session born(cs_id=2147534847, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:41.259640] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534847, get_transact_count()=0, sm_id=51494) [2022-07-29 14:34:41.259654] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:41.259701] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:41.259781] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] server session born(ss_id=34322, server_ip={172.20.2.117:2881}, cs_id=2147534847, proxy_sessid=0, server_type=1) [2022-07-29 14:34:41.260106] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534847, proxy_sessid=12399538384371156498, server_ip={172.20.2.117:2881}, ss_id=34322, server_sessid=3221760273, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:44696") [2022-07-29 14:34:41.260999] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] finishing mysql tunnel((sm_id=51494, cs_id=2147534847, proxy_sessid=12399538384371156498, ss_id=34322, server_sessid=3221760273, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:41.261105] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=93] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51494, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:41.261110] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:41.261114] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51494, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:41.261185] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] server session do_io_close((*this={ss_id:34322, server_sessid:3221760273, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534847, proxy_sessid:12399538384371156498, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534847, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:41.261282] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=93] [dc=0] server session is closing(ss_id=34322, server_sessid=3221760273, server_ip={172.20.2.117:2881}, cs_id=2147534847, proxy_sessid=12399538384371156498) [2022-07-29 14:34:41.261312] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534847, proxy_sessid=12399538384371156498, client_vc=NULL) [2022-07-29 14:34:41.261321] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51494) [2022-07-29 14:34:41.261330] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:41.261381] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:41.261432] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:41.261477] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:41.261528] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=51] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:41.261572] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:41.261579] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17162, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076481258892496, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:41.261590] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17162, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076481258892496, server_state_version:0}) [2022-07-29 14:34:41.261608] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:41.261623] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:41.261644] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17162, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076481258892496, server_state_version:0}) [2022-07-29 14:34:41.261656] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:41.261743] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:34:41.261772] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21578][Y0-7FF1691B2A10] [lt=17] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:41.261757] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] data is NULL(sm_id=51492, ret=-4152) [2022-07-29 14:34:41.261796] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:41.261813] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B2C50] [lt=15] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:41.261822] INFO [PROXY] ob_client_vc.cpp:587 [21578][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:41.261831] INFO [PROXY] ob_client_vc.cpp:1102 [21578][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:41.261835] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21578][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:41.261801] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:41.261844] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=43] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51492, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:41.261932] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=51197, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:41.261953] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] deallocating sm(sm_id=51492) [2022-07-29 14:34:46.117657] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=50] [dc=0] connection accepted(client={172.20.2.46:51434}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:34:46.117812] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51434}) [2022-07-29 14:34:46.117897] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=51200, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51434") [2022-07-29 14:34:46.117957] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] Starting new transaction using sm(cs_id=51200, get_transact_count()=0, sm_id=51495) [2022-07-29 14:34:46.117985] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:46.194181] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:46.194221] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] client login audit(client_addr={172.20.2.46:51434}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:46.194248] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:46.194262] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:46.194279] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:34:46.194294] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17163) [2022-07-29 14:34:46.194487] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076486194476, last_valid_time_us:1659076486194378, last_access_time_us:1659076486194378, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:46.194594] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=105] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:46.194640] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534849) [2022-07-29 14:34:46.194670] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534849, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:46.194701] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534849, get_transact_count()=0, sm_id=51496) [2022-07-29 14:34:46.194716] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:46.194821] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:46.195029] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34323, server_ip={172.20.2.117:2881}, cs_id=2147534849, proxy_sessid=0, server_type=1) [2022-07-29 14:34:46.195491] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534849, proxy_sessid=12399538384371156499, server_ip={172.20.2.117:2881}, ss_id=34323, server_sessid=3221760275, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44698") [2022-07-29 14:34:46.196893] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=53] [dc=0] finishing mysql tunnel((sm_id=51496, cs_id=2147534849, proxy_sessid=12399538384371156499, ss_id=34323, server_sessid=3221760275, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:46.197127] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=204] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51496, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:46.197139] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:46.197146] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51496, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:46.197263] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34323, server_sessid:3221760275, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534849, proxy_sessid:12399538384371156499, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534849, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:46.197459] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=186] [dc=0] server session is closing(ss_id=34323, server_sessid=3221760275, server_ip={172.20.2.117:2881}, cs_id=2147534849, proxy_sessid=12399538384371156499) [2022-07-29 14:34:46.197496] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534849, proxy_sessid=12399538384371156499, client_vc=NULL) [2022-07-29 14:34:46.197532] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51496) [2022-07-29 14:34:46.197551] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:46.197664] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:46.197773] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:46.197885] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:46.198010] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=125] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:46.198122] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:46.198134] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:46.198142] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:46.198310] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:46.198332] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:46.198362] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534850) [2022-07-29 14:34:46.198388] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] client session born(cs_id=2147534850, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:46.198412] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] Starting new transaction using sm(cs_id=2147534850, get_transact_count()=0, sm_id=51497) [2022-07-29 14:34:46.198435] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:46.198529] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:46.198694] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] server session born(ss_id=34324, server_ip={172.20.2.116:2881}, cs_id=2147534850, proxy_sessid=0, server_type=1) [2022-07-29 14:34:46.199531] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534850, proxy_sessid=12399538384371156500, server_ip={172.20.2.116:2881}, ss_id=34324, server_sessid=3221679911, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:36634") [2022-07-29 14:34:46.200575] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] finishing mysql tunnel((sm_id=51497, cs_id=2147534850, proxy_sessid=12399538384371156500, ss_id=34324, server_sessid=3221679911, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:46.200767] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=173] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51497, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:46.200778] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:46.200784] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51497, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:46.200900] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34324, server_sessid:3221679911, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534850, proxy_sessid:12399538384371156500, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534850, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:46.201098] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=192] [dc=0] server session is closing(ss_id=34324, server_sessid=3221679911, server_ip={172.20.2.116:2881}, cs_id=2147534850, proxy_sessid=12399538384371156500) [2022-07-29 14:34:46.201129] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534850, proxy_sessid=12399538384371156500, client_vc=NULL) [2022-07-29 14:34:46.201160] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51497) [2022-07-29 14:34:46.201186] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:46.201297] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:46.201404] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=107] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:46.201516] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:46.201630] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:46.201740] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:46.201754] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17163, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076486197644429, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:46.201775] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17163, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076486197644429, server_state_version:0}) [2022-07-29 14:34:46.201810] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:46.201862] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:46.201903] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17163, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076486197644429, server_state_version:0}) [2022-07-29 14:34:46.201944] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:46.202094] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:34:46.202126] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21579][Y0-7FF1691B1590] [lt=5] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:46.202147] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B2C50] [lt=14] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:46.202169] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:46.202178] INFO [PROXY] ob_client_vc.cpp:587 [21579][Y0-7FF1691B29D0] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:46.202185] INFO [PROXY] ob_client_vc.cpp:1102 [21579][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:46.202188] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21579][Y0-7FF1691B29D0] [lt=2] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:46.202119] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] data is NULL(sm_id=51495, ret=-4152) [2022-07-29 14:34:46.202219] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=98] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:46.202329] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51495, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:46.202486] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51200, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:46.202537] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] deallocating sm(sm_id=51495) [2022-07-29 14:34:51.164899] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=37] [dc=0] connection accepted(client={172.20.2.46:51438}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:34:51.165085] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51438}) [2022-07-29 14:34:51.165186] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=61] [dc=0] client session born(cs_id=51203, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51438") [2022-07-29 14:34:51.165233] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51203, get_transact_count()=0, sm_id=51498) [2022-07-29 14:34:51.165265] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:51.241774] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:51.241817] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=41] [dc=0] client login audit(client_addr={172.20.2.46:51438}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:51.241845] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:51.241859] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:51.241876] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:34:51.241903] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17164) [2022-07-29 14:34:51.242136] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=44] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076491242126, last_valid_time_us:1659076491242026, last_access_time_us:1659076491242026, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:51.242246] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:51.242294] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534852) [2022-07-29 14:34:51.242322] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] client session born(cs_id=2147534852, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:51.242364] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534852, get_transact_count()=0, sm_id=51499) [2022-07-29 14:34:51.242392] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:51.242513] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:51.242697] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34325, server_ip={172.20.2.118:2881}, cs_id=2147534852, proxy_sessid=0, server_type=1) [2022-07-29 14:34:51.243296] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534852, proxy_sessid=12399538384371156501, server_ip={172.20.2.118:2881}, ss_id=34325, server_sessid=3222023454, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41656") [2022-07-29 14:34:51.245194] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] finishing mysql tunnel((sm_id=51499, cs_id=2147534852, proxy_sessid=12399538384371156501, ss_id=34325, server_sessid=3222023454, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:51.245316] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=97] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51499, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:51.245329] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:51.245334] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51499, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:51.245396] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] server session do_io_close((*this={ss_id:34325, server_sessid:3222023454, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534852, proxy_sessid:12399538384371156501, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534852, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:51.245510] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] server session is closing(ss_id=34325, server_sessid=3222023454, server_ip={172.20.2.118:2881}, cs_id=2147534852, proxy_sessid=12399538384371156501) [2022-07-29 14:34:51.245537] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=2147534852, proxy_sessid=12399538384371156501, client_vc=NULL) [2022-07-29 14:34:51.245558] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] deallocating sm(sm_id=51499) [2022-07-29 14:34:51.245572] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:51.245626] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:51.245678] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:51.245734] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:51.245788] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:51.245842] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=52] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:51.245848] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:51.245852] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:51.246025] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:51.246057] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:51.246100] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534853) [2022-07-29 14:34:51.246124] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] client session born(cs_id=2147534853, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:51.246150] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] Starting new transaction using sm(cs_id=2147534853, get_transact_count()=0, sm_id=51500) [2022-07-29 14:34:51.246162] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:51.246266] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:51.246420] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] server session born(ss_id=34326, server_ip={172.20.2.118:2881}, cs_id=2147534853, proxy_sessid=0, server_type=1) [2022-07-29 14:34:51.246898] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] succ to set proxy_sessid(cs_id=2147534853, proxy_sessid=12399538384371156502, server_ip={172.20.2.118:2881}, ss_id=34326, server_sessid=3222023455, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41658") [2022-07-29 14:34:51.248801] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51500, cs_id=2147534853, proxy_sessid=12399538384371156502, ss_id=34326, server_sessid=3222023455, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:51.249043] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=212] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51500, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:51.249055] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:51.249062] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51500, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:51.249178] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34326, server_sessid:3222023455, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534853, proxy_sessid:12399538384371156502, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534853, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:51.249376] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=190] [dc=0] server session is closing(ss_id=34326, server_sessid=3222023455, server_ip={172.20.2.118:2881}, cs_id=2147534853, proxy_sessid=12399538384371156502) [2022-07-29 14:34:51.249424] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534853, proxy_sessid=12399538384371156502, client_vc=NULL) [2022-07-29 14:34:51.249459] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51500) [2022-07-29 14:34:51.249490] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:51.249602] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:51.249718] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=116] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:51.249837] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:51.249961] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=124] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:51.250074] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:51.250089] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17164, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076491245650544, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:51.250123] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=31] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17164, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076491245650544, server_state_version:0}) [2022-07-29 14:34:51.250157] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:51.250195] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:51.250243] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17164, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076491245650544, server_state_version:0}) [2022-07-29 14:34:51.250276] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=27] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:51.250421] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:34:51.250461] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21580][Y0-7FF1691B2A10] [lt=11] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:51.250443] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] data is NULL(sm_id=51498, ret=-4152) [2022-07-29 14:34:51.250527] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B2C50] [lt=25] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:51.250545] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B2C50] [lt=17] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:51.250555] INFO [PROXY] ob_client_vc.cpp:587 [21580][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:51.250565] INFO [PROXY] ob_client_vc.cpp:1102 [21580][Y0-7FF1691B29D0] [lt=9] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:51.250569] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21580][Y0-7FF1691B29D0] [lt=4] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:51.250554] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:51.250664] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51498, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:51.250828] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51203, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:51.250879] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] deallocating sm(sm_id=51498) [2022-07-29 14:34:56.177016] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51440}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:34:56.177184] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51440}) [2022-07-29 14:34:56.177273] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=47] [dc=0] client session born(cs_id=51206, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51440") [2022-07-29 14:34:56.177320] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] Starting new transaction using sm(cs_id=51206, get_transact_count()=0, sm_id=51501) [2022-07-29 14:34:56.177350] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:56.263053] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:34:56.263082] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] client login audit(client_addr={172.20.2.46:51440}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:34:56.263103] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:34:56.263113] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:56.263127] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:34:56.263138] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17165) [2022-07-29 14:34:56.263298] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076496263288, last_valid_time_us:1659076496263126, last_access_time_us:1659076496263126, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:34:56.263375] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:56.263414] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534855) [2022-07-29 14:34:56.263437] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] client session born(cs_id=2147534855, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:56.263462] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] Starting new transaction using sm(cs_id=2147534855, get_transact_count()=0, sm_id=51502) [2022-07-29 14:34:56.263484] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:56.263564] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:56.263715] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=28] [dc=0] server session born(ss_id=34327, server_ip={172.20.2.116:2881}, cs_id=2147534855, proxy_sessid=0, server_type=1) [2022-07-29 14:34:56.264200] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] succ to set proxy_sessid(cs_id=2147534855, proxy_sessid=12399538384371156503, server_ip={172.20.2.116:2881}, ss_id=34327, server_sessid=3221680010, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36640") [2022-07-29 14:34:56.265223] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] finishing mysql tunnel((sm_id=51502, cs_id=2147534855, proxy_sessid=12399538384371156503, ss_id=34327, server_sessid=3221680010, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:56.265440] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51502, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:56.265466] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:56.265474] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51502, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:56.265590] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34327, server_sessid:3221680010, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534855, proxy_sessid:12399538384371156503, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534855, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:34:56.265796] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=195] [dc=0] server session is closing(ss_id=34327, server_sessid=3221680010, server_ip={172.20.2.116:2881}, cs_id=2147534855, proxy_sessid=12399538384371156503) [2022-07-29 14:34:56.265837] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534855, proxy_sessid=12399538384371156503, client_vc=NULL) [2022-07-29 14:34:56.265872] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51502) [2022-07-29 14:34:56.265894] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:56.266020] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=126] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:56.266127] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:56.266238] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=106] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:56.266348] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:56.266459] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:56.266471] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:34:56.266478] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:56.266610] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:34:56.266645] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=33] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:34:56.266693] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534856) [2022-07-29 14:34:56.266727] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client session born(cs_id=2147534856, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:34:56.266764] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] Starting new transaction using sm(cs_id=2147534856, get_transact_count()=0, sm_id=51503) [2022-07-29 14:34:56.266778] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:34:56.266886] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:34:56.267051] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=52] [dc=0] server session born(ss_id=34328, server_ip={172.20.2.118:2881}, cs_id=2147534856, proxy_sessid=0, server_type=1) [2022-07-29 14:34:56.267554] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534856, proxy_sessid=12399538384371156504, server_ip={172.20.2.118:2881}, ss_id=34328, server_sessid=3222023456, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41662") [2022-07-29 14:34:56.269377] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51503, cs_id=2147534856, proxy_sessid=12399538384371156504, ss_id=34328, server_sessid=3222023456, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:34:56.269532] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=131] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51503, client_vc=0x7ff1684bb5e0) [2022-07-29 14:34:56.269540] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:34:56.269545] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51503, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:34:56.269620] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=72] [dc=0] server session do_io_close((*this={ss_id:34328, server_sessid:3222023456, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534856, proxy_sessid:12399538384371156504, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534856, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:34:56.269754] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=127] [dc=0] server session is closing(ss_id=34328, server_sessid=3222023456, server_ip={172.20.2.118:2881}, cs_id=2147534856, proxy_sessid=12399538384371156504) [2022-07-29 14:34:56.269780] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534856, proxy_sessid=12399538384371156504, client_vc=NULL) [2022-07-29 14:34:56.269806] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] deallocating sm(sm_id=51503) [2022-07-29 14:34:56.269824] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:34:56.269896] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:34:56.270004] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:34:56.270077] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:34:56.270148] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:34:56.270220] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=70] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:34:56.270230] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17165, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076496265411976, server_state_version:0}, pending_list_count=0) [2022-07-29 14:34:56.270254] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17165, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076496265411976, server_state_version:0}) [2022-07-29 14:34:56.270279] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:56.270297] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:34:56.270324] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17165, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076496265411976, server_state_version:0}) [2022-07-29 14:34:56.270338] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:34:56.270457] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:34:56.270485] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] data is NULL(sm_id=51501, ret=-4152) [2022-07-29 14:34:56.270566] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21581][Y0-7FF1691B1590] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:34:56.270591] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B2C50] [lt=18] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:56.270557] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=71] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:34:56.270612] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B2C50] [lt=19] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:34:56.270624] INFO [PROXY] ob_client_vc.cpp:587 [21581][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:34:56.270651] INFO [PROXY] ob_client_vc.cpp:1102 [21581][Y0-7FF1691B29D0] [lt=27] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:34:56.270659] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21581][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:34:56.270618] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51501, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:34:56.270723] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] client session destroy(cs_id=51206, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:34:56.270751] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51501) [2022-07-29 14:35:01.218184] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=97] [dc=0] connection accepted(client={172.20.2.46:51444}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:35:01.218322] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51444}) [2022-07-29 14:35:01.218445] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] client session born(cs_id=51209, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=79, client_addr="172.20.2.46:51444") [2022-07-29 14:35:01.218492] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51209, get_transact_count()=0, sm_id=51504) [2022-07-29 14:35:01.218524] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:01.307153] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:01.307223] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=68] [dc=0] client login audit(client_addr={172.20.2.46:51444}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:01.307250] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:01.307264] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:01.307281] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:35:01.307295] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17166) [2022-07-29 14:35:01.307493] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076501307483, last_valid_time_us:1659076501307279, last_access_time_us:1659076501307279, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:01.307599] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=104] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:01.307647] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534858) [2022-07-29 14:35:01.307675] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534858, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:01.307717] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] Starting new transaction using sm(cs_id=2147534858, get_transact_count()=0, sm_id=51505) [2022-07-29 14:35:01.307745] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:01.307861] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:01.308062] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=42] [dc=0] server session born(ss_id=34329, server_ip={172.20.2.117:2881}, cs_id=2147534858, proxy_sessid=0, server_type=1) [2022-07-29 14:35:01.308482] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=28] [dc=0] succ to set proxy_sessid(cs_id=2147534858, proxy_sessid=12399538384371156505, server_ip={172.20.2.117:2881}, ss_id=34329, server_sessid=3221760283, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44710") [2022-07-29 14:35:01.309740] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] finishing mysql tunnel((sm_id=51505, cs_id=2147534858, proxy_sessid=12399538384371156505, ss_id=34329, server_sessid=3221760283, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:01.309981] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=214] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51505, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:01.310006] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:01.310025] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51505, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:01.310140] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] server session do_io_close((*this={ss_id:34329, server_sessid:3221760283, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534858, proxy_sessid:12399538384371156505, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534858, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:01.310336] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=189] [dc=0] server session is closing(ss_id=34329, server_sessid=3221760283, server_ip={172.20.2.117:2881}, cs_id=2147534858, proxy_sessid=12399538384371156505) [2022-07-29 14:35:01.310383] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534858, proxy_sessid=12399538384371156505, client_vc=NULL) [2022-07-29 14:35:01.310416] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] deallocating sm(sm_id=51505) [2022-07-29 14:35:01.310448] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:01.310560] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:01.310669] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:01.310782] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:01.310894] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:01.311022] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=126] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:01.311034] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:01.311041] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:01.311131] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:01.311153] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:01.311192] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] proxy mysql client session born(cs_id=2147534859) [2022-07-29 14:35:01.311217] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client session born(cs_id=2147534859, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:01.311273] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] Starting new transaction using sm(cs_id=2147534859, get_transact_count()=0, sm_id=51506) [2022-07-29 14:35:01.311297] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:01.311382] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:01.311535] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=40] [dc=0] server session born(ss_id=34330, server_ip={172.20.2.117:2881}, cs_id=2147534859, proxy_sessid=0, server_type=1) [2022-07-29 14:35:01.311888] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534859, proxy_sessid=12399538384371156506, server_ip={172.20.2.117:2881}, ss_id=34330, server_sessid=3221760284, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44712") [2022-07-29 14:35:01.312983] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=81] [dc=0] finishing mysql tunnel((sm_id=51506, cs_id=2147534859, proxy_sessid=12399538384371156506, ss_id=34330, server_sessid=3221760284, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:01.313188] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=178] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51506, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:01.313201] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:01.313208] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51506, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:01.313317] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=106] [dc=0] server session do_io_close((*this={ss_id:34330, server_sessid:3221760284, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534859, proxy_sessid:12399538384371156506, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534859, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:01.313512] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=186] [dc=0] server session is closing(ss_id=34330, server_sessid=3221760284, server_ip={172.20.2.117:2881}, cs_id=2147534859, proxy_sessid=12399538384371156506) [2022-07-29 14:35:01.313546] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client session destroy(cs_id=2147534859, proxy_sessid=12399538384371156506, client_vc=NULL) [2022-07-29 14:35:01.313579] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] deallocating sm(sm_id=51506) [2022-07-29 14:35:01.313595] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:01.313707] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:01.313816] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=109] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:01.313942] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=122] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:01.314054] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:01.314164] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:01.314191] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17166, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076501310969965, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:01.314227] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=33] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17166, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076501310969965, server_state_version:0}) [2022-07-29 14:35:01.314262] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:01.314288] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:01.314324] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=19] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17166, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076501310969965, server_state_version:0}) [2022-07-29 14:35:01.314345] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:01.314488] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:35:01.314513] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] data is NULL(sm_id=51504, ret=-4152) [2022-07-29 14:35:01.314625] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:01.314735] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51504, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:01.314912] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=51209, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:01.314967] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] deallocating sm(sm_id=51504) [2022-07-29 14:35:01.315368] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21582][Y0-7FF16944F280] [lt=12] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:01.315402] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B2C50] [lt=26] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:01.315416] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:01.315425] INFO [PROXY] ob_client_vc.cpp:587 [21582][Y0-7FF1691B29D0] [lt=5] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:01.315433] INFO [PROXY] ob_client_vc.cpp:1102 [21582][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:01.315436] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21582][Y0-7FF1691B29D0] [lt=3] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:06.248274] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=53] [dc=0] connection accepted(client={172.20.2.46:51448}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:35:06.248434] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51448}) [2022-07-29 14:35:06.248516] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=44] [dc=0] client session born(cs_id=51212, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=80, client_addr="172.20.2.46:51448") [2022-07-29 14:35:06.248559] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] Starting new transaction using sm(cs_id=51212, get_transact_count()=0, sm_id=51507) [2022-07-29 14:35:06.248589] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:06.333769] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:06.333796] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=26] [dc=0] client login audit(client_addr={172.20.2.46:51448}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:06.333815] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:06.333876] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=60] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:06.333889] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009be40) [2022-07-29 14:35:06.333899] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17167) [2022-07-29 14:35:06.334065] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076506334057, last_valid_time_us:1659076506333888, last_access_time_us:1659076506333888, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:06.334130] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:06.334165] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] proxy mysql client session born(cs_id=2147534861) [2022-07-29 14:35:06.334185] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] client session born(cs_id=2147534861, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:06.334208] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] Starting new transaction using sm(cs_id=2147534861, get_transact_count()=0, sm_id=51508) [2022-07-29 14:35:06.334228] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:06.334300] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:06.334418] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] server session born(ss_id=34331, server_ip={172.20.2.117:2881}, cs_id=2147534861, proxy_sessid=0, server_type=1) [2022-07-29 14:35:06.335983] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534861, proxy_sessid=12399538384371156507, server_ip={172.20.2.117:2881}, ss_id=34331, server_sessid=3221760291, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44714") [2022-07-29 14:35:06.338190] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=36] [dc=0] finishing mysql tunnel((sm_id=51508, cs_id=2147534861, proxy_sessid=12399538384371156507, ss_id=34331, server_sessid=3221760291, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:06.338326] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=115] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51508, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:06.338333] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:06.338337] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51508, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:06.338399] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=59] [dc=0] server session do_io_close((*this={ss_id:34331, server_sessid:3221760291, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534861, proxy_sessid:12399538384371156507, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534861, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:06.338522] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=117] [dc=0] server session is closing(ss_id=34331, server_sessid=3221760291, server_ip={172.20.2.117:2881}, cs_id=2147534861, proxy_sessid=12399538384371156507) [2022-07-29 14:35:06.338547] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534861, proxy_sessid=12399538384371156507, client_vc=NULL) [2022-07-29 14:35:06.338562] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] deallocating sm(sm_id=51508) [2022-07-29 14:35:06.338577] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:06.338641] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:06.338704] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:06.338770] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:06.338833] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=63] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:06.338899] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:06.338906] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:06.338911] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:06.339067] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:06.339084] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:06.339115] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534862) [2022-07-29 14:35:06.339133] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session born(cs_id=2147534862, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:06.339153] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] Starting new transaction using sm(cs_id=2147534862, get_transact_count()=0, sm_id=51509) [2022-07-29 14:35:06.339171] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:06.339228] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:06.339331] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] server session born(ss_id=34332, server_ip={172.20.2.118:2881}, cs_id=2147534862, proxy_sessid=0, server_type=1) [2022-07-29 14:35:06.339774] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] succ to set proxy_sessid(cs_id=2147534862, proxy_sessid=12399538384371156508, server_ip={172.20.2.118:2881}, ss_id=34332, server_sessid=3222023457, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41670") [2022-07-29 14:35:06.342547] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=81] [dc=0] finishing mysql tunnel((sm_id=51509, cs_id=2147534862, proxy_sessid=12399538384371156508, ss_id=34332, server_sessid=3222023457, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:06.342757] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=181] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51509, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:06.342782] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:06.342790] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51509, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:06.342908] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=114] [dc=0] server session do_io_close((*this={ss_id:34332, server_sessid:3222023457, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534862, proxy_sessid:12399538384371156508, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534862, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:35:06.343131] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=214] [dc=0] server session is closing(ss_id=34332, server_sessid=3222023457, server_ip={172.20.2.118:2881}, cs_id=2147534862, proxy_sessid=12399538384371156508) [2022-07-29 14:35:06.343168] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534862, proxy_sessid=12399538384371156508, client_vc=NULL) [2022-07-29 14:35:06.343201] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] deallocating sm(sm_id=51509) [2022-07-29 14:35:06.343221] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:06.343332] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:06.343442] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:06.343555] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:06.343666] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:06.343777] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=109] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:06.343793] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17167, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076506338416880, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:06.343825] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=29] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17167, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076506338416880, server_state_version:0}) [2022-07-29 14:35:06.343863] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:06.343890] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:06.343955] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17167, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076506338416880, server_state_version:0}) [2022-07-29 14:35:06.343978] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:06.344133] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:35:06.344159] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21584][Y0-7FF1691B1590] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:06.344189] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B2C50] [lt=21] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:06.344214] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:06.344228] INFO [PROXY] ob_client_vc.cpp:587 [21584][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:06.344242] INFO [PROXY] ob_client_vc.cpp:1102 [21584][Y0-7FF1691B29D0] [lt=14] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:06.344151] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] data is NULL(sm_id=51507, ret=-4152) [2022-07-29 14:35:06.344249] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21584][Y0-7FF1691B29D0] [lt=5] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:06.344251] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=99] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:06.344364] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51507, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:06.344541] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] client session destroy(cs_id=51212, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:06.344592] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] deallocating sm(sm_id=51507) [2022-07-29 14:35:11.175502] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51452}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:35:11.175629] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51452}) [2022-07-29 14:35:11.175688] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] client session born(cs_id=51215, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=78, client_addr="172.20.2.46:51452") [2022-07-29 14:35:11.175714] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=51215, get_transact_count()=0, sm_id=51510) [2022-07-29 14:35:11.175735] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:11.259106] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:11.259144] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] client login audit(client_addr={172.20.2.46:51452}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:11.259173] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:11.259187] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:11.259205] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c4a0) [2022-07-29 14:35:11.259220] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17168) [2022-07-29 14:35:11.259427] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=22] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff861b0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076511259417, last_valid_time_us:1659076511259203, last_access_time_us:1659076511259203, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff861b0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff862b0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:11.259531] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=102] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:11.259577] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] proxy mysql client session born(cs_id=2147534864) [2022-07-29 14:35:11.259617] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534864, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:11.259659] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534864, get_transact_count()=0, sm_id=51511) [2022-07-29 14:35:11.259701] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=35] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:11.259791] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:11.259967] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=32] [dc=0] server session born(ss_id=34333, server_ip={172.20.2.116:2881}, cs_id=2147534864, proxy_sessid=0, server_type=1) [2022-07-29 14:35:11.260401] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] succ to set proxy_sessid(cs_id=2147534864, proxy_sessid=12399538384371156509, server_ip={172.20.2.116:2881}, ss_id=34333, server_sessid=3221680148, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36652") [2022-07-29 14:35:11.261477] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=76] [dc=0] finishing mysql tunnel((sm_id=51511, cs_id=2147534864, proxy_sessid=12399538384371156509, ss_id=34333, server_sessid=3221680148, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:11.261725] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=217] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51511, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:11.261750] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:11.261758] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51511, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:11.261898] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=136] [dc=0] server session do_io_close((*this={ss_id:34333, server_sessid:3221680148, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534864, proxy_sessid:12399538384371156509, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534864, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:11.262121] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=214] [dc=0] server session is closing(ss_id=34333, server_sessid=3221680148, server_ip={172.20.2.116:2881}, cs_id=2147534864, proxy_sessid=12399538384371156509) [2022-07-29 14:35:11.262171] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] client session destroy(cs_id=2147534864, proxy_sessid=12399538384371156509, client_vc=NULL) [2022-07-29 14:35:11.262205] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] deallocating sm(sm_id=51511) [2022-07-29 14:35:11.262237] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=18] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:11.262347] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:11.262456] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:11.262569] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=108] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:11.262681] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=112] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:11.262812] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=129] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:11.262837] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:11.262845] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:11.263010] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:11.263035] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:11.263100] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] proxy mysql client session born(cs_id=2147534865) [2022-07-29 14:35:11.263127] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] client session born(cs_id=2147534865, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:11.263165] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=24] [dc=0] Starting new transaction using sm(cs_id=2147534865, get_transact_count()=0, sm_id=51512) [2022-07-29 14:35:11.263190] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:11.263275] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:11.263415] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session born(ss_id=34334, server_ip={172.20.2.118:2881}, cs_id=2147534865, proxy_sessid=0, server_type=1) [2022-07-29 14:35:11.263861] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] succ to set proxy_sessid(cs_id=2147534865, proxy_sessid=12399538384371156510, server_ip={172.20.2.118:2881}, ss_id=34334, server_sessid=3222023458, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41674") [2022-07-29 14:35:11.265963] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=55] [dc=0] finishing mysql tunnel((sm_id=51512, cs_id=2147534865, proxy_sessid=12399538384371156510, ss_id=34334, server_sessid=3222023458, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:11.266118] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=133] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51512, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:11.266127] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:11.266142] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51512, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:11.266227] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=82] [dc=0] server session do_io_close((*this={ss_id:34334, server_sessid:3222023458, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534865, proxy_sessid:12399538384371156510, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534865, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff861b0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:11.266369] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=136] [dc=0] server session is closing(ss_id=34334, server_sessid=3222023458, server_ip={172.20.2.118:2881}, cs_id=2147534865, proxy_sessid=12399538384371156510) [2022-07-29 14:35:11.266396] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] client session destroy(cs_id=2147534865, proxy_sessid=12399538384371156510, client_vc=NULL) [2022-07-29 14:35:11.266421] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] deallocating sm(sm_id=51512) [2022-07-29 14:35:11.266434] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:11.266522] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=88] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:11.266601] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:11.266674] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=70] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:11.266755] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=80] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:11.266835] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=79] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:11.266847] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17168, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076511262688200, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:11.266873] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17168, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076511262688200, server_state_version:0}) [2022-07-29 14:35:11.266899] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:11.266941] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:11.266972] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17168, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076511262688200, server_state_version:0}) [2022-07-29 14:35:11.266989] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:11.267109] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c440) [2022-07-29 14:35:11.267163] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21585][Y0-7FF16944F280] [lt=8] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:11.267127] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=16] [dc=0] data is NULL(sm_id=51510, ret=-4152) [2022-07-29 14:35:11.267211] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:11.267236] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B2C50] [lt=23] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:11.267249] INFO [PROXY] ob_client_vc.cpp:587 [21585][Y0-7FF1691B29D0] [lt=7] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:11.267200] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=72] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:11.267274] INFO [PROXY] ob_client_vc.cpp:1102 [21585][Y0-7FF1691B29D0] [lt=25] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:11.267282] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21585][Y0-7FF1691B29D0] [lt=7] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:11.267270] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=69] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51510, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:11.267380] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] client session destroy(cs_id=51215, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:11.267410] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] deallocating sm(sm_id=51510) [2022-07-29 14:35:16.296420] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=45] [dc=0] connection accepted(client={172.20.2.46:51454}, server={0.0.0.0:2883}, accepted_fd=79, listen_fd=77) [2022-07-29 14:35:16.296561] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51454}) [2022-07-29 14:35:16.296692] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] client session born(cs_id=51218, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=79, client_addr="172.20.2.46:51454") [2022-07-29 14:35:16.296725] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] Starting new transaction using sm(cs_id=51218, get_transact_count()=0, sm_id=51513) [2022-07-29 14:35:16.296754] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:16.388404] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:16.388436] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] client login audit(client_addr={172.20.2.46:51454}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:16.388463] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=19] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:16.388478] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:16.388507] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c1a0) [2022-07-29 14:35:16.388522] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17169) [2022-07-29 14:35:16.388722] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff7c700, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076516388711, last_valid_time_us:1659076516388568, last_access_time_us:1659076516388568, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff7c700, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff7c800, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:16.388825] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=101] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:16.388872] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] proxy mysql client session born(cs_id=2147534867) [2022-07-29 14:35:16.388902] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] client session born(cs_id=2147534867, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:16.388995] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534867, get_transact_count()=0, sm_id=51514) [2022-07-29 14:35:16.389013] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:16.389133] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:16.389337] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=39] [dc=0] server session born(ss_id=34335, server_ip={172.20.2.117:2881}, cs_id=2147534867, proxy_sessid=0, server_type=1) [2022-07-29 14:35:16.389696] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=27] [dc=0] succ to set proxy_sessid(cs_id=2147534867, proxy_sessid=12399538384371156511, server_ip={172.20.2.117:2881}, ss_id=34335, server_sessid=3221760296, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:44722") [2022-07-29 14:35:16.391308] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] finishing mysql tunnel((sm_id=51514, cs_id=2147534867, proxy_sessid=12399538384371156511, ss_id=34335, server_sessid=3221760296, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.117:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:16.391420] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=96] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51514, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:16.391426] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:16.391431] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51514, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:16.391483] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] server session do_io_close((*this={ss_id:34335, server_sessid:3221760296, server_ip:{172.20.2.117:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534867, proxy_sessid:12399538384371156511, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534867, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:16.391579] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=91] [dc=0] server session is closing(ss_id=34335, server_sessid=3221760296, server_ip={172.20.2.117:2881}, cs_id=2147534867, proxy_sessid=12399538384371156511) [2022-07-29 14:35:16.391598] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534867, proxy_sessid=12399538384371156511, client_vc=NULL) [2022-07-29 14:35:16.391618] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] deallocating sm(sm_id=51514) [2022-07-29 14:35:16.391631] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:16.391681] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:16.391727] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=46] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:16.391779] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=49] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:16.391827] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:16.391877] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=48] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:16.391883] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:16.391886] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:16.392011] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:16.392025] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:16.392041] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534868) [2022-07-29 14:35:16.392060] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] client session born(cs_id=2147534868, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:16.392075] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] Starting new transaction using sm(cs_id=2147534868, get_transact_count()=0, sm_id=51515) [2022-07-29 14:35:16.392081] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:16.392121] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae700, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:16.392192] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] server session born(ss_id=34336, server_ip={172.20.2.116:2881}, cs_id=2147534868, proxy_sessid=0, server_type=1) [2022-07-29 14:35:16.392611] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] succ to set proxy_sessid(cs_id=2147534868, proxy_sessid=12399538384371156512, server_ip={172.20.2.116:2881}, ss_id=34336, server_sessid=3221680202, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:36658") [2022-07-29 14:35:16.393846] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=40] [dc=0] finishing mysql tunnel((sm_id=51515, cs_id=2147534868, proxy_sessid=12399538384371156512, ss_id=34336, server_sessid=3221680202, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.116:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:16.393984] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51515, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:16.393991] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:16.393995] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51515, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:16.394064] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=67] [dc=0] server session do_io_close((*this={ss_id:34336, server_sessid:3221680202, server_ip:{172.20.2.116:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534868, proxy_sessid:12399538384371156512, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534868, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff7c700, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:16.394190] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=121] [dc=0] server session is closing(ss_id=34336, server_sessid=3221680202, server_ip={172.20.2.116:2881}, cs_id=2147534868, proxy_sessid=12399538384371156512) [2022-07-29 14:35:16.394217] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=2147534868, proxy_sessid=12399538384371156512, client_vc=NULL) [2022-07-29 14:35:16.394239] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] deallocating sm(sm_id=51515) [2022-07-29 14:35:16.394257] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:16.394321] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:16.394383] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:16.394449] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:16.394513] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:16.394576] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=62] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:16.394586] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17169, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076516391407420, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:16.394605] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17169, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076516391407420, server_state_version:0}) [2022-07-29 14:35:16.394635] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:16.394662] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=16] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:16.394686] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17169, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076516391407420, server_state_version:0}) [2022-07-29 14:35:16.394700] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:16.394822] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c3e0) [2022-07-29 14:35:16.394862] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21586][Y0-7FF1691B1590] [lt=5] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:16.394838] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] data is NULL(sm_id=51513, ret=-4152) [2022-07-29 14:35:16.394907] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B2C50] [lt=35] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:16.394948] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B2C50] [lt=39] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:16.394895] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=56] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:16.394965] INFO [PROXY] ob_client_vc.cpp:587 [21586][Y0-7FF1691B29D0] [lt=11] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:16.394990] INFO [PROXY] ob_client_vc.cpp:1102 [21586][Y0-7FF1691B29D0] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:16.394997] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21586][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:16.394960] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=64] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51513, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:16.395051] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] client session destroy(cs_id=51218, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:16.395077] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] deallocating sm(sm_id=51513) [2022-07-29 14:35:21.335940] INFO [PROXY.SOCK] ob_connection.cpp:367 [21601][Y0-0] [lt=54] [dc=0] connection accepted(client={172.20.2.46:51458}, server={0.0.0.0:2883}, accepted_fd=80, listen_fd=77) [2022-07-29 14:35:21.336081] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff167e9d120, client_ip={172.20.2.46:51458}) [2022-07-29 14:35:21.336138] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=25] [dc=0] client session born(cs_id=51221, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff167e9d120, client_fd=80, client_addr="172.20.2.46:51458") [2022-07-29 14:35:21.336183] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=29] [dc=0] Starting new transaction using sm(cs_id=51221, get_transact_count()=0, sm_id=51516) [2022-07-29 14:35:21.336198] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:21.409552] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:21.409574] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF167EAD3A0] [lt=21] [dc=0] client login audit(client_addr={172.20.2.46:51458}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:21.409587] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:21.409594] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:21.409604] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009c020) [2022-07-29 14:35:21.409612] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17170) [2022-07-29 14:35:21.409742] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff863c0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076521409734, last_valid_time_us:1659076521409603, last_access_time_us:1659076521409603, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff863c0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff864c0, tenant_servers:{this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:21.409789] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:21.409820] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534870) [2022-07-29 14:35:21.409831] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client session born(cs_id=2147534870, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:21.409851] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=6] [dc=0] Starting new transaction using sm(cs_id=2147534870, get_transact_count()=0, sm_id=51517) [2022-07-29 14:35:21.409868] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:21.409949] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:21.410043] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] server session born(ss_id=34337, server_ip={172.20.2.118:2881}, cs_id=2147534870, proxy_sessid=0, server_type=1) [2022-07-29 14:35:21.410648] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534870, proxy_sessid=12399538384371156513, server_ip={172.20.2.118:2881}, ss_id=34337, server_sessid=3222023459, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41680") [2022-07-29 14:35:21.417267] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] finishing mysql tunnel((sm_id=51517, cs_id=2147534870, proxy_sessid=12399538384371156513, ss_id=34337, server_sessid=3222023459, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:21.417402] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=110] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51517, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:21.417410] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:21.417422] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51517, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:21.417491] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=67] [dc=0] server session do_io_close((*this={ss_id:34337, server_sessid:3222023459, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534870, proxy_sessid:12399538384371156513, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534870, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:21.417618] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=114] [dc=0] server session is closing(ss_id=34337, server_sessid=3222023459, server_ip={172.20.2.118:2881}, cs_id=2147534870, proxy_sessid=12399538384371156513) [2022-07-29 14:35:21.417646] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] client session destroy(cs_id=2147534870, proxy_sessid=12399538384371156513, client_vc=NULL) [2022-07-29 14:35:21.417671] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] deallocating sm(sm_id=51517) [2022-07-29 14:35:21.417688] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:21.417754] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=66] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:21.417809] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=54] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:21.417887] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=74] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:21.417976] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=89] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:21.418038] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:21.418053] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:21.418058] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:21.418173] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:21.418188] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:21.418211] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] proxy mysql client session born(cs_id=2147534871) [2022-07-29 14:35:21.418227] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] client session born(cs_id=2147534871, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:21.418254] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] Starting new transaction using sm(cs_id=2147534871, get_transact_count()=0, sm_id=51518) [2022-07-29 14:35:21.418270] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF167EAD3A0] [lt=12] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:21.418333] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef10a0, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691ae5e0, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:21.418439] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF167EAD3A0] [lt=23] [dc=0] server session born(ss_id=34338, server_ip={172.20.2.118:2881}, cs_id=2147534871, proxy_sessid=0, server_type=1) [2022-07-29 14:35:21.418842] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF167EAD3A0] [lt=15] [dc=0] succ to set proxy_sessid(cs_id=2147534871, proxy_sessid=12399538384371156514, server_ip={172.20.2.118:2881}, ss_id=34338, server_sessid=3222023460, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41682") [2022-07-29 14:35:21.420583] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF167EAD3A0] [lt=26] [dc=0] finishing mysql tunnel((sm_id=51518, cs_id=2147534871, proxy_sessid=12399538384371156514, ss_id=34338, server_sessid=3222023460, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:21.420652] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF167EAD3A0] [lt=59] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51518, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:21.420657] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:21.420660] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51518, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:21.420700] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF167EAD3A0] [lt=39] [dc=0] server session do_io_close((*this={ss_id:34338, server_sessid:3222023460, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534871, proxy_sessid:12399538384371156514, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534871, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef10a0, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff863c0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:35:21.420768] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF167EAD3A0] [lt=65] [dc=0] server session is closing(ss_id=34338, server_sessid=3222023460, server_ip={172.20.2.118:2881}, cs_id=2147534871, proxy_sessid=12399538384371156514) [2022-07-29 14:35:21.420781] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=5] [dc=0] client session destroy(cs_id=2147534871, proxy_sessid=12399538384371156514, client_vc=NULL) [2022-07-29 14:35:21.420795] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=9] [dc=0] deallocating sm(sm_id=51518) [2022-07-29 14:35:21.420802] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF167EAD3A0] [lt=3] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:21.420839] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:21.420875] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:21.420913] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF167EAD3A0] [lt=37] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:21.420959] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF167EAD3A0] [lt=46] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:21.420996] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:21.421002] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17170, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076521417382565, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:21.421016] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF167EAD3A0] [lt=13] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17170, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076521417382565, server_state_version:0}) [2022-07-29 14:35:21.421032] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF167EAD3A0] [lt=7] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:21.421050] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=10] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:21.421077] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF167EAD3A0] [lt=14] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17170, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076521417382565, server_state_version:0}) [2022-07-29 14:35:21.421092] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF167EAD3A0] [lt=11] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:21.421158] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:35:21.421176] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF167EAD3A0] [lt=17] [dc=0] data is NULL(sm_id=51516, ret=-4152) [2022-07-29 14:35:21.421215] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF167EAD3A0] [lt=38] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:21.421252] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF167EAD3A0] [lt=36] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51516, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:21.421316] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF167EAD3A0] [lt=4] [dc=0] client session destroy(cs_id=51221, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:21.421341] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF167EAD3A0] [lt=8] [dc=0] deallocating sm(sm_id=51516) [2022-07-29 14:35:21.421354] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21552][Y0-7FF16944F280] [lt=9] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:21.421360] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B2C50] [lt=4] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:21.421373] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B2C50] [lt=13] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:21.421377] INFO [PROXY] ob_client_vc.cpp:587 [21552][Y0-7FF1691B29D0] [lt=3] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:21.421383] INFO [PROXY] ob_client_vc.cpp:1102 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:21.421389] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21552][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:26.377714] INFO [PROXY.SOCK] ob_connection.cpp:367 [21600][Y0-0] [lt=47] [dc=0] connection accepted(client={172.20.2.46:51460}, server={0.0.0.0:2883}, accepted_fd=78, listen_fd=77) [2022-07-29 14:35:26.377887] INFO [PROXY.NET] ob_mysql_session_accept.cpp:36 [21552][Y0-7FF16850F3A0] [lt=4] [dc=0] [ObMysqlSessionAccept:main_event] accepted connection(netvc=0x7ff1684ff120, client_ip={172.20.2.46:51460}) [2022-07-29 14:35:26.377986] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] client session born(cs_id=51224, proxy_sessid=0, is_local_connection=false, client_vc=0x7ff1684ff120, client_fd=78, client_addr="172.20.2.46:51460") [2022-07-29 14:35:26.378047] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=30] [dc=0] Starting new transaction using sm(cs_id=51224, get_transact_count()=0, sm_id=51519) [2022-07-29 14:35:26.378078] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:26.460422] INFO [PROXY] ob_vip_tenant_conn.cpp:160 [21552][Y0-7FF16850F3A0] [lt=22] [dc=0] vip tenant connect is not in vip_tenant_conn_cache(key_name=ocp_meta#ob_cluster|, ret=-4018) [2022-07-29 14:35:26.460458] INFO [PROXY.SM] ob_mysql_sm.cpp:2159 [21552][Y0-7FF16850F3A0] [lt=34] [dc=0] client login audit(client_addr={172.20.2.46:51460}, hsr.cluster_name_=ob_cluster, hsr.tenant_name_=ocp_meta, hsr.user_name_=ocp, status="success") [2022-07-29 14:35:26.460482] INFO [PROXY] ob_resource_pool_processor.cpp:1980 [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] can not find cluster resource, maybe it has not been created yet(cluster_info_key={cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, ret=-4018) [2022-07-29 14:35:26.460495] INFO [PROXY] ob_resource_pool_processor.cpp:2049 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] fail to acuqire avail cluster resource in local, will schedule task to create and init new cluster resource(cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:26.460511] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_CREATE_EVENT", init_status=0, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bf60) [2022-07-29 14:35:26.460523] INFO [PROXY] ob_resource_pool_processor.cpp:2121 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] will create new cluster resource(cluster_name=ob_cluster, cluster_id=0, cr_version=17171) [2022-07-29 14:35:26.460700] INFO [PROXY] ob_route_utils.cpp:1056 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] update sys tenant __all_dummy succ((cluster_name=ob_cluster, tmp_entry={{this:0x7ff16ff85fa0, ref_count:2, cr_version:0, cr_id:0, create_time_us:1659076526460689, last_valid_time_us:1659076526460509, last_access_time_us:1659076526460509, last_update_time_us:0, schema_version:0, tenant_version:0, time_for_expired:0, state:"AVAIL"}, this:0x7ff16ff85fa0, is_inited:true, is_dummy_entry:true, is_entry_from_rslist:false, is_empty_entry_allowed:false, is_need_force_flush:false, has_dup_replica:false, cr_id:0, name:{cluster_name:"ob_cluster", tenant_name:"sys", database_name:"oceanbase", package_name:"", table_name:"__all_dummy"}, table_id:1099511627911, table_type:"UNKNOWN", part_num:1, replica_num:3, buf_len:33, buf_start:0x7ff16ff860a0, tenant_servers:{this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}}) [2022-07-29 14:35:26.460790] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:26.460832] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534873) [2022-07-29 14:35:26.460858] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] client session born(cs_id=2147534873, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:26.460891] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] Starting new transaction using sm(cs_id=2147534873, get_transact_count()=0, sm_id=51520) [2022-07-29 14:35:26.460950] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=20] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:26.461047] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:26.461197] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] server session born(ss_id=34339, server_ip={172.20.2.118:2881}, cs_id=2147534873, proxy_sessid=0, server_type=1) [2022-07-29 14:35:26.461780] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=24] [dc=0] succ to set proxy_sessid(cs_id=2147534873, proxy_sessid=12399538384371156515, server_ip={172.20.2.118:2881}, ss_id=34339, server_sessid=3222023461, is_proxy_mysql_client=true, ss_fd=81, client_addr="172.20.2.119:41684") [2022-07-29 14:35:26.463290] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=57] [dc=0] finishing mysql tunnel((sm_id=51520, cs_id=2147534873, proxy_sessid=12399538384371156515, ss_id=34339, server_sessid=3222023461, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:26.463509] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=190] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51520, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:26.463521] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=11] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:26.463541] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51520, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:26.463658] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] server session do_io_close((*this={ss_id:34339, server_sessid:3222023461, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684c3720, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534873, proxy_sessid:12399538384371156515, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534873, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684c3720, this=0x7ff1684cf900) [2022-07-29 14:35:26.463858] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=191] [dc=0] server session is closing(ss_id=34339, server_sessid=3222023461, server_ip={172.20.2.118:2881}, cs_id=2147534873, proxy_sessid=12399538384371156515) [2022-07-29 14:35:26.463897] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client session destroy(cs_id=2147534873, proxy_sessid=12399538384371156515, client_vc=NULL) [2022-07-29 14:35:26.463950] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=38] [dc=0] deallocating sm(sm_id=51520) [2022-07-29 14:35:26.463969] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:26.464080] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=111] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:26.464212] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=131] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:26.464328] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=112] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:26.464441] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=113] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:26.464553] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=110] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:26.464566] INFO [PROXY] ob_resource_pool_processor.cpp:1100 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] local rs list cannot work, try to get newest rs list(init_status=3) [2022-07-29 14:35:26.464573] INFO [PROXY] ob_resource_pool_processor.cpp:824 [21552][Y0-7FF16850F3A0] [lt=6] [dc=0] will add INIT_RS task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:26.464700] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=1, cluster_name=ob_cluster, cluster_id=0, data=0x11bcbd40) [2022-07-29 14:35:26.464724] INFO [PROXY] ob_resource_pool_processor.cpp:844 [21552][Y0-7FF16850F3A0] [lt=23] [dc=0] will add INIT_SS_INFO task(this=0x7ff1691a8d10, cluster_name=ob_cluster, cluster_id=0) [2022-07-29 14:35:26.464755] INFO [PROXY.CS] ob_mysql_client_session.cpp:540 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] proxy mysql client session born(cs_id=2147534874) [2022-07-29 14:35:26.464773] INFO [PROXY.CS] ob_mysql_client_session.cpp:363 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] client session born(cs_id=2147534874, proxy_sessid=0, is_local_connection=true, client_vc=0x7ff1684bb5e0, client_fd=0, client_addr="0.0.0.0") [2022-07-29 14:35:26.464798] INFO [PROXY.CS] ob_mysql_client_session.cpp:234 [21552][Y0-7FF16850F3A0] [lt=12] [dc=0] Starting new transaction using sm(cs_id=2147534874, get_transact_count()=0, sm_id=51521) [2022-07-29 14:35:26.464817] INFO [PROXY.SM] ob_mysql_sm.cpp:474 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] the request already in buffer, continue to handle it(buffer len=0, is_auth_rquest=true) [2022-07-29 14:35:26.464898] INFO [PROXY.CS] ob_mysql_client_session.cpp:1599 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] base servers has not added, treat all tenant server as ok(tenant_server={this:0x7ff16fef1070, is_inited:true, server_count:3, replica_count:3, partition_count:1, next_partition_idx:0, server_array:0x7ff1691aea60, server_array_:[[0]{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [1]{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, [2]{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}]}, ret=0) [2022-07-29 14:35:26.465072] INFO [PROXY.SS] ob_mysql_server_session.cpp:105 [21552][Y0-7FF16850F3A0] [lt=50] [dc=0] server session born(ss_id=34340, server_ip={172.20.2.118:2881}, cs_id=2147534874, proxy_sessid=0, server_type=1) [2022-07-29 14:35:26.465814] INFO [PROXY.TXN] ob_mysql_transact.cpp:3516 [21552][Y0-7FF16850F3A0] [lt=25] [dc=0] succ to set proxy_sessid(cs_id=2147534874, proxy_sessid=12399538384371156516, server_ip={172.20.2.118:2881}, ss_id=34340, server_sessid=3222023462, is_proxy_mysql_client=true, ss_fd=82, client_addr="172.20.2.119:41686") [2022-07-29 14:35:26.467425] WARN [PROXY.SM] print_mysql_complete_log (ob_mysql_sm.cpp:4435) [21552][Y0-7FF16850F3A0] [lt=58] [dc=0] finishing mysql tunnel((sm_id=51521, cs_id=2147534874, proxy_sessid=12399538384371156516, ss_id=34340, server_sessid=3222023462, client_ip={*Not IP address [0]*:0}, server_ip={172.20.2.118:2881}, server_trace_id=, proxy_user_name=proxyro@sys#ob_cluster, database_name=, is_flow_controlled=false, cpu_flow_control_count=0, memory_flow_control_count=0, sql=, sql_cmd="Login", result={is_trans_completed:true, is_resp_completed:true, ending_type:2, is_partition_hit:true, has_new_sys_var:false, has_proxy_idc_name_user_var:false, is_server_db_reset:false, reserved_len:0, connection_id:0, scramble_buf:"", is_resultset_resp:false, server_capabilities_lower_.capability:0, ok_packet_action_type:2, last_ok_pkt_len:12, rewritten_last_ok_pkt_len:0, error_pkt:field_count:255, errcode:1045, sqlstate:"42000", message:"Access denied for user 'proxyro'@'xxx.xxx.xxx.xxx' (using password: NO)"}) [2022-07-29 14:35:26.467595] INFO [PROXY.SM] ob_mysql_sm.cpp:536 [21552][Y0-7FF16850F3A0] [lt=147] [dc=0] ObMysqlSM::state_client_request_read(event="VC_EVENT_EOS", sm_id=51521, client_vc=0x7ff1684bb5e0) [2022-07-29 14:35:26.467609] INFO [PROXY.TXN] ob_mysql_transact.cpp:78 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] [ObMysqlTransact::bad_request] parser marked request bad [2022-07-29 14:35:26.467615] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=5] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51521, request_cmd="Sleep", sql_cmd="End", sql=) [2022-07-29 14:35:26.467713] INFO [PROXY.SS] ob_mysql_server_session.cpp:145 [21552][Y0-7FF16850F3A0] [lt=95] [dc=0] server session do_io_close((*this={ss_id:34340, server_sessid:3222023462, server_ip:{172.20.2.118:2881}, is_inited:true, magic:19136237, state:2, server_vc:0x7ff1684cf320, client_session:{this:0x7ff16a2b96b0, is_proxy_mysql_client:true, is_waiting_trans_first_request:false, need_delete_cluster:false, is_first_dml_sql_got:true, vc_ready_killed:false, active:false, magic:19132429, conn_decrease:true, current_tid:21552, cs_id:2147534874, proxy_sessid:12399538384371156516, session_info:{is_inited:true, priv_info:{has_all_privilege:false, cs_id:2147534874, user_priv_set:-1, cluster_name:"ob_cluster", tenant_name:"sys", user_name:"proxyro"}, version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, hash_version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, global_vars_version:-1, is_global_vars_changed:false, is_trans_specified:false, is_user_idc_name_set:false, is_read_consistency_set:false, idc_name:"", cluster_id:0, real_meta_cluster_name:"", safe_read_snapshot:0, syncing_safe_read_snapshot:0, route_policy:1, proxy_route_policy:3, user_identity:4, global_vars_version:-1, is_read_only_user:false, is_request_follower_user:false}, dummy_ldc:{use_ldc:false, idc_name:"", item_count:3, site_start_index_array:[[0]0, [1]3, [2]3, [3]3], item_array:[[0]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.118:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [1]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.117:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}, [2]{idc_type:"SAME_IDC", zone_type:"ReadWrite", replica:{server:"172.20.2.116:2881", is_dup_replica:false, role:"FOLLOWER", type:"FULL"}, is_merging:false, is_partition_server:false, is_force_congested:false, is_used:false}], pl:null, ts:0x7ff16fef1070, readonly_exist_status:"READONLY_ZONE_NOT_EXIST"}, dummy_entry:0x7ff16ff85fa0, server_state_version:0, cur_ss:null, bound_ss:0x7ff1684cf900, lii_ss:null, cluster_resource:{this:0x7ff16fad8080, ref_count:5, is_inited:true, cluster_info_key:{cluster_name:{config_string:"obcloud"}, cluster_id:0}, cr_state:"CR_BORN", version:1, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:0, server_state_version:0}, client_vc:0x7ff1684bb5e0, using_ldg:false, trace_stats:NULL}, transact_count:1, server_trans_stat:0, session_info:{cap:0, ob_server:"0.0.0.0", version:{common_hot_sys_var_version:0, common_sys_var_version:0, mysql_hot_sys_var_version:0, mysql_sys_var_version:0, hot_sys_var_version:0, sys_var_version:0, user_var_version:0, db_name_version:0, last_insert_id_version:0}, val_hash:{common_hot_sys_var_hash:0, common_cold_sys_var_hash:0, mysql_hot_sys_var_hash:0, mysql_cold_sys_var_hash:0, hot_sys_var_hash:0, cold_sys_var_hash:0, user_var_hash:0}, checksum_switch:1, server_type:1}}, server_vc_=0x7ff1684cf320, this=0x7ff1684cf900) [2022-07-29 14:35:26.467874] INFO [PROXY.SS] ob_mysql_server_session.cpp:177 [21552][Y0-7FF16850F3A0] [lt=155] [dc=0] server session is closing(ss_id=34340, server_sessid=3222023462, server_ip={172.20.2.118:2881}, cs_id=2147534874, proxy_sessid=12399538384371156516) [2022-07-29 14:35:26.467904] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=10] [dc=0] client session destroy(cs_id=2147534874, proxy_sessid=12399538384371156516, client_vc=NULL) [2022-07-29 14:35:26.467947] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=32] [dc=0] deallocating sm(sm_id=51521) [2022-07-29 14:35:26.467972] WARN [PROXY] get_resultset_fetcher (ob_client_utils.cpp:244) [21552][Y0-7FF16850F3A0] [lt=17] [dc=0] fail to execute sql(ret=-1045) [2022-07-29 14:35:26.468065] WARN [PROXY] next (ob_client_utils.cpp:223) [21552][Y0-7FF16850F3A0] [lt=93] [dc=0] fail to get rs_fetcher(ret=-1045) [2022-07-29 14:35:26.468158] WARN [PROXY] finish_task (ob_resource_pool_processor.cpp:584) [21552][Y0-7FF16850F3A0] [lt=92] [dc=0] fail to get server state info(ret=-1045) [2022-07-29 14:35:26.468262] WARN [PROXY] handle_event_complete (ob_async_common_task.cpp:150) [21552][Y0-7FF16850F3A0] [lt=102] [dc=0] fail to do finish task(task_name="server_state_info_init_task", ret=-1045) [2022-07-29 14:35:26.468350] WARN [PROXY] main_handler (ob_async_common_task.cpp:59) [21552][Y0-7FF16850F3A0] [lt=88] [dc=0] fail to handle event complete(ret=-1045) [2022-07-29 14:35:26.468426] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] ObClusterResourceCreateCont::main_handler(event="ASYNC_TASK_DONE_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x11d1ad30) [2022-07-29 14:35:26.468438] INFO [PROXY] ob_resource_pool_processor.cpp:1227 [21552][Y0-7FF16850F3A0] [lt=9] [dc=0] cluster resource create complete(created_cr={this:0x7ff16fc34580, ref_count:3, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17171, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076526463486615, server_state_version:0}, pending_list_count=0) [2022-07-29 14:35:26.468454] INFO [PROXY] ob_resource_pool_processor.cpp:1656 [21552][Y0-7FF16850F3A0] [lt=14] [dc=0] ObClusterResource will destroy, and wait to be free(this={this:0x7ff16fc34580, ref_count:0, is_inited:true, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_INIT_FAILED", version:17171, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076526463486615, server_state_version:0}) [2022-07-29 14:35:26.468483] INFO [PROXY] ob_mysql_proxy.h:173 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] client pool will be destroyed(client_pool={this:0x7ff16fc8e320, ref_count:4, is_inited:true, stop:false, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:26.468516] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=21] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:true, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:{ref_count:1, this:0x7ff16fca2660, conn_failure_threshold:5, alive_failure_threshold:5, fail_window_sec:120, retry_interval_sec:20, min_keep_congestion_interval_sec:20}}) [2022-07-29 14:35:26.468546] INFO [PROXY] ob_resource_pool_processor.cpp:1614 [21552][Y0-7FF16850F3A0] [lt=15] [dc=0] the cluster resource will free(this={this:0x7ff16fc34580, ref_count:0, is_inited:false, cluster_info_key:{cluster_name:{config_string:"ob_cluster"}, cluster_id:0}, cr_state:"CR_DEAD", version:17171, last_access_time_ns:0, deleting_completed_thread_num:0, fetch_rslist_task_count:0, fetch_idc_list_task_count:0, last_idc_list_refresh_time_ns:0, last_rslist_refresh_time_ns:1659076526463486615, server_state_version:0}) [2022-07-29 14:35:26.468564] INFO [PROXY] ob_congestion_manager.cpp:103 [21552][Y0-7FF16850F3A0] [lt=13] [dc=0] ObCongestionManager will destroy(this={this:0x7ff16fc35680, is_inited:false, is_base_servers_added:false, is_congestion_enabled:true, zone_count:0, config:NULL}) [2022-07-29 14:35:26.468680] INFO [PROXY] ob_resource_pool_processor.cpp:1000 [21552][Y0-7FF16850F3A0] [lt=8] [dc=0] ObClusterResourceCreateCont::main_handler(event="CLUSTER_RESOURCE_INFORM_OUT_EVENT", init_status=3, cluster_name=ob_cluster, cluster_id=0, data=0x7ff17009bde0) [2022-07-29 14:35:26.468721] INFO [PROXY] ob_mysql_client_pool.cpp:135 [21570][Y0-7FF1691B1590] [lt=13] [dc=0] all mysql client has been scheduled to destroy self(deleted_count=2) [2022-07-29 14:35:26.468700] WARN [PROXY.SM] state_get_cluster_resource (ob_mysql_sm.cpp:1647) [21552][Y0-7FF16850F3A0] [lt=18] [dc=0] data is NULL(sm_id=51519, ret=-4152) [2022-07-29 14:35:26.468765] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B2C50] [lt=36] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:26.468791] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B2C50] [lt=24] [dc=0] mysql client will kill self(this=0x7ff16fc9ba20) [2022-07-29 14:35:26.468805] INFO [PROXY] ob_client_vc.cpp:587 [21570][Y0-7FF1691B29D0] [lt=8] [dc=0] mysql client active timeout(active_timeout_ms=0, next_action=1, info={user_name:"proxyro@sys#ob_cluster:0", database_name:"oceanbase", request_param:{sql:"", is_deep_copy:false, current_idc_name:"", is_user_idc_name_set:false, need_print_trace_stat:false}}) [2022-07-29 14:35:26.468840] INFO [PROXY] ob_client_vc.cpp:1102 [21570][Y0-7FF1691B29D0] [lt=34] [dc=0] mysql client will kill self(this=0x7ff16fc9bce0) [2022-07-29 14:35:26.468847] INFO [PROXY] ob_mysql_client_pool.cpp:203 [21570][Y0-7FF1691B29D0] [lt=6] [dc=0] client pool will be free(this={this:0x7ff16fc8e320, ref_count:0, is_inited:false, stop:true, mc_count:2, cluster_resource:0x7ff16fad8080}) [2022-07-29 14:35:26.468787] WARN [PROXY.TXN] handle_error_jump (ob_mysql_transact.cpp:65) [21552][Y0-7FF16850F3A0] [lt=85] [dc=0] [ObMysqlTransact::handle_error_jump] [2022-07-29 14:35:26.468863] WARN [PROXY.SM] setup_error_transfer (ob_mysql_sm.cpp:7159) [21552][Y0-7FF16850F3A0] [lt=75] [dc=0] [setup_error_transfer] Now closing connection(sm_id=51519, request_cmd="Sleep", sql_cmd="Login", sql=OB_MYSQL_COM_LOGIN) [2022-07-29 14:35:26.469005] INFO [PROXY.CS] ob_mysql_client_session.cpp:91 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] client session destroy(cs_id=51224, proxy_sessid=0, client_vc=NULL) [2022-07-29 14:35:26.469037] INFO [PROXY.SM] ob_mysql_sm.cpp:7696 [21552][Y0-7FF16850F3A0] [lt=7] [dc=0] deallocating sm(sm_id=51519)