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 nil volume data backend
chrisluaed6fdffd29a
diff --git a/weed/server/volume_grpc_admin.go b/weed/server/volume_grpc_admin.goindex 8cd6ff9490..abd39b582f 100644--- a/weed/server/volume_grpc_admin.go+++ b/weed/server/volume_grpc_admin.go@@ -236,6 +236,9 @@ func (vs *VolumeServer) VolumeStatus(ctx context.Context, req *volume_server_pb.if v == nil {return nil, fmt.Errorf("not found volume id %d", req.VolumeId)}+ if v.DataBackend == nil {+ return nil, fmt.Errorf("volume %d data backend not found", req.VolumeId)+ }volumeSize, _, _ := v.DataBackend.GetStat()resp.IsReadOnly = v.IsReadOnly()