storj/storagenode
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
..
bandwidth storagenode/storagenodedb: Migrate to separate dbs (#3081) 2019-09-23 12:36:46 -07:00
collector all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
console {versioncontrol,internal/version,cmd/*}: refactor version control (#3253) 2019-10-20 09:56:23 +02:00
contact satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
gracefulexit satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
inspector satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
monitor satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
nodestats all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
orders pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00
pieces storagenode/pieces: remove old comment (#3334) 2019-10-22 12:51:51 +03:00
piecestore storagenode/piecestore: Rename liveGRPCRequests back to liveRequests (#3354) 2019-10-23 13:43:43 -06:00
reputation all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
retain satellite/metainfo: add commit interval to prevent long delays between order limit creation and segment commit (#3149) 2019-10-01 12:55:02 -04:00
satellites storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
storagenodedb storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
storageusage all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
trust satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
operator.go storagenode/main: map aliases for kademlia config values (#3118) 2019-09-30 19:33:00 -04:00
peer.go pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00