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

   `TSTextLogObjectDestroy()` can read `Log::config` and then wait for the API 
mutex of that config while `Log::change_configuration()` holds it. The reload 
copies the object to the manager of the new config. The destroy then removes 
the object only from the old manager, and the new manager keeps a pointer to an 
object that is scheduled for deletion.
   
   A retired manager now releases no object, and `TSTextLogObjectDestroy()` 
tries again with the new config. This is the same approach as #14114 for 
`TSTextLogObjectCreate()`.
   
   The new unit test covers the retired manager. The race itself is not 
reproduced.


-- 
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