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 dn.volumes Iterate when write issue
cheng.li01dad1161c7002
diff --git a/weed/topology/data_node.go b/weed/topology/data_node.goindex d18dd6af06..efdf5285b8 100644--- a/weed/topology/data_node.go+++ b/weed/topology/data_node.go@@ -199,6 +199,8 @@ func (dn *DataNode) ToDataNodeInfo() *master_pb.DataNodeInfo {// GetVolumeIds returns the human readable volume ids limited to count of max 100.func (dn *DataNode) GetVolumeIds() string {+ dn.RLock()+ defer dn.RUnlock()ids := make([]int, 0, len(dn.volumes))for k := range dn.volumes {