[tor-bugs] #29589 [Core Tor/sbws]: Recover a destination when it stops failing

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 26 11:04:23 UTC 2019


#29589: Recover a destination when it stops failing
---------------------------+-----------------------------------
 Reporter:  juga           |          Owner:  (none)
     Type:  defect         |         Status:  new
 Priority:  Medium         |      Milestone:  sbws: 1.1.x-final
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.2
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:  1
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Old description:

> In #28897 we count consecutive destination failures and stop the scanners
> if there are not destinations that did not fail x consecutive times.
>
> As teor commented, this can be improved to:
> - recover a destination if it starts working again after short time
> - error when all destinations fail for long time
> - let the operator configure the time or number of failures to consider a
> destination is failing.
>
> Implementation possibilities:
> - A destination failing can be tried again with a low probability
> - Wait for some minutes before considering a destination fails (after if
> has failed)

New description:

 In #28897 we count consecutive destination failures. We stop a destination
 when it fails x (=10?) consecutive times. We stop the scanners if all
 destinations are stopped.

 As teor commented, this can be improved to:
 - recover a destination if it starts working again after short time
 - error when all destinations fail for long time
 - let the operator configure the time or number of failures to consider a
 destination is failing.

 Implementation possibilities:
 - A destination failing can be tried again with a low probability
 - Wait for some minutes before considering a destination fails (after it
 has failed)

--

Comment (by teor):

 Rewrite description

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


More information about the tor-bugs mailing list