fix: cluster read health check to return proper values (#19203)

Fixes #19202
This commit is contained in:
Praveen raj Mani 2024-03-05 23:55:49 +05:30 committed by GitHub
parent dfb1f39b57
commit df57bfcd6c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2391,6 +2391,7 @@ func (z *erasureServerPools) Health(ctx context.Context, opts HealthOptions) Hea
result := HealthResult{
Healthy: true,
HealthyRead: true,
WriteQuorum: maximumWriteQuorum,
ReadQuorum: maximumReadQuorum,
UsingDefaults: usingDefaults, // indicates if config was not initialized and we are using defaults on this node.