Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed May 25, 2024
1 parent c3f90d9 commit b4fb086
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions be/src/agent/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ Status MasterServerClient::confirm_unused_remote_files(
client->confirmUnusedRemoteFiles(*result, request);
} catch (TTransportException& e) {
#ifdef ADDRESS_SANITIZER
return Status::RpcError<false>("Master client confirm_unused_remote_files failed due to {}",
e.what());
return Status::RpcError<false>(
"Master client confirm_unused_remote_files failed due to {}", e.what());
#else
TTransportException::TTransportExceptionType type = e.getType();
if (type != TTransportException::TTransportExceptionType::TIMED_OUT) {
Expand Down
5 changes: 2 additions & 3 deletions be/src/runtime/fragment_mgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -441,9 +441,8 @@ void FragmentMgr::coordinator_callback(const ReportStatusRequest& req) {
coord->reportExecStatus(res, params);
} catch (TTransportException& e) {
#ifdef ADDRESS_SANITIZER
rpc_status =
Status::RpcError<false>("Master client confirm_unused_remote_files failed due to {}",
e.what());
rpc_status = Status::RpcError<false>(
"Master client confirm_unused_remote_files failed due to {}", e.what());
req.cancel_fn(rpc_status);
return;
#else
Expand Down

0 comments on commit b4fb086

Please sign in to comment.