mirror of
https://github.com/minio/minio.git
synced 2026-11-18 23:00:19 +00:00
Save bootstrap trace events in a circular buffer (#16823)
This commit is contained in:
1 parent
280442e533
commit
31fba6f434
5 files changed
+189
No files matched your search
@@ -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