mirror of
https://github.com/minio/minio.git
synced 2025-11-09 21:49:46 -05:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user