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
error logging
Chris Lu0e341a2a9a43
diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.javaindex fbc3296ae4..97da294479 100644--- a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java+++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java@@ -40,7 +40,8 @@ public class SeaweedRead {int startOffset = bufferOffset;for (ChunkView chunkView : chunkViews) {FilerProto.Locations locations = vid2Locations.get(parseVolumeId(chunkView.fileId));- if (locations.getLocationsCount() == 0) {+ if (locations == null || locations.getLocationsCount() == 0) {+ LOG.error("failed to locate {}", chunkView.fileId);// log here!return 0;}