storj/satellite/satellitedb
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
..
dbx satellite/payments: add payments loop, update pending transactions (#3318) 2019-10-23 15:04:54 +03:00
pbold Change protobuf expirations to use time.Time (#2509) 2019-07-09 17:54:00 -04:00
satellitedbtest satellite/satellitedb: switch to postgres only (#3320) 2019-10-18 22:03:10 +03:00
testdata satellite/satellitedb: add exit_status column to nodes table (#3301) 2019-10-17 11:01:39 -04:00
apikeys.go satellite/console: Added error for adding api key with existing name attempt. (#3185) 2019-10-10 16:28:35 +03:00
attribution_test.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
attribution.go satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
buckets.go value attribution merge fix and more test cases (#2588) 2019-07-19 11:17:34 -04:00
bucketusage.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
coinpaymentstxs.go satellite/payments: add payments loop, update pending transactions (#3318) 2019-10-23 15:04:54 +03:00
consoledb_test.go Console postgres tests (#1188) 2019-01-31 15:01:13 +02:00
consoledb.go satellite/console: remove payments (#3074) 2019-09-27 12:46:37 +03:00
containment.go satellite/satellitedb: use noreturn (#3022) 2019-09-12 20:31:50 +03:00
customers.go satellite/payments: credit card selection (#3304) 2019-10-23 20:33:24 +03:00
database.go satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
gracefulexit.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
irreparabledb.go satellite/satellitedb: use noreturn (#3022) 2019-09-12 20:31:50 +03:00
migrate_postgres_test.go migrate: Allow work on separate dbs (#2996) 2019-09-10 13:42:23 -06:00
migrate.go satellite/satellitedb: add exit_status column to nodes table (#3301) 2019-10-17 11:01:39 -04:00
offers.go satellite/satellitedb: use noreturn (#3022) 2019-09-12 20:31:50 +03:00
orders.go satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
overlaycache.go satellite/gracefulexit: add failure threshold check (#3329) 2019-10-24 12:24:42 -04:00
peeridentities.go satellite/satellitedb: use noreturn (#3022) 2019-09-12 20:31:50 +03:00
projectaccounting.go satellite: remove remote/inline file from BucketTally (#3041) 2019-09-13 16:51:41 +03:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projects_test.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
projects.go satellite/console: store partner id on api key and project creation (#2743) 2019-08-12 17:29:40 -04:00
regtokens.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
repairqueue.go satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
resetpasstokens.go satellite: add monkit task to missing places (#2108) 2019-06-04 13:55:37 +02:00
storagenodeaccounting.go satellite/satellitedb: use noreturn (#3022) 2019-09-12 20:31:50 +03:00
usagerollups.go Fix the way project_id is stored in bucket_storage_tallies and bucket_bandwidth_rollups (#2283) 2019-06-21 11:38:37 -04:00
usercredits.go satellite/satellitedb: remove sqlite support (#3296) 2019-10-19 00:27:57 +03:00
users_test.go Use mail.test as domain in emails (#2224) 2019-06-18 02:28:40 +02:00
users.go satellite/console: Added email normalization to users table (#2586) 2019-09-10 17:00:33 +03:00
utils_test.go internal/testrand: new package for random data (#2282) 2019-06-26 13:38:51 +03:00
utils.go web/satellite: API keys paged backend (#2839) 2019-09-12 17:19:30 +03:00