mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
Update madmin package to return storage class parity (#5387)
After the addition of Storage Class support, readQuorum and writeQuorum are decided on a per object basis, instead of deployment wide static quorums. This PR updates madmin api to remove readQuorum/writeQuorum and add Standard storage class and reduced redundancy storage class parity as return values. Since these parity values are used to decide the quorum for each object. Fixes #5378
This commit is contained in:
@@ -45,8 +45,8 @@ type StorageInfo struct {
|
||||
// Following fields are only meaningful if BackendType is Erasure.
|
||||
OnlineDisks int // Online disks during server startup.
|
||||
OfflineDisks int // Offline disks during server startup.
|
||||
standardSCParity int // Parity disks for currently configured Standard storage class.
|
||||
rrSCParity int // Parity disks for currently configured Reduced Redundancy storage class.
|
||||
StandardSCParity int // Parity disks for currently configured Standard storage class.
|
||||
RRSCParity int // Parity disks for currently configured Reduced Redundancy storage class.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user