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

make all jobs "waitable" #5738

Closed
garlick opened this issue Feb 14, 2024 · 1 comment
Closed

make all jobs "waitable" #5738

garlick opened this issue Feb 14, 2024 · 1 comment

Comments

@garlick
Copy link
Member

garlick commented Feb 14, 2024

Problem: one must submit a job with --flags=waitable in order to use flux job wait on it.

Originally, jobs were removed from the job manager upon transition to inactive but kept in the KVS. The waitable flag caused them to be kept in the job-manager until they they were reaped with flux job wait. Since that impacted the job manager memory footprint, it was neither the default, nor permitted for guests.

But now, the job manager keeps inactive jobs in memory and only removes them when they are purged from the system so the waitable flag has no impact on the job manager memory footprint. To improve the usability of flux job wait we might want to make all jobs waitable by default.

In addition, we should consider whether guests should be permitted to wait on the jobs they own.

@garlick
Copy link
Member Author

garlick commented Mar 4, 2024

This was implemented in #5748 but deemed not really worth the extra complexity.

@garlick garlick closed this as completed Mar 4, 2024
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

1 participant