[metrics-bugs] #28003 [Metrics/CollecTor]: Consider refactoring various code that makes descriptors persistent
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Oct 11 12:30:05 UTC 2018
#28003: Consider refactoring various code that makes descriptors persistent
-----------------------------------+--------------------------
Reporter: karsten | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/CollecTor | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-----------------------------------+--------------------------
From #27390:
''"How much does the new function in PersistenceUtils differ from the
similar functions:''
{{{
onionperf/OnionPerfDownloader.java: public void cleanUpRsyncDirectory()
throws ConfigurationException {
exitlists/ExitListDownloader.java: public void cleanUpRsyncDirectory() {
bridgedescs/SanitizedBridgesWriter.java: public void
cleanUpRsyncDirectory() throws ConfigurationException {
relaydescs/ArchiveWriter.java: public void cleanUpRsyncDirectory() {
}}}
''Currently webstats does seem to be the only module that uses the shared
function. The relaydescs module may need something more complex to handle
persisting microdescriptors for longer, but the other modules could maybe
just switch? This could be a new ticket."''
Needs discussion first.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/28003>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list