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.

revert comment temporarily

bingoohuangee082ae40248
diff --git a/weed/storage/volume_read_write.go b/weed/storage/volume_read_write.go
index 98a5f3a5a4..07376bc88d 100644
--- a/weed/storage/volume_read_write.go
+++ b/weed/storage/volume_read_write.go
@@ -305,8 +305,6 @@ func (v *Volume) readNeedle(n *needle.Needle, readOption *ReadOption) (int, erro
}
err := n.ReadData(v.DataBackend, nv.Offset.ToActualOffset(), readSize, v.Version())
if err == needle.ErrorSizeMismatch && OffsetSize == 4 {
- // add special handling for .dat larger than 32GB, from git commit comment of
- // 06c15ab3 Chris Lu <[email protected]> on 2020/10/28 at 4:11 上
err = n.ReadData(v.DataBackend, nv.Offset.ToActualOffset()+int64(MaxPossibleVolumeSize), readSize, v.Version())
}
v.checkReadWriteError(err)