[tor-bugs] #2930 [Tor Relay]: Overwrite files in stats/ directory rather than appending to them

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Aug 4 19:26:11 UTC 2011


#2930: Overwrite files in stats/ directory rather than appending to them
-------------------------+--------------------------------------------------
 Reporter:  karsten      |          Owner:                    
     Type:  enhancement  |         Status:  needs_review      
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Relay    |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------
Changes (by karsten):

  * status:  new => needs_review


Comment:

 Please review branch bug2930-4 in my public repository.  It implements all
 changes for this ticket (which turned out to be only three changed lines;
 ugh) and refactors a lot of code that makes the code easier to understand
 and that finally allows us to write unit tests for it.

 This code is now tested.  I ran it on a relay with reduced measurement
 interval of 1 hour and no inclusion of statistics in extra-info
 descriptors.  After that, I rebased some stuff, so I'll have to test it
 once again once it's in master.  (Please don't close the ticket after
 merging until I completed these tests.)

 Thanks in advance for reviewing this code!

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


More information about the tor-bugs mailing list