From 22e78da4bbe4736d273cb61cd4cedb1e449bc2f1 Mon Sep 17 00:00:00 2001 From: Jake Smith Date: Fri, 12 Jan 2024 16:14:00 +0000 Subject: [PATCH] HPCC-30333 Suppress unsupported checkpoint recovery Signed-off-by: Jake Smith --- thorlcr/graph/thgraph.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/thorlcr/graph/thgraph.cpp b/thorlcr/graph/thgraph.cpp index deb69708ab8..4994ba9607d 100644 --- a/thorlcr/graph/thgraph.cpp +++ b/thorlcr/graph/thgraph.cpp @@ -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)