mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
janitor duty on erasure-decode
This commit is contained in:
@@ -161,7 +161,7 @@ func (e *Encoder) Encode(inputData []byte) (encodedBlocks [][]byte, err error) {
|
||||
}
|
||||
|
||||
// Extend inputData buffer to accommodate coded parity blocks
|
||||
if true { // create a temporary scope to trigger garbage collect
|
||||
{ // Local Scope
|
||||
encodedParityBlocksLen := encodedBlockLen * m
|
||||
parityBlocks := make([]byte, encodedParityBlocksLen)
|
||||
inputData = append(inputData, parityBlocks...)
|
||||
|
||||
Reference in New Issue
Block a user