Skip to content

Commit

Permalink
HPCC-32103 Roxie crash in soapcall after reaching TIMELIMIT
Browse files Browse the repository at this point in the history
Signed-off-by: M Kelly <[email protected]>
  • Loading branch information
mckellyln authored and ghalliday committed Jul 8, 2024
1 parent 647613d commit b983bfe
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 b983bfe

Please sign in to comment.