Skip to content

Commit

Permalink
HPCC-31888 Fix unknownJob build break
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith authored and ghalliday committed May 20, 2024
1 parent a45cd2b commit 185b40b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dali/base/dasds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8846,7 +8846,7 @@ bool CDeltaWriter::save(std::queue<Owned<CTransactionItem>> &todo)
}
catch (IException *e)
{
LOG(MCoperatorWarning, unknownJob, e, "save: failed to touch delta in progress file");
LOG(MCoperatorWarning, e, "save: failed to touch delta in progress file");
e->Release();
}
// here if exception only
Expand Down Expand Up @@ -8909,14 +8909,14 @@ bool CDeltaWriter::save(std::queue<Owned<CTransactionItem>> &todo)
}
catch (IException *e)
{
LOG(MCoperatorWarning, unknownJob, e, "save: failure whilst committing deltas to disk! Remedial action must be taken");
LOG(MCoperatorWarning, e, "save: failure whilst committing deltas to disk! Remedial action must be taken");
e->Release();
// this is really an attempt at disaster recovery at this point
forceBlockingSave = true;
}
if (forceBlockingSave)
{
LOG(MCoperatorWarning, unknownJob, "Due to earlier failures, attempting forced/blocking save of Dali store");
LOG(MCoperatorWarning, "Due to earlier failures, attempting forced/blocking save of Dali store");
while (todo.size())
todo.pop();
SDSManager->saveStore(nullptr, false, false);
Expand Down

0 comments on commit 185b40b

Please sign in to comment.