Skip to content

Commit

Permalink
add blob store create and drop request
Browse files Browse the repository at this point in the history
Signed-off-by: muzhouliu <[email protected]>
  • Loading branch information
mzhl1111 committed Feb 17, 2024
1 parent 7caeb79 commit 5f0d8f6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,9 @@ enum ObjectPrivilege {
PrivilegeDropAlias = 45;
PrivilegeDescribeAlias = 46;
PrivilegeListAliases = 47;

PrivilegeCreateBlobStorage = 48;
PrivilegeDropBlobStorage = 49;
}

message PrivilegeExt {
Expand Down
23 changes: 23 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
}

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 5f0d8f6

Please sign in to comment.