#29589 closed defect (implemented)

Recover a destination when it stops failing

Reported by: juga Owned by:
Priority: Medium Milestone: sbws: 1.1.x-final
Component: Core Tor/sbws Version: sbws: 1.0.2
Severity: Normal Keywords: changes-version-patch
Cc: juga Actual Points: 1
Parent ID: Points: 1
Reviewer: ahf Sponsor:

Description (last modified by teor)

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)

Child Tickets

Change History (7)

comment:1 Changed 18 months ago by teor

Description: modified (diff)

Rewrite description

comment:2 Changed 17 months ago by juga

Keywords: changes-version-patch added

Add keyword to tickets that imply a change of version patch, since it might affect the results, but in a backwards compatible way and doesn't add functionality.

comment:3 Changed 17 months ago by juga

Status: newneeds_review

comment:4 Changed 17 months ago by asn

Reviewer: ahf

comment:5 Changed 17 months ago by ahf

Status: needs_reviewmerge_ready

Looks good. I left a minor comment there, which is more of a style option.

comment:6 Changed 17 months ago by juga

Actual Points: 1

Thanks, changed that.

comment:7 Changed 17 months ago by juga

Resolution: implemented
Status: merge_readyclosed


Note: See TracTickets for help on using tickets.