storj/satellite/satellitedb
Cameron Ayer a0c5da6643 satellite/satellitedb: in stray nodes DQ, don't DQ nodes where last_contact_success = '0001-01-01 00:00:00+00'
When nodes check in for the very first time, if the satellite can't ping
them back, they are inserted into the nodes table with
last_contact_success of '0001-01-01 00:00:00+00'. If the stray nodes
chore runs before the node can fix their problem, they are DQd.

Solution: when DQing stray nodes, dont DQ where last_contact_success =
'0001-01-01 00:00:00+00'::timestamptz

Change-Id: I477a02d5ef85b2c930ed6b7d99a4d1995169bca8
2021-04-22 10:13:13 -04:00
..
dbx metainfo+satellite/satellitedb: use HasBucket when possible 2021-04-02 13:20:36 -04:00
satellitedbtest all: remove code related to PointerDB 2021-04-21 12:35:31 +00:00
testdata satellite/payments: Update coupon defaults for free tier 2021-04-05 10:12:26 -04:00
apikeys.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
attribution.go satellite/metainfo: avoid error on inserting existing attribution 2021-04-02 08:18:17 +00:00
audithistory.go satellite/{overlay, satellitedb}: Refactor audit history 2020-12-29 18:50:22 +00:00
bucketsdb.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
coinpaymentstxs.go satellite/satellitedb: Coinpayments repeat insert bug fix 2020-07-20 20:21:35 +00:00
compensation.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
consoledb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
consoledb.go satellite: remove referral program related code 2021-02-08 13:52:50 +00:00
containment.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
coupons.go satellite/payments: Update coupon defaults for free tier 2021-04-05 10:12:26 -04:00
customers.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
database.go satellite/satellitedb: faster test database setup 2021-02-22 21:13:00 +02:00
gracefulexit.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
invoiceprojectrecords.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
irreparabledb.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
migrate_gen.go satellite/satellitedb: clearer testdata version parsing 2021-02-23 10:22:19 +02:00
migrate_test.go satellite/satellitedb: remove references to total_uptime_count and uptime_success_count columns 2021-04-02 13:22:12 +00:00
migrate.go satellite/payments: Update coupon defaults for free tier 2021-04-05 10:12:26 -04:00
migratez.go satellite/payments: Update coupon defaults for free tier 2021-04-05 10:12:26 -04:00
nodeapiversion.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
nodeselection.go satellite/satellitedb: filter offline suspended nodes from selection 2021-03-27 23:36:46 +00:00
orders.go satellite/orders: Delete unused methods & DB tables 2021-02-01 18:01:29 +00:00
overlaycache.go satellite/satellitedb: in stray nodes DQ, don't DQ nodes where last_contact_success = '0001-01-01 00:00:00+00' 2021-04-22 10:13:13 -04:00
payouts.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
peeridentities.go all: fix dots 2020-07-16 14:58:28 +00:00
projectaccounting.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
projects_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
projects.go satellite/console: change default project and usage limits 2021-03-24 14:24:27 +00:00
regtokens.go all: fix dots 2020-07-16 14:58:28 +00:00
repairqueue.go satellite/satellitedb: drop num_healthy_pieces column from injuredsegments 2020-12-17 20:17:08 +00:00
resetpasstokens.go all: fix dots 2020-07-16 14:58:28 +00:00
revocation.go all: fix dots 2020-07-16 14:58:28 +00:00
storagenodeaccounting.go compensation: always generate invoices for every node 2021-03-29 14:15:45 +00:00
stripecoinpaymentsdb.go satellite/payments: delete credits and credits_spendings db tables 2020-07-30 12:19:57 +03:00
users_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
users.go satellite/satellitedb: add employee size column to users 2021-02-12 09:15:15 -05:00