Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

[master] master missing start LoopPushingMetric routine fixed. (#6018)

zouyixiong881c9a009edf
diff --git a/weed/command/master.go b/weed/command/master.go
index 1a6db1945a..79c7830914 100644
--- a/weed/command/master.go
+++ b/weed/command/master.go
@@ -134,8 +134,8 @@ func runMaster(cmd *Command, args []string) bool {
*m.metricsHttpIp = *m.ip
}
go stats_collect.StartMetricsServer(*m.metricsHttpIp, *m.metricsHttpPort)
+ go stats_collect.LoopPushingMetric("masterServer", util.JoinHostPort(*m.ip, *m.port), *m.metricsAddress, *m.metricsIntervalSec)
startMaster(m, masterWhiteList)
-
return true
}