storj/satellite
Egon Elbre 10d932fd65 lib/uplinkc: fix test flakiness by setting MaxTimeSkew
Not having a skew caused an issue where:

1. Uplink calls "begin segment", where segment isn't committed to the
database.
2. Uplink stores piece X to the storage node A with timestamp 1.
3. Satellite runs garbage collection with timestamp 2.
4. Satellite sends retain request to storage node A with timestamp 2.
5. Storage node A deletes piece X, because 1 < 2.
6. Uplink calls "commit segment" with storage node A in it.
7. Download of segment fails, because A doesn't have piece X.

In production this is not an issue since the MaxTimeSkew is 72h by
default.

Change-Id: Id87ca3ddc44103dcd85d031b1367168c014b8e7b
2020-01-20 12:44:42 +00:00
..
accounting satellite: fix test time comparisons 2020-01-20 10:17:20 +00:00
attribution common: separate repository 2019-12-27 14:11:15 +02:00
audit satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
console satellite/payments: promotional coupons generation functional added 2020-01-20 11:01:55 +00:00
contact satellite/contact; storagenode/preflight: add clock check on startup for storagenode 2020-01-15 15:35:26 +00:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtime satellite: fix test time comparisons 2020-01-20 10:17:20 +00:00
gc lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
gracefulexit satellite: fix test time comparisons 2020-01-20 10:17:20 +00:00
inspector uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo Add proper Pathdata Index (#3750) 2020-01-17 00:48:59 +01:00
metrics private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
nodestats satellite: remove UptimeReputation configs from codebase 2020-01-08 18:54:15 +00:00
orders satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00
overlay satellite: fix test time comparisons 2020-01-20 10:17:20 +00:00
payments satellite/payments: promotional coupons generation functional added 2020-01-20 11:01:55 +00:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb satellite/payments: promotional coupons generation functional added 2020-01-20 11:01:55 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00
core.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00
peer.go satellite/satellitedb: reported_serials table for processing orders 2020-01-15 19:21:21 -07:00
repairer.go satellite: reduce logging of node status 2020-01-18 17:47:59 +00:00