storj/uplink/eestream
Maximillian von Briesen fb10815229 Repair with hashes (#2925)
* add outline for ECRepairer

* add description of process in TODO comments

* begin download/getting hash for a single piece

* verify piece hash and order limit during download

* fix download piece

* begin filling out ESREpair. Get

* wip move ecclient.Repair to ecrepairer.Repair

* pass satellite signee into repairer

* reconstruct original stripe from pieces

* move rebuildStripe()

* calculate piece size differently, increment successful count

* fix shares slices initialization

* rename stripeData to segment

* do not pad reader in Repair()

* temp debug

* create unsafeRSScheme

* use decode reader

* rename file name to be all lowercase

* make repair downloader async

* declare condition variable inside Get method

* set downloadAndVerifyPiece's in-memory buffer to be share size

* update unusedLimits var

* address comments

* remove unnecessary comments

* move initialization of segmentRepaire to be outside of repairer service

* use ReadAll during download

* remove dots and move hashing to after validating for order limit signature

* wip test

* make sure files exactly at min threshold are repaired

* remove unused code

* use corrput data and write back to storagenode

* only create corrupted node and piece ids once

* add comment

* address nat's comment

* fix linting and checker_test

* update comment

* add comments

* remove "copied from ecclient" comments

* add clarification comments in ec.Repair
2019-09-06 15:20:36 -04:00
..
common.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
decode.go uplink/piecestore: Change where ignore cancel happens for closing downloads (#2786) 2019-08-15 10:32:05 -04:00
encode.go Integrate new Metainfo calls (server side) (#2682) 2019-08-01 11:04:31 +02:00
pad_test.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
pad.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
piecebuf.go don't use global loggers (#2675) 2019-07-31 17:38:44 +03:00
rs_test.go uplink/ecclient: performance - close connections faster (#2757) 2019-08-14 10:03:51 -04:00
rs.go rename all the things (#2531) 2019-07-28 08:55:36 +03:00
stripe.go don't use global loggers (#2675) 2019-07-31 17:38:44 +03:00
unsafe_rs.go Repair with hashes (#2925) 2019-09-06 15:20:36 -04:00