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
mount: remove mount directory from generating cache directory id
chrislu109dc7fdf62b
diff --git a/weed/mount/weedfs.go b/weed/mount/weedfs.goindex 7cff71c52b..0198de02d5 100644--- a/weed/mount/weedfs.go+++ b/weed/mount/weedfs.go@@ -190,7 +190,7 @@ func (wfs *WFS) getCurrentFiler() pb.ServerAddress {}func (option *Option) setupUniqueCacheDirectory() {- cacheUniqueId := util.Md5String([]byte(option.MountDirectory + string(option.FilerAddresses[0]) + option.FilerMountRootPath + util.Version()))[0:8]+ cacheUniqueId := util.Md5String([]byte(string(option.FilerAddresses[0]) + option.FilerMountRootPath + util.Version()))[0:8]option.uniqueCacheDir = path.Join(option.CacheDir, cacheUniqueId)option.uniqueCacheTempPageDir = filepath.Join(option.uniqueCacheDir, "swap")os.MkdirAll(option.uniqueCacheTempPageDir, os.FileMode(0777)&^option.Umask)