-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
TaskRunner tracking bug #5512
Comments
Now we don't have to alternate between the coordinator thread and the task thread between task runs if the task returns 0. Instead the task thread can stay resident. This implementation works by having task runnables that can switch from the coordinator role (sleeping until the next task starts) and the executor role. #5512
Now we don't have to alternate between the coordinator thread and the task thread between task runs if the task returns 0. Instead the task thread can stay resident. This implementation works by having task runnables that can switch from the coordinator role (sleeping until the next task starts) and the executor role. #5512
Now we don't have to alternate between the coordinator thread and the task thread between task runs if the task returns 0. Instead the task thread can stay resident. This implementation works by having task runnables that can switch from the coordinator role (sleeping until the next task starts) and the executor role. #5512
To improve visibility I think I'll borrow from what we do for HTTP/2 frames: use logger.fine() to print events and metrics. If you know it exists you can turn it on, but no public API. |
This was a regression introduced with the TaskRunner changes. I couldn't find other places where daemon threads were likely to cause potential problems. #5512
This was a regression introduced with the TaskRunner changes. I couldn't find other places where daemon threads were likely to cause potential problems. #5512
This was a regression introduced with the TaskRunner changes. I couldn't find other places where daemon threads were likely to cause potential problems. #5512
I wanna build debug logging for tasks. Here’s a sketch of a sample log:
Notes:
These logs will be off by default. Enable |
A couple thoughts:
|
@swankjesse Nice work on this, impressive to see the progression! |
I think I'm ready to call this complete. Anything else you wanna see for observability or troubleshooting? |
@swankjesse let's follow up with that based on working through flaky CI tests. That's my main goal - can we use our own tools to after the fact debug |
No further action for this issue. Will work through flaky tests! |
This issue is intended to help me organize what’s done and needs doing for TaskRunner.
See also
The text was updated successfully, but these errors were encountered: