storj/pkg
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
..
auth all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
bloomfilter Implement garbage collection on satellite (#2577) 2019-07-24 13:26:43 -04:00
cfgstruct Uplink "import" command (#2981) 2019-09-13 12:33:30 -06:00
encryption all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
identity all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
listenmux pkg/listenmux: resolve deadlock in test 2019-09-20 21:16:59 +00:00
macaroon metainfo: move api keys to part of the request (#3069) 2019-09-19 10:19:29 -06:00
miniogw all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
paths Create and use an encryption.Store (#2293) 2019-06-24 19:23:07 +00:00
pb satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
peertls pkg/rpc: defeat MITM attacks in most cases (#3215) 2019-10-12 14:34:41 -06:00
pkcrypto Enable Scopelint Linter (#2049) 2019-05-29 09:30:16 -04:00
process {internal/version,versioncontrol,cmd/storagenode-updater}: add rollout to storagenode updater (#3276) 2019-10-21 12:50:59 +02:00
ranger all: enable staticcheck (#2849) 2019-08-22 13:40:15 +02:00
revocation pkg/revocation: ensure we close revocation databases (#2825) 2019-08-20 18:04:17 +03:00
rpc pkg/rpc: drpc connection pooling 2019-10-22 18:15:24 -06:00
server satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
signing rename all the things (#2531) 2019-07-28 08:55:36 +03:00
storj satellite/satellitedb: ensure that we process orders in order (#2950) 2019-09-06 17:49:30 +03:00
telemetry pkg/process: reduce noise in storj-sim (#2988) 2019-09-10 10:32:53 +03:00