koarz commented on code in PR #53114:
URL: https://github.com/apache/doris/pull/53114#discussion_r2203737536
##########
be/src/cloud/cloud_meta_mgr.cpp:
##########
@@ -382,6 +382,8 @@ Status retry_rpc(std::string_view op_name, const Request&
req, Response* res,
static_assert(std::is_base_of_v<::google::protobuf::Message, Request>);
static_assert(std::is_base_of_v<::google::protobuf::Message, Response>);
+
const_cast<Request&>(req).set_request_ip(BackendOptions::get_be_endpoint());
Review Comment:
get_local_backend return a TBackend, get_be_endpoint returned
‘local_host+heartbeat’ is sufficient to determine which be it is.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]