mirror of
https://github.com/minio/minio.git
synced 2026-11-13 14:44:19 +00:00
rest: healthcheck should not update failure metrics (#12458)
Otherwise, we can see high numbers of networking issues when a node is down.
This commit is contained in:
1 parent
9a2102f5ed
commit
6c8be64cdb
4 files changed
+14
-3
No files matched your search
@@ -919,6 +919,7 @@ func newPeerRESTClient(peer *xnet.Host) *peerRESTClient {
|
||||
// Use a separate client to avoid recursive calls.
|
||||
healthClient := rest.NewClient(serverURL, globalInternodeTransport, newAuthToken)
|
||||
healthClient.ExpectTimeouts = true
|
||||
healthClient.NoMetrics = true
|
||||
|
||||
// Construct a new health function.
|
||||
restClient.HealthCheckFn = func() bool {
|
||||
|
||||
Reference in new issue
Block a user