Tars is a high-performance RPC framework based on name service and Tars protocol, also integrated administration platform, and implemented hosting-service via flexible schedule.
BSD 3-Clause "New" or "Revised" License
9.8k
stars
2.08k
forks
source link
Cdbhandle:: doupdateserverstatebatch, has anyone ever encountered the problem of batch operation MySQL failure? Multiple SQL statements fail all the time, and a single SQL statement is normal. #719
2020-05-29 14:51:52|26977|ERROR|CDbHandle::doUpdateServerStateBatch exception: [TC_Mysql::execute]: mysql_query: [ UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='DidKeyBuilder' AND server_name='didkeyClient' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyBuilder' AND server_name='didkeyServer' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyClient' AND server_name='didkeyClient' AND node_name='10.38.166.103' ] :You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE applicati' at line 1 sql:UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='DidKeyBuilder' AND server_name='didkeyClient' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyBuilder' AND server_name='didkeyServer' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyClient' AND server_name='didkeyClient' AND node_name='10.38.166.103'
2020-05-29 14:51:52|26977|ERROR|CDbHandle::doUpdateServerStateBatch exception: [TC_Mysql::execute]: mysql_query: [ UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='DidKeyBuilder' AND server_name='didkeyClient' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyBuilder' AND server_name='didkeyServer' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyClient' AND server_name='didkeyClient' AND node_name='10.38.166.103' ] :You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE applicati' at line 1 sql:UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='DidKeyBuilder' AND server_name='didkeyClient' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyBuilder' AND server_name='didkeyServer' AND node_name='10.38.166.103';UPDATE t_server_conf SET present_state='Inactive', process_id= 0 WHERE application='didkeyClient' AND server_name='didkeyClient' AND node_name='10.38.166.103'