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
add error checking when loading dat file
Chris Lu8a12fd9ec41d
diff --git a/weed/storage/volume_loading.go b/weed/storage/volume_loading.goindex 457d504108..5722206507 100644--- a/weed/storage/volume_loading.go+++ b/weed/storage/volume_loading.go@@ -43,6 +43,8 @@ func (v *Volume) load(alsoLoadIndex bool, createDatIfMissing bool, needleMapKindif e != nil {if !os.IsPermission(e) {return fmt.Errorf("cannot load Volume Data %s.dat: %v", fileName, e)+ } else {+ return fmt.Errorf("load data file %s.dat: %v", fileName, e)}}