storj/cmd
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
..
certificates certificate/authorization,cmd/certificates: remove gob code 2023-02-08 15:05:40 +00:00
crashcollect crashcollect: process for receiving panics 2021-04-27 18:57:47 +03:00
identity all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
internal/wizard cmd/internal/asset: delete unused code 2021-05-20 18:30:19 +03:00
metric-receiver cmd/metric-receiver: restore minimal metrics server 2020-10-14 20:01:29 +03:00
multinode cmd/multinode: Removes dependency on deprecated identity-dir flag, code and documentation. (#5646) 2023-03-08 13:56:15 +01:00
satellite satellite/gracefulexit: revamp graceful exit 2023-09-27 08:40:01 +00:00
storagenode cmd/storagenode: add forget-satellite subcommand 2023-09-13 19:06:55 +00:00
storagenode-updater cmd/storagenode-updater: restart storagenode after update on BSD unix derivatives 2023-01-11 12:38:26 +00:00
storj-admin all: fix linter complaints 2020-10-13 15:59:01 +03:00
storj-sim cmd,satellite: remove Graphql code and dependencies 2023-08-22 12:23:14 +00:00
tools cmd/tools/tag-signer: make the output less noisy 2023-09-26 16:30:48 +00:00
uplink cmd/uplink: don't output stacktrace with unknown access 2023-09-20 10:06:47 +00:00
versioncontrol Dockerfiles: switch base image from alpine to Debian 2022-04-05 11:40:44 +00:00