bryancall commented on issue #9277: URL: https://github.com/apache/trafficserver/issues/9277#issuecomment-4828017020
This ThreadSanitizer data race on the global Thread::cur_time (the write in Thread::get_hrtime_updated() racing the read in Thread::get_hrtime() across ET_NET threads) was fixed by making that cached current time thread local in https://github.com/apache/trafficserver/pull/9184, the alternative approach to the related issue #9168. That fix first shipped in release 9.2.1. On current master the global Thread::cur_time and the get_hrtime_updated() and get_hrtime() methods no longer exist, and the cached high resolution time is now per thread, so the cross thread race reported here is gone. A later change, https://github.com/apache/trafficserver/pull/10163 (release 10.0.0), additionally ensured the thread local time is updated promptly. Closing as fixed. -- 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]
