storj/satellite/nodeselection
Márton Elek da08117fcd satellite/~placement: do not ignore placement check for placement=0
There are cases when we would like to override the default placement=0 rule.

For example when we would like to exclude tagged nodes from the selection (by default).

Therefore we couldn't use a shortcut any more, we should always check the placement rules, even if we use placement=0.

TODO: we need to update common, and rename `EveryCountry` to `DefaultPlacement`, just to avoid confusion.

https://github.com/storj/storj/issues/6126

Change-Id: Iba6c655bd623e04351ea7ff91fd741785dc193e4
2023-08-16 07:06:56 +00:00
..
gen satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
common.go satellite: move satellite/nodeselection/uploadselection => satellite/nodeselection 2023-07-07 10:32:03 +02:00
filter_test.go satellite/{nodeselection,overlay}: use location.Set 2023-07-11 17:16:30 +00:00
filter.go satellite/~placement: do not ignore placement check for placement=0 2023-08-16 07:06:56 +00:00
node.go satellite/nodeselection: expand SelectedNode 2023-08-07 12:44:49 +00:00
primes.go satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
rand_test.go satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
rand.go satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
region.go satellite/{nodeselection,overlay}: use location.Set 2023-07-11 17:16:30 +00:00
selector_test.go satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
selector.go satellite/nodeselection: SelectBySubnet should use placement filters for all nodes 2023-08-04 10:48:15 +02:00
state_test.go satellite/nodeselection: remove stats/size from nodeselection state 2023-08-01 18:29:41 +00:00
state.go satellite/{nodeselection,overlay}: support annotations on node filters 2023-08-15 16:49:57 +00:00