[metrics-bugs] #27124 [Metrics/Onionoo]: Reading node statuses pointlessly initialises first seen millis as last seen millis

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 13 18:51:00 UTC 2018


#27124: Reading node statuses pointlessly initialises first seen millis as last
seen millis
---------------------------------+--------------------------
     Reporter:  irl              |      Owner:  metrics-team
         Type:  defect           |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Onionoo  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
---------------------------------+--------------------------
 {{{
       long firstSeenMillis = lastSeenMillis;
       firstSeenMillis = DateTimeHelper.parse(parts[15] + " " + parts[16]);
 }}}

 https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/onionoo/docs/NodeStatus.java#n568

 Maybe this was done for a reason and later broken, or maybe it was never
 needed.

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


More information about the metrics-bugs mailing list