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
deleted index entry could not point to deleted needle
霍晓栋52e55508da33
diff --git a/weed/topology/volume_layout.go b/weed/topology/volume_layout.goindex afb14b6e4e..066f5f69ac 100644--- a/weed/topology/volume_layout.go+++ b/weed/topology/volume_layout.go@@ -43,6 +43,7 @@ func (vl *VolumeLayout) RegisterVolume(v *storage.VolumeInfo, dn *DataNode) {if _, ok := vl.vid2location[v.Id]; !ok {vl.vid2location[v.Id] = NewVolumeLocationList()}+ vl.vid2location[v.Id].Set(dn)glog.V(4).Infoln("volume", v.Id, "added to dn", dn.Id(), "len", vl.vid2location[v.Id].Length(), "copy", v.ReplicaPlacement.GetCopyCount())if vl.vid2location[v.Id].Length() == vl.rp.GetCopyCount() && vl.isWritable(v) {if _, ok := vl.oversizedVolumes[v.Id]; !ok {