[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #19830 [Metrics/CollecTor]: Check if recent directory exists before checking available space



#19830: Check if recent directory exists before checking available space
-------------------------------+---------------------------------
 Reporter:  karsten            |          Owner:  iwakeh
     Type:  defect             |         Status:  needs_review
 Priority:  Low                |      Milestone:  CollecTor 1.0.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+---------------------------------
Changes (by iwakeh):

 * status:  accepted => needs_review


Comment:

 Please review
 [https://gitweb.torproject.org/user/iwakeh/collector.git/commit/?h=task-19830
 my branch].

 Solution:
 Now check the root of given path. That should always exist and be
 accessible. Any IOException here is a major problem and escalated via
 RuntimeException.

 Added test for the problem and added some necessary test permissions.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19830#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs