[tor-bugs] #1863 [Tor Relay]: Relays should store observed bandwidth in state file

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jan 10 20:13:45 UTC 2011


#1863: Relays should store observed bandwidth in state file
-----------------------+----------------------------------------------------
 Reporter:  mikeperry  |       Owner:                    
     Type:  defect     |      Status:  needs_review      
 Priority:  normal     |   Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |     Version:  Tor: 0.2.2.x-final
 Keywords:             |      Parent:                    
-----------------------+----------------------------------------------------
Changes (by nickm):

  * status:  new => needs_review


Comment:

 I went to refactor the code a bit and found out that we aren't actually
 doing anything to make the maxima persistent, but it is the maxima that we
 look at in rep_hist_bandwidth_assess.  That would explain why even after
 starting back up immediately, Tor would think it had done nothing for the
 last 24 hours.

 I have a fix for this and some other rephist load/save issues in branch
 bug1863_bwhist in my public.  It needs review and testing.

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


More information about the tor-bugs mailing list