[tor-bugs] #21365 [Metrics/Library]: Investigate whether descriptor parsing is guaranteed to be thread-safe

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jan 16 13:51:29 UTC 2020


#21365: Investigate whether descriptor parsing is guaranteed to be thread-safe
-----------------------------+------------------------------
 Reporter:  iwakeh           |          Owner:  metrics-team
     Type:  task             |         Status:  closed
 Priority:  Medium           |      Milestone:
Component:  Metrics/Library  |        Version:
 Severity:  Normal           |     Resolution:  fixed
 Keywords:  metrics-2018     |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+------------------------------
Changes (by karsten):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 We started parsing descriptors with multiple threads for #31204 which we
 deployed 2 months ago. In that context we discovered and fixed #32194. We
 have been parsing many, many descriptors in parallel since then. We didn't
 find anything else. I'd say it's safe to assume that there are either no
 more issues with thread-safety or that they're really hard to trigger. I
 also took a quick look at the metrics-lib code to see if there are similar
 bugs like #32194, but didn't find anything. Investigation concluded.
 Closing.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21365#comment:14>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list