storj/satellite/repair/repairer
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
..
ec.go all: use keyed special comment 2020-10-13 15:13:41 +03:00
repairer.go all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
segments.go satellite/repair: don't remove expired segments from repair queue 2021-02-02 16:13:01 +00:00