storj/satellite
paul cannon 985ccbe721 satellite/repair: in dns redial, don't retry if CloseError
To save load on DNS servers, the repair code first tries to dial the
last known good ip and port for a node, and then falls back to a DNS
lookup only if we fail to connect to the last known good ip and port.

However, it looks like we are seeing errors during the client stream
Close() call (probably due to quic-go code), and those are classified
the same as errors encountered during Dial. The repairer code sees this
error, assumes that we failed to contact the node, and retries- but
since we did actually succeed in connecting the first time around, this
results in submitting the same order limit (with the same serial number)
to the storage node, which (rightfully) rejects it.

So together with change I055c186d5fd4e79560f67763175bc3130b9bc7d2 in
storj/uplink, this should avoid the double submission and avoid dinging
nodes' suspension scores unfairly.

See https://github.com/storj/storj/issues/4687.

Also, moving the testsuite directory check up above check-monkit in the
Jenkins Lint task, so that a non-tidy testsuite/go.mod can be recognized
and handled before everything breaks weirdly and seemingly randomly
later on.

Change-Id: Icb2b05aaff921d0af6aba10e450ac7e0a7bb2655
2022-04-04 17:01:09 +00:00
..
accounting apigen: new endpoint to get project's single bucket rollup 2022-03-04 17:33:38 +00:00
admin apigen: api key authentication implemented 2022-04-01 15:17:38 +00:00
analytics satellite/analytics: Associate Hubspot token with new user 2022-03-29 16:25:33 -04:00
attribution satellite/attribution: update value attribution report query 2022-02-18 14:25:19 +00:00
audit satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
buckets satellite/metainfo: propagate geofencing between buckets and stream id 2021-11-24 08:05:05 +00:00
compensation satellite/compensation: add wallet features to invoice csv 2021-02-08 22:13:48 +02:00
console satellite/console: fixed small email validation issues 2022-04-04 09:43:33 +00:00
contact satellite/contact: fix connection leak in PingMe endpoint 2022-01-20 14:20:24 +00:00
gc satellite/metabase: don't delete pieces when deleting ancestor object 2022-03-21 09:32:26 +00:00
geoip satellite/geoip: update node check-in to associate a country code 2021-11-10 16:44:41 +01:00
gracefulexit satellite/gracefulexit: stop using gracefulexit_transfer_queue 2021-09-14 11:52:34 +00:00
inspector satellite/metabase: drop GetObjectLatestVersion method 2022-02-02 09:40:53 +00:00
internalpb all: fix linting issues 2022-03-21 15:26:42 +00:00
mailservice satellite/{console,satellitedb}: Forbid creating users with used email 2021-12-15 17:24:35 +00:00
metabase satellite/metabase: bring back copy/move validation for key and nonce 2022-04-01 07:23:22 +00:00
metainfo satellite/metainfo: add missing method monitoring 2022-04-03 15:47:14 +00:00
metrics satellite/metrics: speed up tests 2022-02-14 17:24:16 +00:00
nodeapiversion satellite/nodeapiversion: new table for tracking node api usage 2020-07-09 15:02:25 +00:00
nodeselection/uploadselection satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
nodestats satellite/nodestats: use overlay node for reputation status 2022-01-11 16:38:27 +00:00
oidc satellite/console: create account management api keys service 2022-03-23 17:02:20 +00:00
orders satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
overlay satellite/repairer: handle excluded countries 2022-03-14 10:59:36 -04:00
payments satellite/satellitedb: stop using _gob columns 2022-03-30 04:13:13 +00:00
repair satellite/repair: in dns redial, don't retry if CloseError 2022-04-04 17:01:09 +00:00
reputation satellite/satellitedb: remove suspension column from nodes and reputations 2022-03-21 16:56:12 +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/satellitedb: stop using _gob columns 2022-03-30 04:13:13 +00:00
snopayouts all: fix error naming 2021-04-29 15:38:21 +03:00
admin.go satellite/admin: add account management api keys to admin 2022-03-29 11:52:45 +00:00
api.go satellite/console: create account management api keys service 2022-03-23 17:02:20 +00:00
configlock_test.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
core.go satellite/satellitedb: stop using _gob columns 2022-03-30 04:13:13 +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/console: create account management api keys service 2022-03-23 17:02:20 +00:00
repairer.go satellite/buckets: add new buckets service 2021-11-16 12:36:17 +02:00