[tor-bugs] #31936 [Circumvention/BridgeDB]: Write usage metrics to disk before terminating
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Oct 2 20:03:28 UTC 2019
#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
More information about the tor-bugs
mailing list