Commit Graph

12 Commits (jerasure-matrix)

Author SHA1 Message Date
Shawn Zivontsis 0e7f9a6a6f
Allow zero parity shards (#161) 2021-03-08 16:13:24 +01:00
Klaus Post 17098a4f19
Use stream test options (#118) 2020-04-22 17:22:16 +02:00
Frank Wessels 0de37d7697 Add ReconstructData interface method (#57)
* Add ReconstructData interface method to allow reconstruction of any missing data shards
* Add support for just reconstructing data shards only to SteamEncoder.Reconstruct()
2017-07-20 12:15:46 +02:00
Harshavardhana ba30981088 Add checks for data and parity to not exceed 255 shards in total.
Fixes #16
2016-06-03 01:31:01 -07:00
xiaost 9f0bea8a29 Tests: backport go1.6 rand.Read for speedup tests 2016-04-07 18:34:47 +08:00
klauspost 2708e36b73 Remove the streaming example for now. 2015-10-27 14:56:30 +01:00
klauspost e05cf9c197 Convert benchmarks to streams. 2015-10-27 14:54:09 +01:00
klauspost 7d91d8d953 Create separate read/write errors. 2015-10-27 11:11:50 +01:00
klauspost ff9a5aff03 Remove StreamError for shard size mismatches
Since the result is pretty random (especially on concurrent reads),
we just return the plan ErrShardSize.
2015-10-27 10:54:08 +01:00
klauspost e78a382960 Add specific error for streams, to help identify the faulty stream. 2015-10-27 10:36:29 +01:00
klauspost 0500314cc5 Add concurrent reads/writes to streaming interface. 2015-10-26 15:59:02 +01:00
klauspost 4bc47caf71 Add streaming API tests. 2015-10-26 14:32:07 +01:00