storj/satellite/overlay
Michal Niewrzal 573ce712f2 satellite/bloomfilter: don't create BF for disqualified nodes
Currently we have large set of nodes that are already disqualified and
we are not sending bloom filters to them. The issue is that we are still
generating filters for them while garbage collection process. Even if
we have only segment with one piece which was stored on this node. This
consumes additional memory and processing powers.

This change is changing logic behind `AllPieceCounts` (renamed to
ActiveNodesPieceCounts) to return piece count for all nodes except disqualified one (even with piece count = 0). With this change we can
modify GC observer to skip nodes that where not returned by
ActiveNodesPieceCounts.

Change-Id: Ic75159135abe535084d8aeee560bb801a4a03e17
2023-11-22 07:07:51 +00:00
..
offlinenodes satellite/overlay/offlinenodes: insert offline nodes into node events 2022-11-18 12:10:06 -05:00
straynodes satellite/overlay: insert DQ node events for stray nodes 2022-11-04 15:48:17 +00:00
benchmark_test.go satellite: remove all code references to nodes.type column 2023-10-19 19:00:33 +00:00
checkin_test.go mod: bump common to fetch latest placement type changes 2021-11-16 12:42:25 +00:00
config.go satellite/overlay: add AOST to GetParticipatingNodes method 2023-09-27 12:00:10 +00:00
db_test.go storj: upgrade to use latest storj/common NodeAddress 2023-01-25 01:37:26 +00:00
downloadselection_test.go satellite/overlay: fix placement selection config parsing 2023-09-21 14:31:41 +00:00
downloadselection.go satellite/nodeselection: rename (NodeFilter).MatchInclude to Match 2023-08-31 16:17:52 +02:00
peeridentities_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
peeridentities.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
piececount_test.go satellite/bloomfilter: don't create BF for disqualified nodes 2023-11-22 07:07:51 +00:00
placement_test.go satellite/placement: Add test for new "datacenter" placement tag 2023-10-27 18:15:32 +00:00
placement.go satellite/overlay: dedicated error type for placement parsing 2023-10-24 11:41:19 +00:00
selection_test.go satellite/overlay: fix placement selection config parsing 2023-09-21 14:31:41 +00:00
service_test.go satellite/overlay: remove Type field from NodeDossier 2023-10-18 18:21:26 +00:00
service.go satellite/bloomfilter: don't create BF for disqualified nodes 2023-11-22 07:07:51 +00:00
statdb_test.go satellite/overlay: change Reliable and KnownReliable 2023-09-02 23:34:50 +00:00
uploadselection_test.go satellite/bloomfilter: don't create BF for disqualified nodes 2023-11-22 07:07:51 +00:00
uploadselection.go satellite/overlay: remove/deprecate NodeSelectionCache.Disabled 2023-08-31 09:46:29 +00:00