Skip to content

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.

fix error message

Chris Luae74d8f02a1e
diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go
index a9b6a8ff32..f4587ba01e 100644
--- a/weed/storage/store_ec.go
+++ b/weed/storage/store_ec.go
@@ -303,7 +303,7 @@ func (s *Store) doReadRemoteEcShardInterval(sourceDataNode string, needleId type
break
}
if receiveErr != nil {
- return fmt.Errorf("receiving ec shard %d.%d from %s: %v", vid, shardId, sourceDataNode, err)
+ return fmt.Errorf("receiving ec shard %d.%d from %s: %v", vid, shardId, sourceDataNode, receiveErr)
}
if resp.IsDeleted {
is_deleted = true