nerd icon indicating copy to clipboard operation
nerd copied to clipboard

What happens if the job is removed while datasets refer to it in their

Open advdv opened this issue 7 years ago • 3 comments

Whenever a job is removed while the dataset is referring to it "input from"/'output for" we might want to dereference this.

advdv avatar Feb 08 '18 16:02 advdv

I don't know if we should dereference this or just indicate that the job was removed (like with a star at the end of the job name j-gnt8l*?). Because if we dereference this, we will have some datasets without any information about jobs and I find it quite disturbing.

LilliJane avatar Feb 12 '18 08:02 LilliJane

I agree that removing the reference is probably confusing, if we decide to fetch the pods as part of the dataset listing (to see if the referenced job still exists) it might be worthwhile to also use this to fetch the state of the job and add it in the column. This can then also be used to indicate it was deleted. So like this (with proper columen spacing):

DATASET   CREATED AT       SIZE     INPUT FOR   OUTPUT FROM   
d-hf7k7   28 minutes ago   0 B                  j-j7kj8:running       
d-v6fdd   28 minutes ago   409 kB   j-j7kj8:deleted                   
d-fmmp2   2 days ago       2.3 kB   j-vv46m:completed                   

advdv avatar Feb 12 '18 11:02 advdv

This issue is also related to #355 #306

LilliJane avatar Mar 09 '18 13:03 LilliJane