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
less logs
chrislu72c0233938c7
diff --git a/weed/filer/filerstore_hardlink.go b/weed/filer/filerstore_hardlink.goindex 5efc3d9c0e..ae2f5fee7c 100644--- a/weed/filer/filerstore_hardlink.go+++ b/weed/filer/filerstore_hardlink.go@@ -22,7 +22,7 @@ func (fsw *FilerStoreWrapper) handleUpdateToHardLinks(ctx context.Context, entry}// check what is existing entry- glog.V(4).Infof("handleUpdateToHardLinks FindEntry %s", entry.FullPath)+ // glog.V(4).Infof("handleUpdateToHardLinks FindEntry %s", entry.FullPath)actualStore := fsw.getActualStore(entry.FullPath)existingEntry, err := actualStore.FindEntry(ctx, entry.FullPath)if err != nil && err != filer_pb.ErrNotFound {diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.goindex 548a2c9df7..7f5d9729d9 100644--- a/weed/filer/filerstore_wrapper.go+++ b/weed/filer/filerstore_wrapper.go@@ -128,7 +128,7 @@ func (fsw *FilerStoreWrapper) InsertEntry(ctx context.Context, entry *Entry) errreturn err}- glog.V(4).Infof("InsertEntry %s", entry.FullPath)+ // glog.V(4).Infof("InsertEntry %s", entry.FullPath)return actualStore.InsertEntry(ctx, entry)}@@ -149,7 +149,7 @@ func (fsw *FilerStoreWrapper) UpdateEntry(ctx context.Context, entry *Entry) errreturn err}- glog.V(4).Infof("UpdateEntry %s", entry.FullPath)+ // glog.V(4).Infof("UpdateEntry %s", entry.FullPath)return actualStore.UpdateEntry(ctx, entry)}@@ -193,7 +193,7 @@ func (fsw *FilerStoreWrapper) DeleteEntry(ctx context.Context, fp util.FullPath)}}- glog.V(4).Infof("DeleteEntry %s", fp)+ // glog.V(4).Infof("DeleteEntry %s", fp)return actualStore.DeleteEntry(ctx, fp)}@@ -213,7 +213,7 @@ func (fsw *FilerStoreWrapper) DeleteOneEntry(ctx context.Context, existingEntry}}- glog.V(4).Infof("DeleteOneEntry %s", existingEntry.FullPath)+ // glog.V(4).Infof("DeleteOneEntry %s", existingEntry.FullPath)return actualStore.DeleteEntry(ctx, existingEntry.FullPath)}@@ -237,7 +237,7 @@ func (fsw *FilerStoreWrapper) DeleteFolderChildren(ctx context.Context, fp util.stats.FilerStoreHistogram.WithLabelValues(actualStore.GetName(), "deleteFolderChildren").Observe(time.Since(start).Seconds())}()- glog.V(4).Infof("DeleteFolderChildren %s", fp)+ // glog.V(4).Infof("DeleteFolderChildren %s", fp)return actualStore.DeleteFolderChildren(ctx, fp)}@@ -249,7 +249,7 @@ func (fsw *FilerStoreWrapper) ListDirectoryEntries(ctx context.Context, dirPathstats.FilerStoreHistogram.WithLabelValues(actualStore.GetName(), "list").Observe(time.Since(start).Seconds())}()- glog.V(4).Infof("ListDirectoryEntries %s from %s limit %d", dirPath, startFileName, limit)+ // glog.V(4).Infof("ListDirectoryEntries %s from %s limit %d", dirPath, startFileName, limit)return actualStore.ListDirectoryEntries(ctx, dirPath, startFileName, includeStartFile, limit, func(entry *Entry) bool {fsw.maybeReadHardLink(ctx, entry)filer_pb.AfterEntryDeserialization(entry.Chunks)@@ -267,7 +267,7 @@ func (fsw *FilerStoreWrapper) ListDirectoryPrefixedEntries(ctx context.Context,if limit > math.MaxInt32-1 {limit = math.MaxInt32 - 1}- glog.V(4).Infof("ListDirectoryPrefixedEntries %s from %s prefix %s limit %d", dirPath, startFileName, prefix, limit)+ // glog.V(4).Infof("ListDirectoryPrefixedEntries %s from %s prefix %s limit %d", dirPath, startFileName, prefix, limit)adjustedEntryFunc := func(entry *Entry) bool {fsw.maybeReadHardLink(ctx, entry)filer_pb.AfterEntryDeserialization(entry.Chunks)