storj/satellite/overlay
paul cannon ed0fa59f23 satellite/overlay: add SetNodeContained() method
SetNodeContained() will change the contained flag in the nodes table,
which will affect whether nodes are selected for new uploads. This flag
_should_ correlate with whether or not a given node has any entries in
the reverification queue. However, the reverification queue is intended
to be 'safely partitionable' from the nodes table, so we can't enforce
that characteristic transactionally. But this is ok; there are no dire
consequences if they are out of sync.

We will be adding a chore that updates the contained flag based on the
contents of the reverification queue periodically, if something fails
to set it directly when appropriate.

Refs: https://github.com/storj/storj/issues/5231
Change-Id: I26460d8718dee63fd55d00a44568b2065fc8fe30
2022-12-01 12:43:40 +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/overlay: insert DQ event into node events in overlay.DisqualifyNode 2022-11-04 15:18:31 +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: node software update email cooldown config 2022-11-11 20:14:25 +00:00
db_test.go satellite/overlay: insert DQ node events for stray nodes 2022-11-04 15:48:17 +00:00
downloadselection_test.go satellite/overlay: insert DQ event into node events in overlay.DisqualifyNode 2022-11-04 15:18:31 +00:00
downloadselection.go satellite/{orders,overlay}: use cache for downloads 2022-07-12 11:04:34 +00: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/gc/bloomfilter: use int64 to count pieces 2022-09-22 09:39:53 +00:00
selection_test.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00
service_test.go satellite/overlay: add ability to get offline nodes in need of email 2022-11-17 19:03:04 +00:00
service.go satellite/overlay: add SetNodeContained() method 2022-12-01 12:43:40 +00:00
statdb_test.go satellite/overlay: insert DQ event into node events in overlay.DisqualifyNode 2022-11-04 15:18:31 +00:00
uploadselection_test.go satellite/overlay: use ReadCache in Download/UploadSelectionCache 2022-07-12 13:52:48 +03:00
uploadselection.go satellite/overlay: use ReadCache in Download/UploadSelectionCache 2022-07-12 13:52:48 +03:00