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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
reduce logs
Chris Lu468514f52566
diff --git a/weed/filer2/filechunks.go b/weed/filer2/filechunks.goindex 834e014d94..65197d471c 100644--- a/weed/filer2/filechunks.go+++ b/weed/filer2/filechunks.go@@ -54,7 +54,7 @@ func FindUnusedFileChunks(oldChunks, newChunks []*filer_pb.FileChunk) (unused []func logPrintf(name string, visibles []*visibleInterval) {- // return+ returnlog.Printf("%s len %d", name, len(visibles))for _, v := range visibles {@@ -82,7 +82,7 @@ func nonOverlappingVisibleIntervals(chunks []*filer_pb.FileChunk) (visibles []*vvar minStopInterval, upToDateInterval *visibleIntervalwatermarkStart := chunks[0].Offsetfor _, chunk := range chunks {- log.Printf("checking chunk: [%d,%d)", chunk.Offset, chunk.Offset+int64(chunk.Size))+ // log.Printf("checking chunk: [%d,%d)", chunk.Offset, chunk.Offset+int64(chunk.Size))logPrintf("parallelIntervals", parallelIntervals)for len(parallelIntervals) > 0 && watermarkStart < chunk.Offset {logPrintf("parallelIntervals loop 1", parallelIntervals)