[tor-bugs] #16424 [metrics-lib]: Add code to eventually support .xz compressed tarballs

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 19 10:48:31 UTC 2015


#16424: Add code to eventually support .xz compressed tarballs
-----------------------------+--------------------------
     Reporter:  karsten      |      Owner:  karsten
         Type:  enhancement  |     Status:  needs_review
     Priority:  normal       |  Milestone:
    Component:  metrics-lib  |    Version:
   Resolution:               |   Keywords:
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------

Comment (by leeroy):

 A archive file not being opened as an archive is not a good reason to
 abort reading. The malformed archive may occur last. In which case your
 modification to the archive stream helper just wasted all the time spent
 parsing previous archives. Which may potentially be a lot.

 The only time when an IO failure during read should abort the read process
 is during recent file read. These files are expected to be properly
 formed. However, if this event occurs, the parse history for archives
 should have already been updated, so as to prevent the slim chance of data
 loss. This does not happen. This problem has been brought up in #16426.

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


More information about the tor-bugs mailing list