refactor: remove unused grpc methods (#67)

This commit is contained in:
LFC
2023-07-17 11:55:01 +08:00
committed by GitHub
parent 9b23f284e9
commit 6e89daefca
9 changed files with 198 additions and 4881 deletions
-18
View File
@@ -21,8 +21,6 @@ option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1/meta"
import "greptime/v1/meta/common.proto";
service Router {
rpc Create(CreateRequest) returns (RouteResponse) {}
// Fetch routing information for tables. The smallest unit is the complete
// routing information(all regions) of a table.
//
@@ -43,16 +41,6 @@ service Router {
// ```
//
rpc Route(RouteRequest) returns (RouteResponse) {}
rpc Delete(DeleteRequest) returns (RouteResponse) {}
}
message CreateRequest {
RequestHeader header = 1;
TableName table_name = 2;
repeated Partition partitions = 3;
bytes table_info = 4;
}
message RouteRequest {
@@ -61,12 +49,6 @@ message RouteRequest {
repeated TableId table_ids = 3;
}
message DeleteRequest {
RequestHeader header = 1;
TableName table_name = 2;
TableId table_id = 3;
}
message RouteResponse {
ResponseHeader header = 1;