From 45520d7ae03f82b5f71688c180a54d1552f3e64a Mon Sep 17 00:00:00 2001 From: muzhouliu Date: Thu, 11 Jul 2024 00:13:07 -0700 Subject: [PATCH] update with new design that blob entry stores reference --- proto/milvus.proto | 8 ++++++++ proto/schema.proto | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/proto/milvus.proto b/proto/milvus.proto index a65da0a..61db5f2 100644 --- a/proto/milvus.proto +++ b/proto/milvus.proto @@ -136,6 +136,8 @@ service MilvusService { rpc DescribeDatabase(DescribeDatabaseRequest) returns (DescribeDatabaseResponse) {} rpc ReplicateMessage(ReplicateMessageRequest) returns (ReplicateMessageResponse) {} + + rpc UpdateBlobBucketInfo(UpdateBlobBucketInfoRequest) returns (common.Status) {} } message CreateAliasRequest { @@ -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 diff --git a/proto/schema.proto b/proto/schema.proto index 1f7dca6..ef498f8 100644 --- a/proto/schema.proto +++ b/proto/schema.proto @@ -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; @@ -125,6 +131,7 @@ message ScalarField { BytesArray bytes_data = 7; ArrayArray array_data = 8; JSONArray json_data = 9; + BlobArray blob_data = 10; } }