gavinchou commented on code in PR #54445:
URL: https://github.com/apache/doris/pull/54445#discussion_r2259585936
##########
be/src/cloud/cloud_internal_service.cpp:
##########
@@ -165,12 +165,14 @@ void
CloudInternalServiceImpl::warm_up_rowset(google::protobuf::RpcController* c
continue;
}
int64_t tablet_id = rs_meta.tablet_id();
+ bool local_only = !(request->has_force() && request->force());
auto res = _engine.tablet_mgr().get_tablet(tablet_id, /* warmup_data =
*/ false,
/* sync_delete_bitmap = */
true,
/* sync_stats = */ nullptr,
- /* local_only = */ true);
+ /* local_only = */
local_only);
if (!res.has_value()) {
LOG_WARNING("Warm up error ").tag("tablet_id",
tablet_id).error(res.error());
+ res.error().to_protobuf(response->mutable_status());
Review Comment:
response 返回一个 NOT_FOUND , 明确下 下游的 tablet 还没被cache
--
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]