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 master: skip proxied file read in http read only mode
Chris Lu531add52c27f
diff --git a/weed/server/master_server.go b/weed/server/master_server.goindex a77c8fa198..4ecb9f192a 100644--- a/weed/server/master_server.go+++ b/weed/server/master_server.go@@ -93,7 +93,9 @@ func NewMasterServer(r *mux.Router, port int, metaFolder string,r.HandleFunc("/stats/health", ms.guard.WhiteList(statsHealthHandler))r.HandleFunc("/stats/counter", ms.guard.WhiteList(statsCounterHandler))r.HandleFunc("/stats/memory", ms.guard.WhiteList(statsMemoryHandler))- r.HandleFunc("/{fileId}", ms.proxyToLeader(ms.redirectHandler))+ if !httpReadOnly {+ r.HandleFunc("/{fileId}", ms.proxyToLeader(ms.redirectHandler))+ }ms.Topo.StartRefreshWritableVolumes(ms.grpcDialOpiton, garbageThreshold, ms.preallocate)