-
Notifications
You must be signed in to change notification settings - Fork 94
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
Proposed new task polling logic. #1792
Milestone
Comments
(TBD - polling of 'retrying' tasks, or not) |
Good idea. Note that job poll results should contain time information from the job status file, so we should know what to trust or not. |
Regarding polling and pre-emption (/resurrection) see #1514 |
@matthewrmshin says:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This arises from the need to allowing polling of failed tasks as discussed in #1762, partly in order to make tests that detect failure of a remote poll operation (given than batch schedulers typically list tasks for some minutes after they've exited, during which time they will poll as running if the batch queue has to be interrogated).
if it takes the task state forward[UPDATE]
the last (more difficult) bit is not needed, because the job status file (reliably) records job success or failure - we only interrogate the batch queue if the this information is not in the status file yet[I think that misses the point - removing the strike-through over the last bullet point][UPDATE 2] - if batch scheduler preempts by kill and re-queue, we might want a poll to take the job state backwards ('failed' => 'submitted') - but would need to interrogate the batch scheduler rather than the job status file.
The text was updated successfully, but these errors were encountered: