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 concurrent map reads
Chris Lu1102ae32c401
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.goindex 0db95d2895..e2d6c170cc 100644--- a/weed/topology/volume_layout.go+++ b/weed/topology/volume_layout.go@@ -218,7 +218,7 @@ func (vl *VolumeLayout) ensureCorrectWritables(vid needle.VolumeId) {func (vl *VolumeLayout) isAllWritable(vid needle.VolumeId) bool {for _, dn := range vl.vid2location[vid].list {- if v, found := dn.volumes[vid]; found {+ if v, getError := dn.GetVolumesById(vid); getError == nil {if v.ReadOnly {return false}