-
Notifications
You must be signed in to change notification settings - Fork 124
fix double reap of tasks on app failure #4000
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
Conversation
dthain
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, we should be using switch-on-enum like this more consistently throughout the code.
bfa16a8 to
962541b
Compare
e4d3a1f to
694ceef
Compare
|
Odd build failures on this one, is it just a transient issue? The bug is a serious one, so it would be good to get the fix deployed soon. |
|
I agree! A simpler hot fix has been merged already (#4002). I'm trying to figure out why it fails in the docker CI but not locally. |
|
Ok, I figured out a few things here. First, there is a minor deficiency in our test scripts -- if the vine manager does not run to completion, then Now, the actual symptom is that the manager gets as far as running Task 14 to completion, then Task 15 is submitted and marked as READY.... and then does nothing. The worker, as designed, notices that nothing happens for ten seconds, and then bails out. Task 14 is |
|
So that makes me think that either the task does not match to the worker in scheduling, or some prior action manipulated the data structures improperly. One thing that does stand out to me as a potential problem is that the (newly modified) I am not entirely sure that is the source of the problem, but it looks suspicious to me. @btovar I hope that is helpful and I'll pass the baton back to you on this one. |
|
Related to #4109. Some conditionals just consider worker vs app failures. |
@JinZhou5042, this is related to the fix you did for
&=.@colinthomas-z80, this is fix I was talking about that might be hiding why you tasks get stuck.
Merge Checklist
The following items must be completed before PRs can be merged.
Check these off to verify you have completed all steps.
make testRun local tests prior to pushing.make formatFormat source code to comply with lint policies. Note that some lint errors can only be resolved manually (e.g., Python)make lintRun lint on source code prior to pushing.