You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
task_job_logs will replace the log_files table in log/rose-job-logs.db.
This table should be consulted first if it exists.
We should only need to consult the log_files table in log/rose-job-logs.db
to see if the file is in a tar archive or is removed.
We should probably have a listing of tasks, with their jobs grouped together.
Job exit status does not always correspond to the task state.
matthewrmshin
changed the title
rose bush: take advantage new tables in cylc suite run time database file
rose bush: take advantage of new tables in cylc suite run time database file
Sep 22, 2015
Now that I have thought about it, there is no reason why we have to wait for moving job log housekeeping functionality to cylc. We can make assumption by doing a quick file listing looking for log/job/CYCLE/ directories and log/job-CYCLE.tar.gz files.
cylc/cylc-flow#1493 and cylc/cylc-flow#1503 introduce 3 new tables to the cylc suite run time database:
broadcasts
(see also cylc.rundb: new table for current broadcasts settings cylc/cylc-flow#1519)task_jobs
task_job_logs
Rose Bush should take advantage of them:
task_jobs
should be much easier to query thantask_events
.task_job_logs
will replace thelog_files
table inlog/rose-job-logs.db
.This table should be consulted first if it exists.
We should only need to consult the
log_files
table inlog/rose-job-logs.db
to see if the file is in a tar archive or is removed.
We should probably have a listing of tasks, with their jobs grouped together.
The text was updated successfully, but these errors were encountered: