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.

remove duplicate `fileCount` query (#4588)

Bai Jie3b88ab42aa27
diff --git a/weed/storage/volume.go b/weed/storage/volume.go
index b1f5e6c12b..0fea680155 100644
--- a/weed/storage/volume.go
+++ b/weed/storage/volume.go
@@ -310,7 +310,6 @@ func (v *Volume) collectStatus() (maxFileKey types.NeedleId, datFileSize int64,
fileCount = uint64(v.nm.FileCount())
deletedCount = uint64(v.nm.DeletedCount())
deletedSize = v.nm.DeletedSize()
- fileCount = uint64(v.nm.FileCount())
return
}