From abe35d6a2bb6828cb4a70bb4ea625f12e46f8f8f Mon Sep 17 00:00:00 2001 From: Yuchen Gao Date: Tue, 10 Jan 2023 17:53:03 +0800 Subject: [PATCH] Add interfaces for refresh collection/partitions API Signed-off-by: Yuchen Gao --- proto/milvus.proto | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/proto/milvus.proto b/proto/milvus.proto index e7b64558..c33e204c 100644 --- a/proto/milvus.proto +++ b/proto/milvus.proto @@ -36,6 +36,9 @@ service MilvusService { rpc GetLoadingProgress(GetLoadingProgressRequest) returns (GetLoadingProgressResponse) {} rpc GetLoadState(GetLoadStateRequest) returns (GetLoadStateResponse) {} + rpc RefreshCollection(RefreshCollectionRequest) returns (common.Status) {} + rpc RefreshPartitions(RefreshPartitionsRequest) returns (common.Status) {} + rpc CreateAlias(CreateAliasRequest) returns (common.Status) {} rpc DropAlias(DropAliasRequest) returns (common.Status) {} rpc AlterAlias(AlterAliasRequest) returns (common.Status) {} @@ -1353,6 +1356,17 @@ message GetLoadStateRequest { repeated string partition_names = 3; } +message RefreshCollectionRequest { + common.MsgBase base = 1; + string collection_name = 2; +} + +message RefreshPartitionsRequest { + common.MsgBase base = 1; + string collection_name = 2; + repeated string partition_names = 3; +} + message GetLoadStateResponse { common.Status status = 1; common.LoadState state = 2;