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
filter system log dir does not make subscribe event (#4172)
Neob9b613a78e28
diff --git a/weed/filer/filer.go b/weed/filer/filer.goindex 07d40acc89..f6f06d9b25 100644--- a/weed/filer/filer.go+++ b/weed/filer/filer.go@@ -3,14 +3,15 @@ package filerimport ("context""fmt"- "github.com/seaweedfs/seaweedfs/weed/cluster"- "github.com/seaweedfs/seaweedfs/weed/pb"- "github.com/seaweedfs/seaweedfs/weed/pb/master_pb""os""sort""strings""time"+ "github.com/seaweedfs/seaweedfs/weed/cluster"+ "github.com/seaweedfs/seaweedfs/weed/pb"+ "github.com/seaweedfs/seaweedfs/weed/pb/master_pb"+"google.golang.org/grpc""github.com/seaweedfs/seaweedfs/weed/glog"@@ -254,7 +255,9 @@ func (f *Filer) ensureParentDirectoryEntry(ctx context.Context, entry *Entry, direturn fmt.Errorf("mkdir %s: %v", dirPath, mkdirErr)}} else {- f.NotifyUpdateEvent(ctx, nil, dirEntry, false, isFromOtherCluster, nil)+ if !strings.HasPrefix("/"+util.Join(dirParts[:]...), SystemLogDir) {+ f.NotifyUpdateEvent(ctx, nil, dirEntry, false, isFromOtherCluster, nil)+ }}} else if !dirEntry.IsDirectory() {