From b73ab99c04275811f1fa1253f130979f2a2774f7 Mon Sep 17 00:00:00 2001 From: Rahim Kanji Date: Mon, 30 Jan 2023 11:51:40 +0500 Subject: [PATCH] Fixed timeout message --- lib/MySQL_Monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_Monitor.cpp b/lib/MySQL_Monitor.cpp index 4eda2c537..f5438206b 100644 --- a/lib/MySQL_Monitor.cpp +++ b/lib/MySQL_Monitor.cpp @@ -6786,7 +6786,7 @@ bool MySQL_Monitor::monitor_replication_lag_process_ready_tasks(const std::vecto } else { __sync_fetch_and_add(&replication_lag_check_ERR, 1); if (task_result == MySQL_Monitor_State_Data_Task_Result::TASK_RESULT_TIMEOUT) { - proxy_error("Timeout on replication lag health check for %s:%d after %lldms. If the server is overload, increase mysql-monitor_replication_lag_timeout. Assuming viable_candidate=NO and read_only=YES\n", mmsd->hostname, mmsd->port, (mmsd->t2 - mmsd->t1) / 1000); + proxy_error("Timeout on replication lag health check for %s:%d after %lldms. If the server is overload, increase mysql-monitor_replication_lag_timeout.\n", mmsd->hostname, mmsd->port, (mmsd->t2 - mmsd->t1) / 1000); } else if (task_result == MySQL_Monitor_State_Data_Task_Result::TASK_RESULT_FAILED) { MyHGM->p_update_mysql_error_counter(p_mysql_error_type::proxysql, mmsd->hostgroup_id, mmsd->hostname, mmsd->port, mysql_errno(mmsd->mysql));