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
skip JWT if fileId is empty
Chris Lucd866664a85d
diff --git a/weed/server/master_server_handlers.go b/weed/server/master_server_handlers.goindex dc3df2348c..117423ec67 100644--- a/weed/server/master_server_handlers.go+++ b/weed/server/master_server_handlers.go@@ -136,6 +136,9 @@ func (ms *MasterServer) dirAssignHandler(w http.ResponseWriter, r *http.Request)}func (ms *MasterServer) maybeAddJwtAuthorization(w http.ResponseWriter, fileId string, isWrite bool) {+ if fileId == "" {+ return+ }var encodedJwt security.EncodedJwtif isWrite {encodedJwt = security.GenJwt(ms.guard.SigningKey, ms.guard.ExpiresAfterSec, fileId)