Skip to content

Commit

Permalink
Revert "add protobuf for coprocessor_v2"
Browse files Browse the repository at this point in the history
This reverts commit 65c0292.
  • Loading branch information
nrc committed Apr 15, 2021
1 parent 0ca4cae commit e259488
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
33 changes: 0 additions & 33 deletions tikv-client-proto/proto/coprocessor_v2.proto

This file was deleted.

8 changes: 0 additions & 8 deletions tikv-client-proto/proto/tikvpb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ syntax = "proto3";
package tikvpb;

import "coprocessor.proto";
import "coprocessor_v2.proto";
import "kvrpcpb.proto";
import "mpp.proto";
import "raft_serverpb.proto";
Expand Down Expand Up @@ -70,9 +69,6 @@ service Tikv {
rpc CoprocessorStream(coprocessor.Request) returns (stream coprocessor.Response) {}
rpc BatchCoprocessor(coprocessor.BatchRequest) returns (stream coprocessor.BatchResponse) {}

// Command for executing custom user requests in TiKV coprocessor_v2.
rpc CoprocessorV2(coprocessor_v2.RawCoprocessorRequest) returns (coprocessor_v2.RawCoprocessorResponse) {}

// Raft commands (sent between TiKV nodes).
rpc Raft(stream raft_serverpb.RaftMessage) returns (raft_serverpb.Done) {}
rpc BatchRaft(stream BatchRaftMessage) returns (raft_serverpb.Done) {}
Expand Down Expand Up @@ -148,8 +144,6 @@ message BatchCommandsRequest {

kvrpcpb.CheckSecondaryLocksRequest CheckSecondaryLocks = 33;

coprocessor_v2.RawCoprocessorRequest CoprocessorV2 = 34;

// For some test cases.
BatchCommandsEmptyRequest Empty = 255;
}
Expand Down Expand Up @@ -203,8 +197,6 @@ message BatchCommandsResponse {

kvrpcpb.CheckSecondaryLocksResponse CheckSecondaryLocks = 33;

coprocessor_v2.RawCoprocessorResponse CoprocessorV2 = 34;

// For some test cases.
BatchCommandsEmptyResponse Empty = 255;
}
Expand Down

0 comments on commit e259488

Please sign in to comment.