storj/storagenode
paul cannon 72189330fd satellite/gracefulexit: revamp graceful exit
Currently, graceful exit is a complicated subsystem that keeps a queue
of all pieces expected to be on a node, and asks the node to transfer
those pieces to other nodes one by one. The complexity of the system
has, unfortunately, led to numerous bugs and unexpected behaviors.

We have decided to remove this entire subsystem and restructure graceful
exit as follows:

* Nodes will signal their intent to exit gracefully
* The satellite will not send any new pieces to gracefully exiting nodes
* Pieces on gracefully exiting nodes will be considered by the repair
  subsystem as "retrievable but unhealthy". They will be repaired off of
  the exiting node as needed.
* After one month (with an appropriately high online score), the node
  will be considered exited, and held amounts for the node will be
  released. The repair worker will continue to fetch pieces from the
  node as long as the node stays online.
* If, at the end of the month, a node's online score is below a certain
  threshold, its graceful exit will fail.

Refs: https://github.com/storj/storj/issues/6042
Change-Id: I52d4e07a4198e9cb2adf5e6cee2cb64d6f9f426b
2023-09-27 08:40:01 +00:00
..
apikeys multinode/payouts: estimated payouts added 2021-05-11 11:33:32 +00:00
bandwidth storagenode: add doc.go files for sno packages 2021-09-29 08:24:56 +00:00
blobstore cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
collector storagenode/collector: delete expired piece info if file does not exist 2022-09-15 12:29:29 +00:00
console payments: don't redefine compensation rates twice 2023-06-10 12:40:43 +00:00
contact satellite,storagenode: propagate node tags with NodeCheckin 2023-07-05 13:45:42 +00:00
gracefulexit satellite/gracefulexit: revamp graceful exit 2023-09-27 08:40:01 +00:00
healthcheck storagenode: accept HTTP calls on public port, listening for monitoring requests 2022-08-26 09:38:09 +00:00
inspector storagenode: add doc.go files for sno packages 2021-09-29 08:24:56 +00:00
internalpb all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
iopriority storagenode: run garbage collection filewalker as a low I/O subprocess 2023-05-02 19:43:38 +00:00
monitor storagenode/monitor: ignore shutdown errors 2023-08-16 11:53:58 +00:00
multinode {storagenode,web/multinode}: fix storage usage db/cache retrieval queries 2022-12-09 11:07:33 +00:00
nodestats storagenode/nodestats: add monkit metrics for reputation scores 2022-09-15 08:43:48 +00:00
notifications storagenode/console/consoleapi: use fixed time.Now() 2022-07-01 12:36:01 +03:00
operator storagenode: wallet features 2021-03-24 09:08:36 +00:00
orders satellite: move satellite/nodeselection/uploadselection => satellite/nodeselection 2023-07-07 10:32:03 +02:00
payouts {storagenode,web/multinode}: fix storage usage db/cache retrieval queries 2022-12-09 11:07:33 +00:00
pieces storagenode/piecestore: implement trash recovery for download requests 2023-09-05 23:04:21 +00:00
piecestore storagenode/piecestore: implement trash recovery for download requests 2023-09-05 23:04:21 +00:00
piecetransfer private/server,satellite/contact,misc: use new storj/common noise helpers 2023-02-07 09:53:45 -05:00
preflight storagenode/satellites: address added, caching satellite's addresses from trust 2021-07-08 15:38:23 +00:00
pricing all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
reputation cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
retain {storagenode/pieces,cmd/storagenode}: refactor lazyfilewalker commands and tests 2023-06-02 00:11:53 +00:00
satellites cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
storagenodedb cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
storageusage storagenode: fix B*h to bytes disk usage conversion 2023-02-06 18:50:31 +00:00
trust cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
version storagenode/suspensions: added offline-suspension notificatio chore + tests 2020-10-29 19:44:22 +02:00
peer.go satellite,storagenode: propagate node tags with NodeCheckin 2023-07-05 13:45:42 +00:00