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
filer subscribe: handle rename subscription
Chris Luac22f1dd2656
diff --git a/weed/server/filer_grpc_server_sub_meta.go b/weed/server/filer_grpc_server_sub_meta.goindex 634fb52119..3b8ced675b 100644--- a/weed/server/filer_grpc_server_sub_meta.go+++ b/weed/server/filer_grpc_server_sub_meta.go@@ -153,7 +153,14 @@ func (fs *FilerServer) eachEventNotificationFn(req *filer_pb.SubscribeMetadataRe}if !strings.HasPrefix(fullpath, req.PathPrefix) {- return nil+ if eventNotification.NewParentPath != "" {+ newFullPath := util.Join(eventNotification.NewParentPath, entryName)+ if !strings.HasPrefix(newFullPath, req.PathPrefix) {+ return nil+ }+ } else {+ return nil+ }}message := &filer_pb.SubscribeMetadataResponse{