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
Show returned content when can not parse son
chrislusf382c521df725
diff --git a/go/topology/allocate_volume.go b/go/topology/allocate_volume.goindex 669177c090..22730211dc 100644--- a/go/topology/allocate_volume.go+++ b/go/topology/allocate_volume.go@@ -3,6 +3,7 @@ package topologyimport ("encoding/json""errors"+ "fmt""net/url""github.com/chrislusf/weed-fs/go/storage"@@ -25,7 +26,7 @@ func AllocateVolume(dn *DataNode, vid storage.VolumeId, option *VolumeGrowOption}var ret AllocateVolumeResultif err := json.Unmarshal(jsonBlob, &ret); err != nil {- return err+ return fmt.Errorf("Invalid JSON result for %s: %s", "/admin/assign_volum", string(jsonBlob))}if ret.Error != "" {return errors.New(ret.Error)