Browse Source

send needle data instead of raw needle body

pull/2348/head
Chris Lu 3 years ago
parent
commit
aa64f2ac4c
  1. 2
      weed/server/volume_grpc_read_all.go

2
weed/server/volume_grpc_read_all.go

@ -41,7 +41,7 @@ func (scanner *VolumeFileScanner4ReadAll) VisitNeedle(n *needle.Needle, offset i
sendErr := scanner.stream.Send(&volume_server_pb.ReadAllNeedlesResponse{ sendErr := scanner.stream.Send(&volume_server_pb.ReadAllNeedlesResponse{
NeedleId: uint64(n.Id), NeedleId: uint64(n.Id),
NeedleBlob: needleBody,
NeedleBlob: n.Data,
}) })
if sendErr != nil { if sendErr != nil {
return sendErr return sendErr

Loading…
Cancel
Save