storj/satellite/downtime
Moby von Briesen c4a9a5d48b satellite/downtime: update detection and estimation downtime chores for
more trustworthy downtime tracking

Detection chore: Do not update downtime at all from the detection chore.
We only want to include downtime between two explicitly failed ping attempts
(the duration between last contact success and the first failed ping is no longer
included in downtime calculation)

Estimation chore: If the satellite started after the last failed ping for a node,
do not include offline time since the last failed ping time - only
estimate based on two failed pings with no satellite downtime in
between.
This protects us from including satellite downtime in our storagenode downtime calculations.

Change-Id: I1fddc9f7255a7023e02474255d70c64faae75b8a
2020-02-10 22:37:01 +00:00
..
common.go all: use monkit v3 2020-02-05 23:53:17 +00:00
db_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
db.go satellite/{downtime,contact}: Add CheckNodeAvailability for use within the downtime tracking chores. 2020-01-02 18:24:11 +00:00
detection_chore_test.go satellite/downtime: update detection and estimation downtime chores for 2020-02-10 22:37:01 +00:00
detection_chore.go satellite/downtime: update detection and estimation downtime chores for 2020-02-10 22:37:01 +00:00
estimation_chore_test.go satellite/downtime: update detection and estimation downtime chores for 2020-02-10 22:37:01 +00:00
estimation_chore.go satellite/downtime: update detection and estimation downtime chores for 2020-02-10 22:37:01 +00:00
service_test.go satellite/{downtime,contact}: Add CheckNodeAvailability for use within the downtime tracking chores. 2020-01-02 18:24:11 +00:00
service.go uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00