AceMeistr opened a new pull request, #13227: URL: https://github.com/apache/trafficserver/pull/13227
Resolve concurrent read/write data races by using std::scoped_lock in operator= and locking other.ctx_mutex at the start of the copy constructor. 1. Replaced the manual lock definition and sequence with std::scoped_lock 2. Pushed lock guard to beginning to avoid source mutation during read to avoid data race by threads [ISSUE #13225](https://github.com/apache/trafficserver/issues/13225#issuecomment-4605557677) -- 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]
