Skip to content

Commit

Permalink
HPCC-30333 Suppress unsupported checkpoint recovery
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith committed Jan 12, 2024
1 parent 0ce4f3d commit 22e78da
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion thorlcr/graph/thgraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2907,7 +2907,13 @@ void CJobBase::addDependencies(IPropertyTree *xgmml, bool failIfMissing)

bool CJobBase::queryUseCheckpoints() const
{
return globals->getPropBool("@checkPointRecovery") || 0 != getWorkUnitValueInt("checkPointRecovery", 0);
bool configured = globals->getPropBool("@checkPointRecovery") || 0 != getWorkUnitValueInt("checkPointRecovery", 0);
if (configured && isContainerized())
{
WARNLOG("Containerized Thor does not support checkpoint recovery");
return false;
}
return configured;
}

void CJobBase::abort(IException *e)
Expand Down

0 comments on commit 22e78da

Please sign in to comment.