[tor-bugs] #3020 [Tor Relay]: Mismatched accounting interval: moved by 90.32% when no DST changed

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Apr 28 23:19:15 UTC 2011


#3020: Mismatched accounting interval: moved by 90.32% when no DST changed
-----------------------+----------------------------------------------------
 Reporter:  BarkerJr   |          Owner:                     
     Type:  defect     |         Status:  needs_review       
 Priority:  minor      |      Milestone:  Tor: 0.2.2.x-final 
Component:  Tor Relay  |        Version:  Tor: 0.2.2.22-alpha
 Keywords:             |         Parent:                     
   Points:             |   Actualpoints:                     
-----------------------+----------------------------------------------------
Changes (by Sebastian):

  * status:  new => needs_review


Comment:

 indeed it is.
 The bug is in
 {{{
     long duration = length_of_accounting_period_containing(now);
     double delta = ((double)(s_now - interval_start_time)) / duration;
 }}}
 I think.

 I have an idea for a fix in branch bug3020 in my repository.

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


More information about the tor-bugs mailing list