milvus/internal/proto/proxy_service.proto

36 lines
992 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
package milvus.proto.proxy;
option go_package = "github.com/zilliztech/milvus-distributed/internal/proto/proxypb";
import "common.proto";
import "internal.proto";
import "milvus.proto";
message RegisterNodeRequest {
common.MsgBase base = 1;
common.Address address = 2;
}
message RegisterNodeResponse {
internal.InitParams init_params = 1;
common.Status status = 2;
}
message InvalidateCollMetaCacheRequest {
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
service ProxyService {
rpc GetTimeTickChannel(common.Empty) returns (milvus.StringResponse) {}
rpc GetComponentStates(common.Empty) returns (internal.ComponentStates) {}
rpc RegisterNode(RegisterNodeRequest) returns (RegisterNodeResponse) {}
rpc InvalidateCollectionMetaCache(InvalidateCollMetaCacheRequest) returns (common.Status) {}
}
service ProxyNodeService {
rpc InvalidateCollectionMetaCache(InvalidateCollMetaCacheRequest) returns (common.Status) {}
}