From 5f0d8f6ffc8e676d578c4a354ec9a27994b43ec0 Mon Sep 17 00:00:00 2001 From: muzhouliu Date: Fri, 16 Feb 2024 18:30:05 -0800 Subject: [PATCH] add blob store create and drop request Signed-off-by: muzhouliu --- proto/common.proto | 3 +++ proto/milvus.proto | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/proto/common.proto b/proto/common.proto index 8fb1100..aba1ac3 100644 --- a/proto/common.proto +++ b/proto/common.proto @@ -395,6 +395,9 @@ enum ObjectPrivilege { PrivilegeDropAlias = 45; PrivilegeDescribeAlias = 46; PrivilegeListAliases = 47; + + PrivilegeCreateBlobStorage = 48; + PrivilegeDropBlobStorage = 49; } message PrivilegeExt { diff --git a/proto/milvus.proto b/proto/milvus.proto index 4d42bdc..e19f19b 100644 --- a/proto/milvus.proto +++ b/proto/milvus.proto @@ -131,6 +131,9 @@ service MilvusService { rpc DropDatabase(DropDatabaseRequest) returns (common.Status) {} rpc ListDatabases(ListDatabasesRequest) returns (ListDatabasesResponse) {} + rpc CreateBlobStorage(CreateBlobStorageRequest) returns (common.Status) {} + rpc DropBlobStorage(DropBlobStorageRequest) returns (common.Status) {} + rpc ReplicateMessage(ReplicateMessageRequest) returns (ReplicateMessageResponse) {} } @@ -1801,6 +1804,26 @@ message ListDatabasesResponse { repeated uint64 created_timestamp = 3; } +message CreateBlobStorageRequest { + option (common.privilege_ext_obj) = { + object_type: Global + object_privilege: PrivilegeCreateBlobStorage + object_name_index: -1 + }; + common.MsgBase base = 1; + string storage_path = 2; +} + +message DropBlobStorageRequest { + option (common.privilege_ext_obj) = { + object_type: Global + object_privilege: PrivilegeDropBlobStorage + object_name_index: -1 + }; + common.MsgBase base = 1; + string storage_path = 2; +} + message ReplicateMessageRequest { common.MsgBase base = 1; string channel_name = 2;