Browse Source

remove unused ReadNeedleBlobRequest.needle_id

fix https://github.com/seaweedfs/seaweedfs/issues/3853
pull/3856/head
chrislu 2 years ago
parent
commit
dcd0743a35
  1. 1
      weed/pb/master_pb/master_grpc.pb.go
  2. 1
      weed/pb/volume_server.proto
  3. 1456
      weed/pb/volume_server_pb/volume_server.pb.go
  4. 1
      weed/shell/command_volume_check_disk.go

1
weed/pb/master_pb/master_grpc.pb.go

@ -11,6 +11,7 @@ import (
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// SeaweedClient is the client API for Seaweed service.

1
weed/pb/volume_server.proto

@ -279,7 +279,6 @@ message CopyFileResponse {
message ReadNeedleBlobRequest {
uint32 volume_id = 1;
uint64 needle_id = 2;
int64 offset = 3; // actual offset
int32 size = 4;
}

1456
weed/pb/volume_server_pb/volume_server.pb.go
File diff suppressed because it is too large
View File

1
weed/shell/command_volume_check_disk.go

@ -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),
})

Loading…
Cancel
Save