storj/private/testplanet
Cameron Ayer 7244a6a84e storagenode/{contact, piecestore}: implement low disk notification with cooldown
When a storagenode begins to run low on capacity, we want to notify
the satellite before completely running out of space. To achieve this,
at the end of an upload request, the SN checks if its available space has
fallen below a certain threshold. If so, trigger a notification to the
satellites.

The new NotifyLowDisk method on the monitor chore is implemented using the
common/syn2.Cooldown type, which allows us to execute contact only once
within a given timeframe; avoiding hammering the satellites with requests.
This PR contains changes to the storagenode/contact package, namely moving
methods involving the actual satellite communication out of Chore and into
Service. This allows us to ping satellites from the monitor chore

Change-Id: I668455748cdc6741291b61130d8ef9feece86458
2020-03-03 10:45:37 -05:00
..
dir.go private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
planet_test.go all: remove usages of testplanet.New 2020-01-22 22:42:57 +02:00
planet.go private/testplanet: add option to run testplanet databases non-parallel 2020-02-27 15:49:22 +02:00
reconfigure.go all: use pbgrpc 2020-02-26 21:27:47 +02:00
referralmanager.go all: use pbgrpc 2020-02-26 21:27:47 +02:00
rpc_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run_test.go common: separate repository 2019-12-27 14:11:15 +02:00
run.go private/testplanet: add option to run testplanet databases non-parallel 2020-02-27 15:49:22 +02:00
satellite.go satellite/repair: fix repair concurrency 2020-02-24 19:57:09 +00:00
storagenode.go storagenode/{contact, piecestore}: implement low disk notification with cooldown 2020-03-03 10:45:37 -05:00
tlsopts_test.go common: separate repository 2019-12-27 14:11:15 +02:00
uplink_test.go all: use pbgrpc 2020-02-26 21:27:47 +02:00
uplink.go go.mod: update uplink 2020-02-21 16:08:12 +02:00
versioning.go private/testplanet: set rollout seed to avoid warnings in logs 2020-03-03 12:58:54 +00:00