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
weed upload: add TTL
Chris Lu3433accb1bdb
diff --git a/weed/operation/submit.go b/weed/operation/submit.goindex 25843c892c..c8f979d832 100644--- a/weed/operation/submit.go+++ b/weed/operation/submit.go@@ -69,6 +69,7 @@ func SubmitFiles(master string, grpcDialOption grpc.DialOption, files []FilePartfile.Replication = replicationfile.Collection = collectionfile.DataCenter = dataCenter+ file.Ttl = ttlresults[index].Size, err = file.Upload(maxMB, master, usePublicUrl, ret.Auth, grpcDialOption)if err != nil {results[index].Error = err.Error()