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
Fix data race about config
wuyuxiangb556d3d03595
diff --git a/weed/util/config.go b/weed/util/config.goindex 33809d44d2..7b6e92f086 100644--- a/weed/util/config.go+++ b/weed/util/config.go@@ -42,7 +42,8 @@ func LoadConfiguration(configFileName string, required bool) (loaded bool) {}func GetViper() *viper.Viper {- v := viper.GetViper()+ v := &viper.Viper{}+ *v = *viper.GetViper()v.AutomaticEnv()v.SetEnvPrefix("weed")v.SetEnvKeyReplacer(strings.NewReplacer(".", "_"))