Skip to content

Commit

Permalink
Merge pull request #18796 from mckellyln/hpcc-32103
Browse files Browse the repository at this point in the history
HPCC-32103 Roxie crash in soapcall after reaching TIMELIMIT

Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Jun 21, 2024
2 parents 1cd728c + ad67f96 commit 1a45799
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions common/thorhelper/thorsoapcall.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2642,12 +2642,11 @@ class CWSCAsyncFor : implements IWSCAsyncFor, public CInterface, public CAsyncFo
{
// other roxie exception ...
master->logctx.CTXLOG("Exiting: received Roxie exception");
master->activitySpanScope->recordException(e, true, true);
if (e->errorRow())
processException(url, e->errorRow(), e);
else
processException(url, inputRows, e);

master->activitySpanScope->recordException(e, true, true);
break;
}
}
Expand All @@ -2657,10 +2656,10 @@ class CWSCAsyncFor : implements IWSCAsyncFor, public CInterface, public CAsyncFo
persistentHandler->doneUsing(socket, false);
if (master->timeLimitExceeded)
{
processException(url, inputRows, e);
VStringBuffer msg("%s exiting: time limit (%ums) exceeded", getWsCallTypeName(master->wscType), master->timeLimitMS);
master->logctx.CTXLOG("%s", msg.str());
master->activitySpanScope->recordError(SpanError(msg.str(), e->errorCode(), true, true));
processException(url, inputRows, e);
break;
}

Expand Down

0 comments on commit 1a45799

Please sign in to comment.