storj/private
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
..
context2 private/context2: add WithoutCancellation 2020-01-15 14:23:46 +02:00
cui private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
currency private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
date private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
dbutil private/dbutil/sqliteutil: add missing err check 2020-01-19 19:24:58 +00:00
debugging private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
migrate private/migrate: switch to tagsql 2020-01-19 14:39:16 +02:00
post private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
processgroup private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
s3client common: separate repository 2019-12-27 14:11:15 +02:00
tagsql storagenode/storagenodedb: use tagsql 2020-01-19 14:39:16 +02:00
testblobs storagenode: Include trash space when calculating space used 2019-12-23 19:07:03 -07:00
testplanet lib/uplinkc: fix test flakiness by setting MaxTimeSkew 2020-01-20 12:44:42 +00:00
testrevocation common: separate repository 2019-12-27 14:11:15 +02:00
teststorj common: separate repository 2019-12-27 14:11:15 +02:00
testuplink uplink: move to storj.io/uplink (#3746) 2020-01-08 15:40:19 +02:00
version private: ensure we don't eat the underlying error 2020-01-14 20:26:51 +00:00