You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2025/10/11 08:57:04 UTC
(doris) branch branch-4.0 updated: branch-4.0: [fix](recycler) Avoiding Null Pointer Dereference When Calling check_meta #56653 (#56775)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 993ef83cfeb branch-4.0: [fix](recycler) Avoiding Null Pointer Dereference When Calling check_meta #56653 (#56775)
993ef83cfeb is described below
commit 993ef83cfeb96f4823267403c24164452414df89
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Sat Oct 11 16:56:57 2025 +0800
branch-4.0: [fix](recycler) Avoiding Null Pointer Dereference When Calling check_meta #56653 (#56775)
Cherry-picked from #56653
Co-authored-by: Yixuan Wang <wa...@selectdb.com>
---
cloud/src/recycler/recycler_service.cpp | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/cloud/src/recycler/recycler_service.cpp b/cloud/src/recycler/recycler_service.cpp
index b2cd9712a4f..1c50af16bcb 100644
--- a/cloud/src/recycler/recycler_service.cpp
+++ b/cloud/src/recycler/recycler_service.cpp
@@ -656,10 +656,6 @@ void RecyclerServiceImpl::http(::google::protobuf::RpcController* controller,
auto port = uri.GetQuery("port");
auto user = uri.GetQuery("user");
auto password = uri.GetQuery("password");
- LOG(INFO) << " host " << *host;
- LOG(INFO) << " port " << *port;
- LOG(INFO) << " user " << *user;
- LOG(INFO) << " instance " << *instance_id;
if (instance_id == nullptr || instance_id->empty() || host == nullptr || host->empty() ||
port == nullptr || port->empty() || password == nullptr || user == nullptr ||
user->empty()) {
@@ -668,6 +664,10 @@ void RecyclerServiceImpl::http(::google::protobuf::RpcController* controller,
status_code = 400;
return;
}
+ LOG(INFO) << " host " << *host;
+ LOG(INFO) << " port " << *port;
+ LOG(INFO) << " user " << *user;
+ LOG(INFO) << " instance " << *instance_id;
check_meta(txn_kv_, *instance_id, *host, *port, *user, *password, msg);
status_code = 200;
response_body = msg;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org