storj/satellite/orders
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
..
encryptionkey_test.go satellite/orders: add EncryptionKey encryption 2020-07-13 16:10:19 +00:00
encryptionkey.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
endpoint_test.go all: fix defers in loop 2020-11-02 15:06:38 +02:00
endpoint.go satellite/orders: rollout phase3 of SettlementWithWindow endpoint 2020-10-26 14:56:28 +00:00
orders_test.go satellite/orders: rollout phase3 of SettlementWithWindow endpoint 2020-10-26 14:56:28 +00:00
rollups_chore.go satellite/orders: Flush all pending bandwidth rollup writes on shutdown 2020-01-23 08:12:41 -07:00
rollups_write_cache_test.go satellite/orders: add settled amount to rollups write cache 2020-07-07 14:46:06 +00:00
rollups_write_cache.go all: fix dots 2020-07-16 14:58:28 +00:00
serials_test.go satellite: remove some unnecessary UTC() calls 2020-03-13 13:49:44 +00:00
service.go satellite/orders: send IPs for graceful exit 2020-11-04 00:17:20 +00:00
signer_test.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
signer.go satellite/orders: add bucket id to order limit 2020-09-03 10:50:11 +03:00
window_endpoint_phase.go satellite/orders: 3-phase rollout 2020-08-03 17:01:42 +00:00