storj/satellite/nodeselection/uploadselection
Márton Elek 20d03bebdb satellite/nodeselection: flexible interface to includes nodes in selection
This commit doesn't change any behavior, just organize the code in
different way to make it easier to implement different Criterias
to include nodes. Today we use NodeID and Subnet based selection
but later Criteria can be extended with different kind of
placement rules (like geofencing).

The change nodeselection is used by segment allocaton (upload) and repair
and excludes nodes from an in-memory selection.

Resolves https://github.com/storj/storj/issues/4240

Change-Id: I0c1955fe16a045e3b76d7e50b2e1f4575a7ff095
2021-10-26 11:01:33 +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: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
criteria.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
node.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +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/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
state.go satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00