From 348ab14aafae4a11d5416c06c31180b33c514d26 Mon Sep 17 00:00:00 2001 From: TyphoonTai <531778559@qq.com> Date: Fri, 30 Jun 2023 16:32:19 +0800 Subject: [PATCH] modified: src/obproxy/proxy/mysql/ob_mysql_transact.cpp --- src/obproxy/proxy/mysql/ob_mysql_transact.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/obproxy/proxy/mysql/ob_mysql_transact.cpp b/src/obproxy/proxy/mysql/ob_mysql_transact.cpp index 69665f3..2e7fcaa 100644 --- a/src/obproxy/proxy/mysql/ob_mysql_transact.cpp +++ b/src/obproxy/proxy/mysql/ob_mysql_transact.cpp @@ -6154,9 +6154,9 @@ int ObMysqlTransact::ObTransState::get_config_item(const ObString& cluster_name, } } } - bool is_request_follower = true; + bool is_request_follower = false; if (is_weak_read_user){ - is_request_follower = (RequestFollower == 1); + is_request_follower = true; } else{ ObConfigIntItem int_item; if (OB_FAIL(get_global_config_processor().get_proxy_config_int_item( -- GitLab