storj/internal/testplanet
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
..
dir.go internal/testplanet: add missing consoleserver.Config (#2269) 2019-06-20 22:27:36 +02:00
planet_test.go internal/testplanet: fix conn leak (#3132) 2019-09-27 09:47:57 -06:00
planet.go satellite/satellitedb: switch to postgres only (#3320) 2019-10-18 22:03:10 +03:00
reconfigure.go satellite: make PointerDB an argument to satellite.New (#3233) 2019-10-10 21:06:26 +03:00
run_test.go Ensure that tally tests run against postgres (#1227) 2019-02-05 16:23:45 +02:00
run.go satellite/satellitedb: switch to postgres only (#3320) 2019-10-18 22:03:10 +03:00
satellite.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
storagenode.go storagenode/gracefulexit: Add graceful exit chore and worker. (#3262) 2019-10-15 11:29:47 -04:00
uplink_test.go all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
uplink.go pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00
versioning.go {internal/version,versioncontrol,cmd/storagenode-updater}: add rollout to storagenode updater (#3276) 2019-10-21 12:50:59 +02:00