Opened 11 months ago

#28003 new enhancement

Consider refactoring various code that makes descriptors persistent

Reported by: karsten Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/CollecTor Version:
Severity: Normal Keywords:
Cc: metrics-team Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

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.

Child Tickets

Change History (0)

Note: See TracTickets for help on using tickets.