remove unused ReadNeedleBlobRequest.needle_id

fix https://github.com/seaweedfs/seaweedfs/issues/3853
This commit is contained in:
chrislu
2022-10-13 23:10:46 -07:00
parent f5d4952d73
commit dcd0743a35
4 changed files with 749 additions and 760 deletions

View File

@@ -195,7 +195,6 @@ func (c *commandVolumeCheckDisk) readSourceNeedleBlob(sourceVolumeServer pb.Serv
err = operation.WithVolumeServerClient(false, sourceVolumeServer, c.env.option.GrpcDialOption, func(client volume_server_pb.VolumeServerClient) error {
resp, err := client.ReadNeedleBlob(context.Background(), &volume_server_pb.ReadNeedleBlobRequest{
VolumeId: volumeId,
NeedleId: uint64(needleValue.Key),
Offset: needleValue.Offset.ToActualOffset(),
Size: int32(needleValue.Size),
})