mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Use maximum parity for config files (#11740)
Some deployments have low parity (EC:2), but we really do not need to save our config data with the same parity configuration. N/2 would be better to keep MinIO configurations intact when unexpected a number of drives fail.
This commit is contained in:
@@ -55,6 +55,10 @@ type ObjectOptions struct {
|
||||
ProxyRequest bool // only set for GET/HEAD in active-active replication scenario
|
||||
ProxyHeaderSet bool // only set for GET/HEAD in active-active replication scenario
|
||||
ParentIsObject func(ctx context.Context, bucket, parent string) bool // Used to verify if parent is an object.
|
||||
|
||||
// Use the maximum parity (N/2), used when
|
||||
// saving server configuration files
|
||||
MaxParity bool
|
||||
}
|
||||
|
||||
// BucketOptions represents bucket options for ObjectLayer bucket operations
|
||||
|
||||
Reference in New Issue
Block a user