storj/satellite/gc/piecetracker
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
..
observer_test.go satellite/bloomfilter: don't create BF for disqualified nodes 2023-11-22 07:07:51 +00:00
observer.go satellite/gc: add piece tracker ranged loop observer 2023-06-22 18:17:39 +00:00
piecetracker.go satellite/gc: add piece tracker ranged loop observer 2023-06-22 18:17:39 +00:00