trafficserver
trafficserver copied to clipboard
Create Task threads before scheduling tasks
Tasks are scheduled on NET threads as there are no task threads available when the tasks are scheduled.
[approve ci autest]
These are legit autest failures. At least one of these tests, has a global plugin that attempts to configure logging for itself, but crashes because logging hasn't been initialized yet.
[approve ci]
[approve ci autest]
This could be related to #8920
Noticed something interesting. The test is failing because after the change, it no longer runs on a ET_TASK
thread, instead it runs on the main thread for some reason.
I've got a fix for this autest failure, it also addresses the problem where there callback function being called manually. https://github.com/duke8253/trafficserver/commit/317e65ade30e6ff1b53360d52a2b1aeb1e195f96
Hi @vmamidi . Just making sure you saw @duke8253's message above. I've pulled in his fix internally at Yahoo and CI has been happy with it. It should fix things here.
[approve ci autest]
This is fixed by PR #8981
Remember to remove Milestone's and Project's when closing a PR without merging it.