bneradt opened a new pull request, #13509:
URL: https://github.com/apache/trafficserver/pull/13509

   Pre-initialization plugin log buffers can be waiting when the logging
   workers start. A preprocessing thread can consume one before the flush
   queue exists and crash traffic_server while pushing the buffer to a null
   queue.
   
   This patch addresses the initialization race by constructing every
   logging notification and queue before spawning either worker. No logging
   thread can observe partially initialized shared queue state.
   
   This completes the startup ordering protection from #13472, which
   prevents plugins from waking a preprocessor before its notification
   exists but does not protect the flush queue after that worker starts.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to