Skip to content

Commit

Permalink
update 2
Browse files Browse the repository at this point in the history
Signed-off-by: liuyehcf <1559500551@qq.com>
  • Loading branch information
liuyehcf committed Aug 28, 2023
1 parent 529893a commit f64dc1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions be/src/exec/pipeline/audit_statistics_reporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Status AuditStatisticsReporter::report_audit_statistics(const TReportAuditStatis
msg << "ReportExecStatus() to " << fe_addr << " failed:\n" << e.what();
LOG(WARNING) << msg.str();
rpc_status = Status::InternalError(msg.str());
return rpc_status;
}
}

Expand All @@ -69,6 +70,7 @@ Status AuditStatisticsReporter::report_audit_statistics(const TReportAuditStatis
msg << "ReportExecStatus() to " << fe_addr << " failed:\n" << e.what();
LOG(WARNING) << msg.str();
rpc_status = Status::InternalError(msg.str());
return rpc_status;
}
return rpc_status;
}
Expand Down
2 changes: 2 additions & 0 deletions be/src/exec/pipeline/exec_state_reporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ Status ExecStateReporter::report_exec_status(const TReportExecStatusParams& para
msg << "ReportExecStatus() to " << fe_addr << " failed:\n" << e.what();
LOG(WARNING) << msg.str();
rpc_status = Status::InternalError(msg.str());
return rpc_status;
}
}

Expand All @@ -171,6 +172,7 @@ Status ExecStateReporter::report_exec_status(const TReportExecStatusParams& para
msg << "ReportExecStatus() to " << fe_addr << " failed:\n" << e.what();
LOG(WARNING) << msg.str();
rpc_status = Status::InternalError(msg.str());
return rpc_status;
}
return rpc_status;
}
Expand Down
4 changes: 2 additions & 2 deletions gensrc/thrift/FrontendService.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ struct TReportExecStatusParams {
}

struct TReportAuditStatisticsParams {
1: required Types.TUniqueId query_id
2: required Types.TUniqueId fragment_instance_id
1: optional Types.TUniqueId query_id
2: optional Types.TUniqueId fragment_instance_id
3: optional i64 scan_rows
4: optional i64 scan_bytes
5: optional i64 returned_rows
Expand Down

0 comments on commit f64dc1e

Please sign in to comment.