mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Save bootstrap trace events in a circular buffer (#16823)
This commit is contained in:
committed by
GitHub
parent
280442e533
commit
31fba6f434
@@ -352,6 +352,8 @@ func configRetriableErrors(err error) bool {
|
||||
}
|
||||
|
||||
func bootstrapTrace(msg string) {
|
||||
globalBootstrapTracer.Record(msg)
|
||||
|
||||
if globalTrace.NumSubscribers(madmin.TraceBootstrap) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user