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.

logging

Chris Lud0ce5b020bd0
diff --git a/weed/filesys/file.go b/weed/filesys/file.go
index 3015354a66..1b359ebbe0 100644
--- a/weed/filesys/file.go
+++ b/weed/filesys/file.go
@@ -194,6 +194,8 @@ func (file *File) addChunks(chunks []*filer_pb.FileChunk) {
newVisibles = t
}
+ glog.V(3).Infof("%s existing %d chunks adds %d more", file.fullpath(), len(file.entry.Chunks), len(chunks))
+
file.entry.Chunks = append(file.entry.Chunks, chunks...)
}