storj/satellite
Cameron Ayer 1de8a695e8 satellite/{overlay,satellitedb}: fix stray nodes DQ bug
We had a bug in the stray nodes chore where nodes who had not been seen
in several months were not being DQd. We figured out that this was
happening because we were using two queries: The first to grab
nodes where last_contact_success < some cutoff, the second to DQ them
unless last_contact_success == '0001-01-01 00:00:00+00'. The problem
is that if all of the nodes returned from the first query had
last_contact_success of '0001-01-01 00:00:00+00', we would pass them to
the second query which would not DQ them. This would result in the stray
nodes DQ loop ending since we found a number of nodes to DQ less than the
limit.

The fix: add the "WHERE last_contact_success != '0001-01-01
00:00:00+00'::timestamptz" to the selection query.

Change-Id: I4e60de90b68d8745d641b4467c2b23e0e56f7dff
2021-11-02 17:05:00 +00:00
..
accounting satellite/{satellitedb, web}: display object count in satellite UI 2021-11-01 18:26:13 +00:00
admin satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
analytics web, satellite: allow registering business accounts to ask for contact from sales team 2021-06-02 13:10:38 +00:00
attribution satellite/{satellitedb,attribution,console}: value attribution changes that add userAgent field to buckets table and all tables that have partner_id 2021-10-18 13:56:19 +00:00
audit satellite/{reputation/satellitedb}: remove references to contained column in reputations table 2021-10-14 19:59:03 +00:00
compensation satellite/compensation: add wallet features to invoice csv 2021-02-08 22:13:48 +02:00
console satellite/{satellitedb, web}: display object count in satellite UI 2021-11-01 18:26:13 +00:00
contact private/lrucache: import from common 2021-08-16 10:04:32 +00:00
gc private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
gracefulexit satellite/gracefulexit: stop using gracefulexit_transfer_queue 2021-09-14 11:52:34 +00:00
inspector private/testplanet: move Metabase outside Metainfo for satellite 2021-09-09 07:15:51 +00:00
internalpb satellite/metainfo: stop using sat StreamID Redundancy 2021-10-26 10:23:11 +00:00
mailservice web/satellite,satellite/console: Overhaul password reset 2021-08-12 17:40:53 +00:00
metabase satellite/metabase: limit maximum number of parts and size 2021-10-22 10:16:37 +00:00
metainfo satellite/metainfo: adjust piecedeletion timeouts 2021-10-28 13:37:01 +03:00
metrics satellite/metrics: speedup test 2021-09-28 11:39:37 +02:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection/uploadselection satellite/nodeselection: flexible interface to includes nodes in selection 2021-10-26 11:01:33 +00:00
nodestats satellite/reputation: return default reputation stats when node is not 2021-08-04 19:34:54 +00:00
orders satellites/orders: populate egress_dead in project_bandwidth_daily_rollups 2021-10-06 16:54:49 +00:00
overlay satellite/{overlay,satellitedb}: fix stray nodes DQ bug 2021-11-02 17:05:00 +00:00
payments satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
repair satellite/repair: ignore expired segments at the beginning of the repair 2021-10-18 18:15:39 +00:00
reputation satellite/{reputation/satellitedb}: remove references to contained column in reputations table 2021-10-14 19:59:03 +00:00
revocation satellite/satellitedb: move tests to their domains 2021-02-19 17:29:15 +02:00
rewards satellite/rewards: adding SeaweedFS to partners list (#4230) 2021-10-19 21:30:31 +02:00
satellitedb satellite/{overlay,satellitedb}: fix stray nodes DQ bug 2021-11-02 17:05:00 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
api.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
gc.go satellite/metabase/segmentloop: don't shutdown satellite on loop error 2021-07-30 06:49:10 +00:00
peer.go satellite/metainfo: add zombiedeletion chore 2021-08-24 08:22:06 +00:00
repairer.go satellite/repair: update audit records during repair 2021-09-24 00:48:13 +00:00