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(mount): return dropped error (#8623)
Lars Lehtonen577a8459c9f7
diff --git a/weed/mount/rdma_client.go b/weed/mount/rdma_client.goindex 1cab1f1aa3..e9ee802ce4 100644--- a/weed/mount/rdma_client.go+++ b/weed/mount/rdma_client.go@@ -226,6 +226,7 @@ func (c *RDMAMountClient) ReadNeedle(ctx context.Context, fileID string, offset,var data []byte+ var n intif useTempFile && tempFilePath != "" {// Zero-copy path: read from temp file (page cache)glog.V(4).Infof("🔥 Using zero-copy temp file: %s", tempFilePath)@@ -237,7 +238,7 @@ func (c *RDMAMountClient) ReadNeedle(ctx context.Context, fileID string, offset,}buffer := make([]byte, bufferSize)- n, err := c.readFromTempFile(tempFilePath, buffer)+ n, err = c.readFromTempFile(tempFilePath, buffer)if err != nil {glog.V(2).Infof("Zero-copy failed, falling back to HTTP body: %v", err)// Fall back to reading HTTP body