fix: when parityDrives hits > len(storageDisks)/2, keep maxParity (#12387)

Additionally move out `x-minio-internal-erasure-upgraded` from HTTP headers
list, as its an internal header, rename elsewhere accordingly.
This commit is contained in:
Harshavardhana
2021-05-27 13:38:04 -07:00
committed by GitHub
parent acc452b7ce
commit 89bb9f17d7
4 changed files with 12 additions and 9 deletions

View File

@@ -32,6 +32,9 @@ import (
"github.com/minio/minio/pkg/sync/errgroup"
)
// Object was stored with additional erasure codes due to degraded system at upload time
const minIOErasureUpgraded = "x-minio-internal-erasure-upgraded"
const erasureAlgorithm = "rs-vandermonde"
// byObjectPartNumber is a collection satisfying sort.Interface.