storj/storagenode
paul cannon 1469f7f41f
storagenode/contact: wait for UpdateSelf before start (#3332)
When the contact chore starts running before the monitor service has
provided any useful capacity data, the first outgoing contact has
not-very-helpful data for the satellite. This change causes the contact
chore to wait until capacity data is available. The wait should be quite
short in all reasonable cases: even when a node starts with a lot of
stored pieces and no cached spaceUsedDB data, new data will have been
calculated and cached by the call to
`peer.Storage2.CacheService.Init(ctx)` in `storagenode.cmdRun()` before
`peer.Run(ctx)`.

Change-Id: Ibc26d5c1fc10a23006c00bc3f13ff6cf71f8bf1d
2019-10-26 12:16:25 -05:00
..
bandwidth storagenode/storagenodedb: Migrate to separate dbs (#3081) 2019-09-23 12:36:46 -07:00
collector all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
console {versioncontrol,internal/version,cmd/*}: refactor version control (#3253) 2019-10-20 09:56:23 +02:00
contact storagenode/contact: wait for UpdateSelf before start (#3332) 2019-10-26 12:16:25 -05:00
gracefulexit gracefulexit: fix build for drpc (#3387) 2019-10-26 15:53:35 +02:00
inspector satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
monitor satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
nodestats all: use pkg/rpc instead of pkg/transport 2019-09-25 15:37:06 -06:00
orders pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00
pieces storagenode/pieces: remove old comment (#3334) 2019-10-22 12:51:51 +03:00
piecestore storagenode/piecestore: Rename liveGRPCRequests back to liveRequests (#3354) 2019-10-23 13:43:43 -06:00
reputation all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
retain satellite/metainfo: add commit interval to prevent long delays between order limit creation and segment commit (#3149) 2019-10-01 12:55:02 -04:00
satellites storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
storagenodedb storagenode/storagenodedb: add SQL receiver logic for graceful exit (#3067) 2019-10-01 10:34:03 -04:00
storageusage all: add archview annotations (#2964) 2019-09-10 16:24:16 +03:00
trust satellite/discovery: remove discovery related code (#3175) 2019-10-14 10:57:01 -04:00
operator.go storagenode/main: map aliases for kademlia config values (#3118) 2019-09-30 19:33:00 -04:00
peer.go pkg/rpc: remove read/write deadlines as a mechanism for request timeouts (#3335) 2019-10-22 17:57:24 -06:00