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
shell: fs.meta.save skip saving system logs
Chris Lucca588429b23
diff --git a/weed/shell/command_fs_meta_save.go b/weed/shell/command_fs_meta_save.goindex b6f2a9172a..d7cc2efef7 100644--- a/weed/shell/command_fs_meta_save.go+++ b/weed/shell/command_fs_meta_save.go@@ -3,6 +3,7 @@ package shellimport ("flag""fmt"+ "github.com/chrislusf/seaweedfs/weed/filer""io""os""path/filepath"@@ -125,6 +126,10 @@ func doTraverseBfsAndSaving(filerClient filer_pb.FilerClient, writer io.Writer,err := filer_pb.TraverseBfs(filerClient, util.FullPath(path), func(parentPath util.FullPath, entry *filer_pb.Entry) {+ if strings.HasPrefix(string(parentPath), filer.SystemLogDir) {+ return+ }+protoMessage := &filer_pb.FullEntry{Dir: string(parentPath),Entry: entry,