storj/satellite
paul cannon 8616fc146d satellite/orders: send IPs for graceful exit
Storage nodes undergoing Graceful Exit have up to now been receiving
hostnames for all other storage nodes they need to contact when
transferring pieces. This adds up to a lot of DNS lookups, which
apparently overwhelm some home routers. There does not seem to be any
need for us to send hostnames for graceful exit as opposed to IP
addresses; we already use IP addresses (as given by the last_ip_port
column in the nodes table) for all the GET and PUT orders we send out.

This change causes IP addresses to be used instead.

I started trying to construct a test to ensure that the behavior
changed, but it was rabbit-holing, so I've begun to feel that maybe this
change doesn't require one; it is a very simple change, and very much of
the same nature as what we already do for IPs in CreateGetOrderLimits
and CreatePutOrderLimits (and others).

Change-Id: Ib2b5ffe7a9310e9cdbe7464450cc7c934fa229a1
2020-11-04 00:17:20 +00:00
..
accounting satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
admin satellite/admin: add apikey endpoints 2020-10-20 11:26:56 +00:00
attribution all: fix dots 2020-07-16 14:58:28 +00:00
audit satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
compensation all: add missing dots 2020-08-11 17:50:01 +03:00
console all: fix defers in loop 2020-11-02 15:06:38 +02:00
contact all: fix dots 2020-07-16 14:58:28 +00:00
dbcleanup satellite/dbcleanup: run cleanup more frequently 2020-06-10 18:32:15 +00:00
downtime all: fix comments 2020-07-16 19:13:14 +03:00
gc satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
gracefulexit {satellite,storagenode}/gracefulexit: ensure client is closed 2020-10-27 23:27:07 +02:00
inspector satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
internalpb {satellite,storagenode}/internalpb: use specific package name 2020-10-30 17:31:08 +02:00
mailservice all: fix linter complaints 2020-10-13 15:59:01 +03:00
marketingweb all: fix linter complaints 2020-10-13 15:59:01 +03:00
metainfo all: fix defers in loop 2020-11-02 15:06:38 +02:00
metrics satellite/metainfo: get away from using pb.Pointer in Metainfo Loop 2020-10-27 13:06:47 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection all: add missing dots 2020-08-11 17:50:01 +03:00
nodestats storagenode/reputation: offline_under_review_at added 2020-09-02 18:48:28 +03:00
orders satellite/orders: send IPs for graceful exit 2020-11-04 00:17:20 +00:00
overlay satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
payments satellite/satellitedb: make limits per default NULL 2020-10-14 20:28:16 +00:00
referrals all: fix dots 2020-07-16 14:58:28 +00:00
repair satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
revocation all: fix dots 2020-07-16 14:58:28 +00:00
rewards satellite/rewards: add partner videocoin (#3946) 2020-09-29 14:30:46 +02:00
satellitedb satellite: remove IsUp field from overlay.UpdateRequest 2020-11-02 15:34:17 -05:00
snopayout storagenode: heldamount renamed to payouts, renamed some methods and structs to more meaningful names. grouped estimated payout with pathouts 2020-09-16 14:57:35 +00:00
admin.go cmd/storj-sim: run gateway without --access flag 2020-10-13 14:45:04 +00:00
api.go satellite/internalpb: add inspectors 2020-10-30 13:28:17 +02:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go cmd/storj-sim: run gateway without --access flag 2020-10-13 14:45:04 +00:00
gc.go all: fix dots 2020-07-16 14:58:28 +00:00
peer.go satellite/accounting: add cache for getting project storage and bw limits 2020-09-25 16:28:49 +00:00
repairer.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00