Skip to content

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.

add cipher option to meta data updates

Chris Lu722b14337eef
diff --git a/weed/filer2/filer_notify_append.go b/weed/filer2/filer_notify_append.go
index 62cfd2cd16..6671cd9097 100644
--- a/weed/filer2/filer_notify_append.go
+++ b/weed/filer2/filer_notify_append.go
@@ -72,7 +72,7 @@ func (f *Filer) assignAndUpload(data []byte) (*operation.AssignResult, *operatio
// upload data
targetUrl := "http://" + assignResult.Url + "/" + assignResult.Fid
- uploadResult, err := operation.UploadData(targetUrl, "", false, data, false, "", nil, assignResult.Auth)
+ uploadResult, err := operation.UploadData(targetUrl, "", f.Cipher, data, false, "", nil, assignResult.Auth)
if err != nil {
return nil, nil, fmt.Errorf("upload data %s: %v", targetUrl, err)
}