storj/satellite/satellitedb/testdata
Jessica Grebenschikov 803e2930f4 satellite: use IP for all uplink operations, use hostname for audit and repairs
My understanding is that the nodes table has the following fields:
- `address` field which can be a hostname or an IP
- `last_net` field that is the /24 subnet of the IP resolved from the address

This PR does the following:
1) add back the `last_ip` field to the nodes table
2) for uplink operations remove the calls that the satellite makes to `lookupNodeAddress` (which makes the DNS calls to resolve the IP from the hostname) and instead use the data stored in the nodes table `last_ip` field. This means that the IP that the satellite sends to the uplink for the storage nodes could be approx 1 hr stale. In the short term this is fine, next we will be adding changes so that the storage node pushes any IP changes to the satellite in real time.
3) use the address field for repair and audit since we want them to still make DNS calls to confirm the IP is up to date
4) try to reduce confusion about hostname, ip, subnet, and address in the code base

Change-Id: I96ce0d8bb78303f82483d0701bc79544b74057ac
2020-03-11 09:11:40 -07:00
..
postgres.v69.sql satellite/satellitedb: ensure migration tests run (#3706) 2019-12-09 09:26:58 -06:00
postgres.v70.sql satellite/accounting: fix project limits migration (#3717) 2019-12-10 18:12:49 +02:00
postgres.v71.sql satellite/accounting: fix project limits migration (#3717) 2019-12-10 18:12:49 +02:00
postgres.v72.sql satellitedb: fix migration cockroach test 2019-12-16 18:02:31 +00:00
postgres.v73.sql satellite/satellitedb: Add nodes_offline_times table for downtime tracking 2019-12-30 15:45:02 -05:00
postgres.v74.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v75.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v76.sql satellite/payments: coupons, coupons usage, invoice generation with pricing model applied 2020-01-14 12:45:00 +00:00
postgres.v77.sql satellite/satellitedb: fix nitpicks and timestamp issue found in review 2020-01-16 21:22:38 +00:00
postgres.v78.sql satellite/satellitedb: Remove unused indexes 2020-01-16 16:06:21 -07:00
postgres.v79.sql satellite/payments: coinpayments add completed status, treat received status as pending, add balance for completed transactions only 2020-01-17 17:26:34 +00:00
postgres.v80.sql satellite/metainfo: Rate limiting - API requests 2020-01-21 14:25:04 +00:00
postgres.v81.sql satellite/payments : deposit bonuses (credits) added 2020-02-11 11:11:42 +00:00
postgres.v82.sql satellite/satellitedb: use queue for orders to get back fast billing 2020-02-24 17:07:07 +00:00
postgres.v83.sql satellite/repair/queue: Prioritize selection of items off repair queue by segment health 2020-02-26 09:54:16 -05:00
postgres.v84.sql satellite/satellitedb/dbx: add fields to node table for placing nodes into suspended mode for too many unknown-error audits 2020-03-03 03:30:59 +00:00
postgres.v85.sql satellite/satellitedb/dbx: add fields to node table for placing nodes into suspended mode for too many unknown-error audits 2020-03-03 03:30:59 +00:00
postgres.v86.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v87.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v88.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v89.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v90.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v91.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v92.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v93.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v94.sql satellite/satellitedb: use time zones with all timestamps 2020-03-05 21:11:25 +00:00
postgres.v95.sql satellite/satellitedb: Add index on num_healthy_pieces column in injuredsegments table 2020-03-10 16:59:35 +00:00
postgres.v96.sql satellite: use IP for all uplink operations, use hostname for audit and repairs 2020-03-11 09:11:40 -07:00