storj/satellite/nodeselection/uploadselection
paul cannon c856d45cc0 satellite/overlay: fix GetNodesNetworkInOrder
We were using the UploadSelectionCache previously, which does _not_ have
all nodes, or even all online nodes, in it. So all nodes with less than
MinimumVersion, or with less than MinimumDiskSpace, or nodes suspended
for unknown audit errors, or nodes that have started graceful exit, were
all missing, and ended up having empty last_nets. Even with all that,
I'm kind of surprised how many nodes this involved, but using the upload
selection cache was definitely wrong.

This change uses the download selection cache instead, which excludes
nodes only when they are disqualified, gracefully exited (completely),
or offline.

Change-Id: Iaa07c988aa29c1eb05796ac48a6f19d69f5826c1
2023-05-19 08:08:08 +00:00
..
common.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
criteria_test.go satellite/nodeselection: add geofencing constraints to the node selection criteria 2021-11-08 17:04:31 +00:00
criteria.go satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
node.go satellite/nodeselection: add geofencing constraints to the node selection criteria 2021-11-08 17:04:31 +00:00
selector_test.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
selector.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
state_test.go satellite/overlay: configurable meaning of last_net 2023-03-09 02:20:12 +00:00
state.go satellite/overlay: fix GetNodesNetworkInOrder 2023-05-19 08:08:08 +00:00