storj/satellite
Yingrong Zhao fa1ac24e19
satellite/gracefulexit: add failure threshold check (#3329)
* add overall failure percentage check and inactive time frame check before sending a response to sno

* update comment

* delete node from transfer queue if it has been inactive for too long

* fix linting error

* add test config value

* fix nil pointer

* add config value into testplanet

* add unit test for overall failure threshold

* move timeframe threshold to chore

* update protolock

* add chore test

* add per peiece failure count logic

* change config name from EndpointMaxFailures to MaxFailuresPerPiece

* address comments

* fix linting error

* add error handling for no row returned from progress table

* fix test for graceful exit chore on storagenode

* fix typo InActive -> Inactive

* improve readability for failure threshold calculation

* update config lock

* change error handling for GetProgress in graceful exit endpoint on the satellite side

* return proper rpc error in endpoint

* add check in chore test for checking finish timestamp and queue
2019-10-24 12:24:42 -04:00
..
accounting satellite/accounting: add redis support to live accounting (#3213) 2019-10-16 12:50:29 -04:00
attribution satellite: remove remote/inline file from BucketTally (#3041) 2019-09-13 16:51:41 +03:00
audit pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00
console satellite/payments: credit card selection (#3304) 2019-10-23 20:33:24 +03:00
contact contact: small typo 2019-10-14 13:21:05 -06:00
dbcleanup all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
gc all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
gracefulexit satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
inspector all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
mailservice all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
marketingweb all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
metainfo uplink/metainfo: cleanup method names (#3315) 2019-10-22 23:59:56 -07:00
metrics satellite/metrics: create a metrics chore (#3263) 2019-10-16 14:08:33 -04:00
nodestats all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
orders storagenode/gracefulexit: Implement storage node graceful exit worker - part 1 (#3322) 2019-10-22 16:42:21 -04:00
overlay satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
payments satellite/payments: credit card selection (#3304) 2019-10-23 20:33:24 +03:00
repair satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
rewards all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
satellitedb satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
vouchers all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
api.go satellite/payments: add payments loop, update pending transactions (#3318) 2019-10-23 15:04:54 +03:00
peer.go satellite/payments: add payments loop, update pending transactions (#3318) 2019-10-23 15:04:54 +03:00