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

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 29 06:06:53 UTC 2020

#33090: Make all Descriptor implementors serializable
 Reporter:  notirl       |          Owner:  metrics-team
     Type:  enhancement  |         Status:  new
 Priority:  Medium       |      Component:  Metrics/Library
  Version:               |       Severity:  Normal
 Keywords:               |  Actual Points:
Parent ID:               |         Points:
 Reviewer:               |        Sponsor:
 For most distributed/cloud data frameworks, it is necessary to serialize
 objects to pass them around the system.

 This change should be as simple as having the Descriptor interface extend
 Serializable, and then adding a constant serial UID to every implementing

 As we currently don't declare these as serializable, nothing is trying to
 serialize them, so this should be a low-risk change.

 The only issue I can see happening is if there are any members of
 implementation classes that are not serializable, but the majority of
 things are afaict.

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

More information about the metrics-bugs mailing list