[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #31936 [Circumvention/BridgeDB]: Write usage metrics to disk before terminating



#31936: Write usage metrics to disk before terminating
----------------------------------------+-----------------------
     Reporter:  phw                     |      Owner:  (none)
         Type:  defect                  |     Status:  new
     Priority:  Medium                  |  Milestone:
    Component:  Circumvention/BridgeDB  |    Version:
     Severity:  Normal                  |   Keywords:  s30-o21a1
Actual Points:                          |  Parent ID:  #31274
       Points:  1                       |   Reviewer:
      Sponsor:  Sponsor30-must          |
----------------------------------------+-----------------------
 BridgeDB writes its usage metrics to disk every 24 hours. It does not,
 however, write the metrics to disk when it's restarted, which means we are
 losing up to 24 hours worth of usage metrics after each restart. We should
 make BridgeDB write its incomplete metrics to disk before it terminates.

 Let's also make sure that this fix plays well with our logrotate cronjob
 on polyanthum.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31936>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs