Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JobManagement/DeleteJob does not completely delete the job #5

Open
lupreCSC opened this issue Sep 18, 2024 · 3 comments
Open

JobManagement/DeleteJob does not completely delete the job #5

lupreCSC opened this issue Sep 18, 2024 · 3 comments

Comments

@lupreCSC
Copy link

Deleting a job using the heappe/JobManagement/DeleteJob endpoint appears to delete the job-related files on the cluster but not the actual job information in the database.

Subsequent requests to heappe/JobManagement/CurrentInfoForJob with the same job id still responds with all the information about the job and it is also still included in heappe/JobManagement/ListJobsForCurrentUser with no indication that it was deleted.

This is an issue as we now longer can tell which jobs still exist and which require cleanup, as well as the data transferred in responses to ListJobsForCurrentUser growing ever larger.

@jkonvicka
Copy link
Contributor

Dear @lupreCSC,
in the next release there will be added propagation of JobState Deleted into the JobSpecification in the next release.

@lupreCSC
Copy link
Author

Thanks. That doesn't quite solve the problem for me, though. I would prefer if deleted things are truly deleted and not included in the listing returned by heappe/JobManagement/ListJobsForCurrentUser. The problem is that this is becoming a rather large list of completed jobs for us, leading to long response times of the HEAppE API. We are mostly interested in monitoring the currently running ones, so we would like to be able to remove the completed ones. Either by completely deleting them from the system or maybe via a filtering options for the heappe/JobManagement/ListJobsForCurrentUser endpoint.

@jkonvicka
Copy link
Contributor

I'm going to observe possibilities but filter option seems to be great idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants