Project

General

Profile

Actions

Bug #7123

closed

[Crunch] Should not save any log record when log writing fails

Added by Brett Smith over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Crunch
Target version:
Story points:
0.5

Description

We've seen a few instances recently where crunch-job can't save the job's log because writing to Keep fails. At least in some cases, crunch-job ends up updating the job record with log=[the empty collection]. For an example, see su92l-8i9sb-bdaoy3zppoxju1i.

When this happens, it would be better if crunch-job did not update the log field, or expressly set it null. Other tools, like the API server's log cleaner rake task and Workbench, recognize a null log as a sign that there's no log in Keep, where they don't recognize the empty collection content address.


Subtasks 1 (0 open1 closed)

Task #7741: Review branch 7123-crunch-no-record-log-failure-wipResolvedBrett Smith11/09/2015Actions

Related issues

Related to Arvados - Bug #4748: [API] Explain why there are 21 jobs with log = ""ClosedActions
Actions

Also available in: Atom PDF