Uh oh!
There was an error while loading. Please reload this page.
[enhance](meta-service) add real request ip for be rpc - #53114
Conversation
Thearas
commented
Jul 11, 2025
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
koarz
commented
Jul 11, 2025
run buildall |
hello-stephen
commented
Jul 11, 2025
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jul 11, 2025
FE UT Coverage ReportIncrement line coverage `` 🎉 |
doris-robot
commented
Jul 11, 2025
TPC-H: Total hot run time: 33139 ms |
Uh oh!
There was an error while loading. Please reload this page.
doris-robot
commented
Jul 11, 2025
TPC-DS: Total hot run time: 187412 ms |
| 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()); |
There was a problem hiding this comment.
what about BackendOptions::get_local_backend()
There was a problem hiding this comment.
get_local_backend return a TBackend, get_be_endpoint returned ‘local_host+heartbeat’ is sufficient to determine which be it is.
doris-robot
commented
Jul 11, 2025
ClickBench: Total hot run time: 29.64 s |
doris-robot
commented
Jul 11, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
koarz
commented
Jul 14, 2025
run buildall |
doris-robot
commented
Jul 14, 2025
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
hello-stephen
commented
Jul 14, 2025
FE UT Coverage ReportIncrement line coverage `` 🎉 |
doris-robot
commented
Jul 14, 2025
TPC-H: Total hot run time: 33385 ms |
doris-robot
commented
Jul 14, 2025
TPC-DS: Total hot run time: 187288 ms |
doris-robot
commented
Jul 14, 2025
ClickBench: Total hot run time: 30.37 s |
hello-stephen
commented
Jul 14, 2025
BE UT Coverage ReportIncrement line coverage Increment coverage report
|
koarz
commented
Jul 14, 2025
run vault_p0 |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
What problem does this PR solve?
Currently, when sending an RPC request to MS, it may go through LB. At this point, MS begins RPC output with LB's IP, which makes it difficult for us to know where the RPC request actually came from, making troubleshooting difficult. Now, add a request IP field to all requests and set it when sending RPC from BE. This way, even if it goes through LB, we can still obtain the original BE IP data.