[tor-bugs] #30905 [Core Tor/sbws]: Maybe monitoring values in the state file should be reset when sbws is restarted

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 17 04:15:03 UTC 2019


#30905: Maybe monitoring values in the state file should be reset when sbws is
restarted
-------------------------------+-------------------------------
     Reporter:  juga           |      Owner:  (none)
         Type:  defect         |     Status:  new
     Priority:  Medium         |  Milestone:  sbws: unspecified
    Component:  Core Tor/sbws  |    Version:  sbws: 1.1.0
     Severity:  Normal         |   Keywords:
Actual Points:                 |  Parent ID:
       Points:  1              |   Reviewer:
      Sponsor:                 |
-------------------------------+-------------------------------
 I think the following keys should probably be restarted, to make less
 confusing what appears in the bandwidth file. For instance, after
 restarting longclaw's sbws, this is what the state file contains,
 consensus count and priority lists are reset, but not the others:

 {{{
     "recent_measurement_attempt_count": 671,
     "recent_consensus_count": 1,
     "recent_priority_relay_count": 984,
     "recent_priority_list_count": 3,
     "min_perc_reached": "2019-05-06T06:20:49",
 }}}

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


More information about the tor-bugs mailing list