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.

fix missing register master metric MasterPickForWriteErrorCounter (#6277)

Konstantin Lebedev167b50be889f
diff --git a/weed/stats/metrics.go b/weed/stats/metrics.go
index 9f84a3e70f..c482f19b5c 100644
--- a/weed/stats/metrics.go
+++ b/weed/stats/metrics.go
@@ -322,6 +322,7 @@ func init() {
Gather.MustRegister(MasterReplicaPlacementMismatch)
Gather.MustRegister(MasterVolumeLayoutWritable)
Gather.MustRegister(MasterVolumeLayoutCrowded)
+ Gather.MustRegister(MasterPickForWriteErrorCounter)
Gather.MustRegister(MasterBroadcastToFullErrorCounter)
Gather.MustRegister(FilerRequestCounter)