[metrics-bugs] #22140 [Metrics/metrics-lib]: Store raw descriptor contents as UTF-8 encoded Strings rather than byte[]

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu May 4 08:17:30 UTC 2017


#22140: Store raw descriptor contents as UTF-8 encoded Strings rather than byte[]
---------------------------------+------------------------------
 Reporter:  karsten              |          Owner:  metrics-team
     Type:  enhancement          |         Status:  new
 Priority:  Medium               |      Milestone:
Component:  Metrics/metrics-lib  |        Version:
 Severity:  Normal               |     Resolution:
 Keywords:                       |  Actual Points:
Parent ID:                       |         Points:
 Reviewer:                       |        Sponsor:
---------------------------------+------------------------------

Comment (by karsten):

 Uhm, after working on #20333, I realized that we'll need to process raw
 bytes for calculating descriptor digests.  That defeats the plans above to
 some extent.  We'll need to work with raw bytes at least until files are
 split up into descriptors.  This doesn't mean that storing strings rather
 than raw bytes wouldn't still be beneficial.  But unfortunately this
 change won't give us the more complete toolbox that I was hoping for.
 Hmm.

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


More information about the metrics-bugs mailing list