kaijchen commented on code in PR #54445:
URL: https://github.com/apache/doris/pull/54445#discussion_r2260303923
##########
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:
目前是
```
status=[INTERNAL_ERROR]PStatus:
(161.89.51.9)[INTERNAL_ERROR]tablet=1754572348368 does not exists in local
tablet cache, because param local_only=true, treat it as an error
```
--
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]