[tor-bugs] #26797 [Core Tor/Tor]: DirAuths should only read the V3BandwidthsFile once per vote

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jul 16 02:36:41 UTC 2018


#26797: DirAuths should only read the V3BandwidthsFile once per vote
----------------------------+----------------------------------------------
     Reporter:  teor        |      Owner:  (none)
         Type:  defect      |     Status:  new
     Priority:  Medium      |  Milestone:  Tor: unspecified
    Component:  Core        |    Version:
  Tor/Tor                   |
     Severity:  Normal      |   Keywords:  tor-dirauth, metrics, tor-bwauth
Actual Points:              |  Parent ID:  #21377
       Points:              |   Reviewer:
      Sponsor:              |
----------------------------+----------------------------------------------
 Every time we read the file, we increase the risk of race conditions,
 where some code reads one version of the file, and other code reads
 another version.

 See #26702 for details.

 If we implement #21377, we should do this refactor first.

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


More information about the tor-bugs mailing list