Skip to content

Commit d079a47

Browse files
author
Michael Schwarz
committed
Modify job state oom spelling to match future values
1 parent 8afc3b2 commit d079a47

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
DROP TABLE IF EXISTS job_cache;
2+
UPDATE job SET job_state='out_of_memory' WHERE job_state='out-of-memory';

internal/repository/migrations/sqlite3/09_add-job-cache.up.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ INSERT INTO lookup_exclusive (id, name) VALUES
7979
(1, 'none'),
8080
(2, 'single_user');
8181

82+
UPDATE job SET job_state='out-of-memory' WHERE job_state='out_of_memory';
83+
8284
INSERT INTO job_new (
8385
id, job_id, cluster, subcluster, submit_time, start_time, hpc_user, project,
8486
cluster_partition, array_job_id, duration, walltime, job_state, meta_data, resources,

0 commit comments

Comments
 (0)