feat: allow retaining parity SLA to be configurable (#19260)

at scale customers might start with failed drives,
causing skew in the overall usage ratio per EC set.

make this configurable such that customers can turn
this off as needed depending on how comfortable they
are.
This commit is contained in:
Harshavardhana
2024-03-14 03:38:33 -07:00
committed by GitHub
parent 5c32058ff3
commit ce1c640ce0
4 changed files with 77 additions and 41 deletions

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2015-2021 MinIO, Inc.
// Copyright (c) 2015-2024 MinIO, Inc.
//
// This file is part of MinIO Object Storage stack
//
@@ -38,6 +38,12 @@ var (
Optional: true,
Type: "string",
},
config.HelpKV{
Key: ClassOptimize,
Description: `optimize parity calculation for standard storage class, set 'capacity' for capacity optimized (no additional parity)` + defaultHelpPostfix(ClassOptimize),
Optional: true,
Type: "string",
},
config.HelpKV{
Key: config.Comment,
Description: config.DefaultComment,