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 debug messages

chrislu50ddd8c8e286
diff --git a/weed/storage/disk_location.go b/weed/storage/disk_location.go
index 98042f3c85..af4ec1eb46 100644
--- a/weed/storage/disk_location.go
+++ b/weed/storage/disk_location.go
@@ -334,12 +334,12 @@ func (l *DiskLocation) Close() {
}
func (l *DiskLocation) LocateVolume(vid needle.VolumeId) (os.DirEntry, bool) {
- println("LocateVolume", vid, "on", l.Directory)
+ // println("LocateVolume", vid, "on", l.Directory)
if dirEntries, err := os.ReadDir(l.Directory); err == nil {
for _, entry := range dirEntries {
- println("checking", entry.Name(), "...")
+ // println("checking", entry.Name(), "...")
volId, _, err := volumeIdFromFileName(entry.Name())
- println("volId", volId, "err", err)
+ // println("volId", volId, "err", err)
if vid == volId && err == nil {
return entry, true
}