Skip to content

Commit

Permalink
update with new design that blob entry stores reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mzhl1111 committed Jul 11, 2024
1 parent d4a17c9 commit 45520d7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions proto/milvus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ service MilvusService {
rpc DescribeDatabase(DescribeDatabaseRequest) returns (DescribeDatabaseResponse) {}

rpc ReplicateMessage(ReplicateMessageRequest) returns (ReplicateMessageResponse) {}

rpc UpdateBlobBucketInfo(UpdateBlobBucketInfoRequest) returns (common.Status) {}
}

message CreateAliasRequest {
Expand Down Expand Up @@ -1871,6 +1873,12 @@ message ReplicateMessageResponse {
string position = 2;
}

message UpdateBlobBucketInfoRequest {
common.MsgBase base = 1;
string bucket = 2;
string auth_key = 3;
}

message ImportAuthPlaceholder {
option (common.privilege_ext_obj) = {
object_type: Collection
Expand Down
7 changes: 7 additions & 0 deletions proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ message ArrayArray {

message JSONArray { repeated bytes data = 1; }

message BlobFile {
string source_uri = 1;
}

message BlobArray {repeated BlobFile data = 1;}

message ValueField {
oneof data {
bool bool_data = 1;
Expand All @@ -125,6 +131,7 @@ message ScalarField {
BytesArray bytes_data = 7;
ArrayArray array_data = 8;
JSONArray json_data = 9;
BlobArray blob_data = 10;
}
}

Expand Down

0 comments on commit 45520d7

Please sign in to comment.