This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.2
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.2 by this push:
new c28882d6db9 branch-4.2: [fix](cloud) Remove passwords from MetaChecker
connection warnings #70772 (#70853)
c28882d6db9 is described below
commit c28882d6db9120d044beb99ae4ee330490792c9c
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Nov 23 21:35:45 2026 +0800
branch-4.2: [fix](cloud) Remove passwords from MetaChecker connection
warnings #70772 (#70853)
Cherry-picked from #70772
Co-authored-by: Yixuan Wang <[email protected]>
---
cloud/src/recycler/meta_checker.cpp | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/cloud/src/recycler/meta_checker.cpp
b/cloud/src/recycler/meta_checker.cpp
index 5c5195aa00b..2b8324d7aa7 100644
--- a/cloud/src/recycler/meta_checker.cpp
+++ b/cloud/src/recycler/meta_checker.cpp
@@ -845,9 +845,8 @@ void MetaChecker::init_mysql_connection(const std::string&
host, const std::stri
if (!mysql_real_connect(&conn, host.c_str(), user.c_str(),
password.c_str(), "", stol(port),
nullptr, 0)) {
msg = "mysql conn failed ";
- LOG(WARNING) << msg << mysql_error(&conn) << " host " << host << "
port " << port
- << " user " << user << " password " << password << "
instance_id "
- << instance_id;
+ LOG(WARNING) << msg << "error_code " << mysql_errno(&conn) << " host "
<< host << " port "
+ << port << " user " << user << " instance_id " <<
instance_id;
return;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]