diff --git a/server/grpc_service.go b/server/grpc_service.go index 55c5ae2bb67..bd57c28db9c 100644 --- a/server/grpc_service.go +++ b/server/grpc_service.go @@ -1507,21 +1507,21 @@ func (s *GrpcServer) GetGCSafePointV2(_ context.Context, _ *pdpb.GetGCSafePointV return nil, errors.New("not implemented") } -// GetGCSafePointV2 implements gRPC PDServer. +// WatchGCSafePointV2 implements gRPC PDServer. // Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111 // whose server side implementation hasn't been merged, so we add this method to avoid compile error. func (s *GrpcServer) WatchGCSafePointV2(_ *pdpb.WatchGCSafePointV2Request, server pdpb.PD_WatchGCSafePointV2Server) error { return errors.New("not implemented") } -// GetGCSafePointV2 implements gRPC PDServer. +// UpdateGCSafePointV2 implements gRPC PDServer. // Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111 // whose server side implementation hasn't been merged, so we add this method to avoid compile error. func (s *GrpcServer) UpdateGCSafePointV2(_ context.Context, _ *pdpb.UpdateGCSafePointV2Request) (*pdpb.UpdateGCSafePointV2Response, error) { return nil, errors.New("not implemented") } -// GetGCSafePointV2 implements gRPC PDServer. +// UpdateServiceSafePointV2 implements gRPC PDServer. // Note: we need latest version of kvproto/master, but there was earlier commit https://github.com/pingcap/kvproto/pull/1111 // whose server side implementation hasn't been merged, so we add this method to avoid compile error. func (s *GrpcServer) UpdateServiceSafePointV2(_ context.Context, _ *pdpb.UpdateServiceSafePointV2Request) (*pdpb.UpdateServiceSafePointV2Response, error) {