storj/satellite/overlay
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
..
benchmark_test.go satellite/overlay: move CheckIn benchmark to overlay (#3095) 2019-09-20 16:35:52 -04:00
combinedcache.go all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
config.go update NodeSelectionConfig.OnlineWindow to 4hr default (#3082) 2019-09-18 14:57:57 -04:00
inspector.go all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
keylock_test.go Reduce UpdateAddress calls with address cache (#2681) 2019-08-06 16:56:12 -06:00
keylock.go Reduce UpdateAddress calls with address cache (#2681) 2019-08-06 16:56:12 -06:00
peeridentities_test.go satellite/metainfo: Verify storagenode signature on satellite upload (#2985) 2019-09-18 09:50:33 -04:00
peeridentities.go all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
piececount_test.go satellite/overlay: avoid large statement for piece counts (#3001) 2019-09-12 00:38:58 +03:00
selection_test.go satellite/overlay: do not include gracefully exiting nodes in node selection (#3211) 2019-10-08 15:03:38 -04:00
service_test.go cmd/satellite: add graceful exit reports command to satellite CLI (#3300) 2019-10-22 21:06:01 -04:00
service.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
statdb_test.go remove kademlia: create upsert query to update uptime (#2999) 2019-09-19 11:37:31 -07:00