[metrics-bugs] #33090 [Metrics/Library]: Make all Descriptor implementors serializable

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Mar 12 22:05:33 UTC 2020

#33090: Make all Descriptor implementors serializable
 Reporter:  notirl           |          Owner:  metrics-team
     Type:  enhancement      |         Status:  needs_review
 Priority:  High             |      Milestone:
Component:  Metrics/Library  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:  irl              |        Sponsor:
Changes (by karsten):

 * status:  new => needs_review
 * priority:  Medium => High
 * cc: metrics-team (added)
 * reviewer:   => irl


 Alright, I have a branch that I tested with CollecTor's `recent/`
 directory and which might also work for your use case. (The trick with
 that TreeMap was to turn the lambda comparator into its own serializable
 `Comparator` class. It's not that all TreeMaps are non-serializable,

 Can you give this branch a try? The patch is
 commit e2fc2cb in my task-33090 branch].

 We should soon decide about revising/merging this branch, because it has
 high potential of creating merge conflicts with all the files it touches.
 Setting priority to high for that reason.

Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33090#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online

More information about the metrics-bugs mailing list