storj/satellite/repair
Kaloyan Raev 339d1212cd satellite/repair: don't remove expired segments from repair queue
It's impossible to time correctly this check. The segment may expire
just at the time we upload the repaired pieces to new storage nodes.
They will reject this as expired and the repair will fail.

Also, we penalize storage nodes with audit failure only if they fail
piece hash verification, i.e. return incorrect data, but only if they
have already deleted the piece.

So, it would be best if the repair service does not care about object
expiration at all. This is a responsibility of another service.

Removing this check will also simplify how we migrate this code
correctly to the metabase.

Change-Id: I09f7b372ae2602daee919a8a73cd0475fb263cd2
2021-02-02 16:13:01 +00:00
..
checker satellite/repair/checker: add 29/80/130-52 to default repair overrides 2021-01-28 16:55:16 -05:00
irreparable all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
queue satellite/repair: improve contention for injuredsegments table on CRDB 2020-12-10 09:51:26 -08:00
repairer satellite/repair: don't remove expired segments from repair queue 2021-02-02 16:13:01 +00:00
priority_test.go satellite/repair: use survivability model for segment health 2020-12-17 21:30:17 +00:00
priority.go satellite/repair: clamp totalNodes to 100 or higher 2020-12-30 10:39:14 -06:00
repair_test.go satellite/repair: don't remove expired segments from repair queue 2021-02-02 16:13:01 +00:00
repair.go satellite/repair: move test files (#2649) 2019-07-28 12:15:34 +03:00