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.

logs

Chris Lue72953dff7c8
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.go
index 3331c3fa26..1ab6679f94 100644
--- a/weed/filer2/filechunks.go
+++ b/weed/filer2/filechunks.go
@@ -154,10 +154,11 @@ func ViewFromVisibleIntervals(visibles []VisibleInterval, offset int64, size int
}
func logPrintf(name string, visibles []VisibleInterval) {
+
/*
- log.Printf("%s len %d", name, len(visibles))
+ glog.V(0).Infof("%s len %d", name, len(visibles))
for _, v := range visibles {
- log.Printf("%s: => %+v", name, v)
+ glog.V(0).Infof("%s: [%d,%d)", name, v.start, v.stop)
}
*/
}
@@ -224,6 +225,7 @@ func NonOverlappingVisibleIntervals(lookupFileIdFn LookupFileIdFunctionType, chu
var newVisibles []VisibleInterval
for _, chunk := range chunks {
+ // glog.V(0).Infof("merge [%d,%d)", chunk.Offset, chunk.Offset+int64(chunk.Size))
newVisibles = MergeIntoVisibles(visibles, newVisibles, chunk)
t := visibles[:0]
visibles = newVisibles