Skip to content

Commit

Permalink
$$$[KQP] Status processing added$$$ (#8502)
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-shchetinin authored Aug 29, 2024
1 parent df3f77e commit ea7bd23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ydb/core/kqp/gateway/actors/analyze_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ void TAnalyzeActor::Handle(NStat::TEvStatistics::TEvAnalyzeResponse::TPtr& ev, c

const auto& record = ev->Get()->Record;
const TString operationId = record.GetOperationId();
const auto status = record.GetStatus();

if (status != NKikimrStat::TEvAnalyzeResponse::STATUS_SUCCESS) {
ALOG_CRIT(NKikimrServices::KQP_GATEWAY,
"TAnalyzeActor, TEvAnalyzeResponse has status=" << status);
}

if (operationId != OperationId) {
ALOG_CRIT(NKikimrServices::KQP_GATEWAY,
Expand Down

0 comments on commit ea7bd23

Please sign in to comment.