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 existence checking
Chris Lu3097b9a9b785
diff --git a/weed/topology/data_node_ec.go b/weed/topology/data_node_ec.goindex cd4c5cd8b5..df1b6d658c 100644--- a/weed/topology/data_node_ec.go+++ b/weed/topology/data_node_ec.go@@ -62,7 +62,7 @@ func (dn *DataNode) UpdateEcShards(actualShards []*erasure_coding.EcVolumeInfo)deltaDiskUsages := newDiskUsages()deltaDiskUsage := deltaDiskUsages.getOrCreateDisk(types.ToDiskType(ecShards.DiskType))- if dn.hasEcShards(ecShards.VolumeId) {+ if !dn.hasEcShards(ecShards.VolumeId) {newShards = append(newShards, ecShards)newShardCount += ecShards.ShardIdCount()}