mirror of
https://github.com/minio/minio.git
synced 2026-11-27 15:28:51 +00:00
erasure encode janitor duty
This commit is contained in:
1 parent
62b69048ec
commit
fa9b1f341b
4 files changed
+99
-86
No files matched your search
@@ -75,7 +75,9 @@ func erasureReader(readers []io.ReadCloser, donutMetadata map[string]string, wri
|
||||
if blockSize < totalLeft {
|
||||
curBlockSize = blockSize
|
||||
}
|
||||
curChunkSize := erasure.GetEncodedChunkLen(curBlockSize, uint8(k))
|
||||
|
||||
curChunkSize := erasure.GetEncodedBlockLen(curBlockSize, uint8(k))
|
||||
|
||||
encodedBytes := make([][]byte, 16)
|
||||
for i, reader := range readers {
|
||||
var bytesBuffer bytes.Buffer
|
||||
|
||||
Reference in new issue
Block a user