Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/candidate-9.2.x' into candidate-…
Browse files Browse the repository at this point in the history
…9.4.x

Signed-off-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday committed Jan 19, 2024
2 parents cc88ce3 + caa1ddf commit 1fc701a
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 1fc701a

Please sign in to comment.