2021-01-14 14:24:14 +08:00
|
|
|
syntax = "proto3";
|
|
|
|
package milvus.proto.proxy;
|
|
|
|
|
|
|
|
option go_package = "github.com/zilliztech/milvus-distributed/internal/proto/proxypb";
|
|
|
|
|
|
|
|
import "common.proto";
|
|
|
|
import "internal.proto";
|
2021-01-26 14:55:57 +08:00
|
|
|
import "milvus.proto";
|
2021-01-14 14:24:14 +08:00
|
|
|
|
|
|
|
|
|
|
|
message RegisterNodeRequest {
|
2021-01-16 15:06:19 +08:00
|
|
|
common.MsgBase base = 1;
|
2021-01-14 14:24:14 +08:00
|
|
|
common.Address address = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message RegisterNodeResponse {
|
|
|
|
internal.InitParams init_params = 1;
|
2021-01-22 12:57:23 +08:00
|
|
|
common.Status status = 2;
|
2021-01-14 14:24:14 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
message InvalidateCollMetaCacheRequest {
|
2021-01-16 15:06:19 +08:00
|
|
|
common.MsgBase base = 1;
|
2021-01-14 14:24:14 +08:00
|
|
|
string db_name = 2;
|
|
|
|
string collection_name = 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
service ProxyService {
|
2021-01-26 14:55:57 +08:00
|
|
|
rpc GetTimeTickChannel(common.Empty) returns (milvus.StringResponse) {}
|
|
|
|
rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {}
|
2021-01-14 14:24:14 +08:00
|
|
|
rpc RegisterNode(RegisterNodeRequest) returns (RegisterNodeResponse) {}
|
|
|
|
rpc InvalidateCollectionMetaCache(InvalidateCollMetaCacheRequest) returns (common.Status) {}
|
|
|
|
}
|
|
|
|
|
|
|
|
service ProxyNodeService {
|
|
|
|
rpc InvalidateCollectionMetaCache(InvalidateCollMetaCacheRequest) returns (common.Status) {}
|
|
|
|
}
|