Update proto

Signed-off-by: neza2017 <yefu.chen@zilliz.com>
pull/4973/head^2
neza2017 2021-01-28 17:25:43 +08:00 committed by yefu.chen
parent 2ebeade25e
commit 3a866dab3d
9 changed files with 327 additions and 370 deletions

View File

@ -373,10 +373,9 @@ static void InitDefaultsscc_info_DescribeSegmentResponse_milvus_2eproto() {
::milvus::proto::milvus::DescribeSegmentResponse::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_DescribeSegmentResponse_milvus_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsscc_info_DescribeSegmentResponse_milvus_2eproto}, {
&scc_info_Status_common_2eproto.base,
&scc_info_IndexDescription_milvus_2eproto.base,}};
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_DescribeSegmentResponse_milvus_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_DescribeSegmentResponse_milvus_2eproto}, {
&scc_info_Status_common_2eproto.base,}};
static void InitDefaultsscc_info_DropCollectionRequest_milvus_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
@ -1012,7 +1011,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, status_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, indexid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, index_description_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, buildid_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowSegmentRequest, _internal_metadata_),
~0u, // no _extensions_
@ -1312,122 +1311,120 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(
"(\t\022\024\n\014partitionIDs\030\003 \003(\003\"m\n\026DescribeSegm"
"entRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto."
"common.MsgBase\022\024\n\014collectionID\030\002 \001(\003\022\021\n\t"
"segmentID\030\003 \001(\003\"\231\001\n\027DescribeSegmentRespo"
"nse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.commo"
"n.Status\022\017\n\007indexID\030\002 \001(\003\022@\n\021index_descr"
"iption\030\003 \001(\0132%.milvus.proto.milvus.Index"
"Description\"k\n\022ShowSegmentRequest\022*\n\004bas"
"e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\024\n"
"\014collectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003"
"\"V\n\023ShowSegmentResponse\022+\n\006status\030\001 \001(\0132"
"\033.milvus.proto.common.Status\022\022\n\nsegmentI"
"Ds\030\002 \003(\003\"\267\001\n\022CreateIndexRequest\022*\n\004base\030"
"\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007d"
"b_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n"
"\nfield_name\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132"
"!.milvus.proto.common.KeyValuePair\"\224\001\n\024D"
"escribeIndexRequest\022*\n\004base\030\001 \001(\0132\034.milv"
"us.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t"
"\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield_name\030"
"\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"Y\n\020IndexDescri"
"ption\022\022\n\nindex_name\030\001 \001(\t\0221\n\006params\030\002 \003("
"\0132!.milvus.proto.common.KeyValuePair\"\207\001\n"
"\025DescribeIndexResponse\022+\n\006status\030\001 \001(\0132\033"
".milvus.proto.common.Status\022A\n\022index_des"
"criptions\030\002 \003(\0132%.milvus.proto.milvus.In"
"dexDescription\"\221\001\n\021IndexStateRequest\022*\n\004"
"base\030\001 \001(\0132\034.milvus.proto.common.MsgBase"
"\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001"
"(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001"
"(\t\"q\n\022IndexStateResponse\022+\n\006status\030\001 \001(\013"
"2\033.milvus.proto.common.Status\022.\n\005state\030\002"
" \001(\0162\037.milvus.proto.common.IndexState\"\275\001"
"\n\rInsertRequest\022*\n\004base\030\001 \001(\0132\034.milvus.p"
"roto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017"
"collection_name\030\003 \001(\t\022\026\n\016partition_name\030"
"\004 \001(\t\022+\n\010row_data\030\005 \003(\0132\031.milvus.proto.c"
"ommon.Blob\022\021\n\thash_keys\030\006 \003(\r\"e\n\016InsertR"
"esponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.c"
"ommon.Status\022\023\n\013rowID_begin\030\002 \001(\003\022\021\n\trow"
"ID_end\030\003 \001(\003\"c\n\020PlaceholderValue\022\013\n\003tag\030"
"\001 \001(\t\0222\n\004type\030\002 \001(\0162$.milvus.proto.milvu"
"s.PlaceholderType\022\016\n\006values\030\003 \003(\014\"O\n\020Pla"
"ceholderGroup\022;\n\014placeholders\030\001 \003(\0132%.mi"
"lvus.proto.milvus.PlaceholderValue\"\246\001\n\rS"
"earchRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot"
"o.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017col"
"lection_name\030\003 \001(\t\022\027\n\017partition_names\030\004 "
"\003(\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021placeholder_group\030\006 "
"\001(\014\"5\n\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003"
"(\014\022\016\n\006scores\030\003 \003(\002\"J\n\rSearchResults\022+\n\006s"
"tatus\030\001 \001(\0132\033.milvus.proto.common.Status"
"\022\014\n\004hits\030\002 \003(\014\"d\n\014FlushRequest\022*\n\004base\030\001"
" \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db"
"_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\"r\n\024"
"RegisterLinkResponse\022-\n\007address\030\001 \001(\0132\034."
"milvus.proto.common.Address\022+\n\006status\030\002 "
"\001(\0132\033.milvus.proto.common.Status*@\n\017Plac"
"eholderType\022\010\n\004NONE\020\000\022\021\n\rVECTOR_BINARY\020d"
"\022\020\n\014VECTOR_FLOAT\020e2\357\020\n\rMilvusService\022_\n\020"
"CreateCollection\022,.milvus.proto.milvus.C"
"reateCollectionRequest\032\033.milvus.proto.co"
"mmon.Status\"\000\022[\n\016DropCollection\022*.milvus"
".proto.milvus.DropCollectionRequest\032\033.mi"
"lvus.proto.common.Status\"\000\022_\n\rHasCollect"
"ion\022).milvus.proto.milvus.HasCollectionR"
"equest\032!.milvus.proto.milvus.BoolRespons"
"e\"\000\022[\n\016LoadCollection\022*.milvus.proto.mil"
"vus.LoadCollectionRequest\032\033.milvus.proto"
".common.Status\"\000\022a\n\021ReleaseCollection\022-."
"milvus.proto.milvus.ReleaseCollectionReq"
"uest\032\033.milvus.proto.common.Status\"\000\022w\n\022D"
"escribeCollection\022..milvus.proto.milvus."
"DescribeCollectionRequest\032/.milvus.proto"
".milvus.DescribeCollectionResponse\"\000\022v\n\027"
"GetCollectionStatistics\022+.milvus.proto.m"
"ilvus.CollectionStatsRequest\032,.milvus.pr"
"oto.milvus.CollectionStatsResponse\"\000\022l\n\017"
"ShowCollections\022*.milvus.proto.milvus.Sh"
"owCollectionRequest\032+.milvus.proto.milvu"
"s.ShowCollectionResponse\"\000\022]\n\017CreatePart"
"ition\022+.milvus.proto.milvus.CreatePartit"
"ionRequest\032\033.milvus.proto.common.Status\""
"\000\022Y\n\rDropPartition\022).milvus.proto.milvus"
".DropPartitionRequest\032\033.milvus.proto.com"
"mon.Status\"\000\022]\n\014HasPartition\022(.milvus.pr"
"oto.milvus.HasPartitionRequest\032!.milvus."
"proto.milvus.BoolResponse\"\000\022Y\n\016LoadParti"
"tions\022(.milvus.proto.milvus.LoadPartiton"
"Request\032\033.milvus.proto.common.Status\"\000\022`"
"\n\021ReleasePartitions\022,.milvus.proto.milvu"
"s.ReleasePartitionRequest\032\033.milvus.proto"
".common.Status\"\000\022s\n\026GetPartitionStatisti"
"cs\022*.milvus.proto.milvus.PartitionStatsR"
"equest\032+.milvus.proto.milvus.PartitionSt"
"atsResponse\"\000\022i\n\016ShowPartitions\022).milvus"
".proto.milvus.ShowPartitionRequest\032*.mil"
"vus.proto.milvus.ShowPartitionResponse\"\000"
"\022U\n\013CreateIndex\022\'.milvus.proto.milvus.Cr"
"eateIndexRequest\032\033.milvus.proto.common.S"
"tatus\"\000\022h\n\rDescribeIndex\022).milvus.proto."
"milvus.DescribeIndexRequest\032*.milvus.pro"
"to.milvus.DescribeIndexResponse\"\000\022b\n\rGet"
"IndexState\022&.milvus.proto.milvus.IndexSt"
"ateRequest\032\'.milvus.proto.milvus.IndexSt"
"ateResponse\"\000\022S\n\006Insert\022\".milvus.proto.m"
"ilvus.InsertRequest\032#.milvus.proto.milvu"
"s.InsertResponse\"\000\022R\n\006Search\022\".milvus.pr"
"oto.milvus.SearchRequest\032\".milvus.proto."
"milvus.SearchResults\"\000\022I\n\005Flush\022!.milvus"
".proto.milvus.FlushRequest\032\033.milvus.prot"
"o.common.Status\"\000\022Q\n\014GetDdChannel\022\032.milv"
"us.proto.common.Empty\032#.milvus.proto.mil"
"vus.StringResponse\"\0002g\n\014ProxyService\022W\n\014"
"RegisterLink\022\032.milvus.proto.common.Empty"
"\032).milvus.proto.milvus.RegisterLinkRespo"
"nse\"\000BBZ@github.com/zilliztech/milvus-di"
"stributed/internal/proto/milvuspbb\006proto"
"3"
"segmentID\030\003 \001(\003\"h\n\027DescribeSegmentRespon"
"se\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common"
".Status\022\017\n\007indexID\030\002 \001(\003\022\017\n\007buildID\030\003 \001("
"\003\"k\n\022ShowSegmentRequest\022*\n\004base\030\001 \001(\0132\034."
"milvus.proto.common.MsgBase\022\024\n\014collectio"
"nID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\"V\n\023ShowSe"
"gmentResponse\022+\n\006status\030\001 \001(\0132\033.milvus.p"
"roto.common.Status\022\022\n\nsegmentIDs\030\002 \003(\003\"\267"
"\001\n\022CreateIndexRequest\022*\n\004base\030\001 \001(\0132\034.mi"
"lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001"
"(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield_nam"
"e\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132!.milvus.p"
"roto.common.KeyValuePair\"\224\001\n\024DescribeInd"
"exRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.c"
"ommon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collec"
"tion_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\ni"
"ndex_name\030\005 \001(\t\"Y\n\020IndexDescription\022\022\n\ni"
"ndex_name\030\001 \001(\t\0221\n\006params\030\002 \003(\0132!.milvus"
".proto.common.KeyValuePair\"\207\001\n\025DescribeI"
"ndexResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pr"
"oto.common.Status\022A\n\022index_descriptions\030"
"\002 \003(\0132%.milvus.proto.milvus.IndexDescrip"
"tion\"\221\001\n\021IndexStateRequest\022*\n\004base\030\001 \001(\013"
"2\034.milvus.proto.common.MsgBase\022\017\n\007db_nam"
"e\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfiel"
"d_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"q\n\022Inde"
"xStateResponse\022+\n\006status\030\001 \001(\0132\033.milvus."
"proto.common.Status\022.\n\005state\030\002 \001(\0162\037.mil"
"vus.proto.common.IndexState\"\275\001\n\rInsertRe"
"quest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.commo"
"n.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection"
"_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\022+\n\010r"
"ow_data\030\005 \003(\0132\031.milvus.proto.common.Blob"
"\022\021\n\thash_keys\030\006 \003(\r\"e\n\016InsertResponse\022+\n"
"\006status\030\001 \001(\0132\033.milvus.proto.common.Stat"
"us\022\023\n\013rowID_begin\030\002 \001(\003\022\021\n\trowID_end\030\003 \001"
"(\003\"c\n\020PlaceholderValue\022\013\n\003tag\030\001 \001(\t\0222\n\004t"
"ype\030\002 \001(\0162$.milvus.proto.milvus.Placehol"
"derType\022\016\n\006values\030\003 \003(\014\"O\n\020PlaceholderGr"
"oup\022;\n\014placeholders\030\001 \003(\0132%.milvus.proto"
".milvus.PlaceholderValue\"\246\001\n\rSearchReque"
"st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M"
"sgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_na"
"me\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\022\013\n\003dsl"
"\030\005 \001(\t\022\031\n\021placeholder_group\030\006 \001(\014\"5\n\004Hit"
"s\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006scor"
"es\030\003 \003(\002\"J\n\rSearchResults\022+\n\006status\030\001 \001("
"\0132\033.milvus.proto.common.Status\022\014\n\004hits\030\002"
" \003(\014\"d\n\014FlushRequest\022*\n\004base\030\001 \001(\0132\034.mil"
"vus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001("
"\t\022\027\n\017collection_name\030\003 \001(\t\"r\n\024RegisterLi"
"nkResponse\022-\n\007address\030\001 \001(\0132\034.milvus.pro"
"to.common.Address\022+\n\006status\030\002 \001(\0132\033.milv"
"us.proto.common.Status*@\n\017PlaceholderTyp"
"e\022\010\n\004NONE\020\000\022\021\n\rVECTOR_BINARY\020d\022\020\n\014VECTOR"
"_FLOAT\020e2\357\020\n\rMilvusService\022_\n\020CreateColl"
"ection\022,.milvus.proto.milvus.CreateColle"
"ctionRequest\032\033.milvus.proto.common.Statu"
"s\"\000\022[\n\016DropCollection\022*.milvus.proto.mil"
"vus.DropCollectionRequest\032\033.milvus.proto"
".common.Status\"\000\022_\n\rHasCollection\022).milv"
"us.proto.milvus.HasCollectionRequest\032!.m"
"ilvus.proto.milvus.BoolResponse\"\000\022[\n\016Loa"
"dCollection\022*.milvus.proto.milvus.LoadCo"
"llectionRequest\032\033.milvus.proto.common.St"
"atus\"\000\022a\n\021ReleaseCollection\022-.milvus.pro"
"to.milvus.ReleaseCollectionRequest\032\033.mil"
"vus.proto.common.Status\"\000\022w\n\022DescribeCol"
"lection\022..milvus.proto.milvus.DescribeCo"
"llectionRequest\032/.milvus.proto.milvus.De"
"scribeCollectionResponse\"\000\022v\n\027GetCollect"
"ionStatistics\022+.milvus.proto.milvus.Coll"
"ectionStatsRequest\032,.milvus.proto.milvus"
".CollectionStatsResponse\"\000\022l\n\017ShowCollec"
"tions\022*.milvus.proto.milvus.ShowCollecti"
"onRequest\032+.milvus.proto.milvus.ShowColl"
"ectionResponse\"\000\022]\n\017CreatePartition\022+.mi"
"lvus.proto.milvus.CreatePartitionRequest"
"\032\033.milvus.proto.common.Status\"\000\022Y\n\rDropP"
"artition\022).milvus.proto.milvus.DropParti"
"tionRequest\032\033.milvus.proto.common.Status"
"\"\000\022]\n\014HasPartition\022(.milvus.proto.milvus"
".HasPartitionRequest\032!.milvus.proto.milv"
"us.BoolResponse\"\000\022Y\n\016LoadPartitions\022(.mi"
"lvus.proto.milvus.LoadPartitonRequest\032\033."
"milvus.proto.common.Status\"\000\022`\n\021ReleaseP"
"artitions\022,.milvus.proto.milvus.ReleaseP"
"artitionRequest\032\033.milvus.proto.common.St"
"atus\"\000\022s\n\026GetPartitionStatistics\022*.milvu"
"s.proto.milvus.PartitionStatsRequest\032+.m"
"ilvus.proto.milvus.PartitionStatsRespons"
"e\"\000\022i\n\016ShowPartitions\022).milvus.proto.mil"
"vus.ShowPartitionRequest\032*.milvus.proto."
"milvus.ShowPartitionResponse\"\000\022U\n\013Create"
"Index\022\'.milvus.proto.milvus.CreateIndexR"
"equest\032\033.milvus.proto.common.Status\"\000\022h\n"
"\rDescribeIndex\022).milvus.proto.milvus.Des"
"cribeIndexRequest\032*.milvus.proto.milvus."
"DescribeIndexResponse\"\000\022b\n\rGetIndexState"
"\022&.milvus.proto.milvus.IndexStateRequest"
"\032\'.milvus.proto.milvus.IndexStateRespons"
"e\"\000\022S\n\006Insert\022\".milvus.proto.milvus.Inse"
"rtRequest\032#.milvus.proto.milvus.InsertRe"
"sponse\"\000\022R\n\006Search\022\".milvus.proto.milvus"
".SearchRequest\032\".milvus.proto.milvus.Sea"
"rchResults\"\000\022I\n\005Flush\022!.milvus.proto.mil"
"vus.FlushRequest\032\033.milvus.proto.common.S"
"tatus\"\000\022Q\n\014GetDdChannel\022\032.milvus.proto.c"
"ommon.Empty\032#.milvus.proto.milvus.String"
"Response\"\0002g\n\014ProxyService\022W\n\014RegisterLi"
"nk\022\032.milvus.proto.common.Empty\032).milvus."
"proto.milvus.RegisterLinkResponse\"\000BBZ@g"
"ithub.com/zilliztech/milvus-distributed/"
"internal/proto/milvuspbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
@ -1479,7 +1476,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once;
static bool descriptor_table_milvus_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = {
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 7361,
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 7311,
&descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 41, 2,
schemas, file_default_instances, TableStruct_milvus_2eproto::offsets,
file_level_metadata_milvus_2eproto, 41, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto,
@ -10673,23 +10670,16 @@ void DescribeSegmentRequest::InternalSwap(DescribeSegmentRequest* other) {
void DescribeSegmentResponse::InitAsDefaultInstance() {
::milvus::proto::milvus::_DescribeSegmentResponse_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>(
::milvus::proto::common::Status::internal_default_instance());
::milvus::proto::milvus::_DescribeSegmentResponse_default_instance_._instance.get_mutable()->index_description_ = const_cast< ::milvus::proto::milvus::IndexDescription*>(
::milvus::proto::milvus::IndexDescription::internal_default_instance());
}
class DescribeSegmentResponse::_Internal {
public:
static const ::milvus::proto::common::Status& status(const DescribeSegmentResponse* msg);
static const ::milvus::proto::milvus::IndexDescription& index_description(const DescribeSegmentResponse* msg);
};
const ::milvus::proto::common::Status&
DescribeSegmentResponse::_Internal::status(const DescribeSegmentResponse* msg) {
return *msg->status_;
}
const ::milvus::proto::milvus::IndexDescription&
DescribeSegmentResponse::_Internal::index_description(const DescribeSegmentResponse* msg) {
return *msg->index_description_;
}
void DescribeSegmentResponse::clear_status() {
if (GetArenaNoVirtual() == nullptr && status_ != nullptr) {
delete status_;
@ -10710,20 +10700,17 @@ DescribeSegmentResponse::DescribeSegmentResponse(const DescribeSegmentResponse&
} else {
status_ = nullptr;
}
if (from.has_index_description()) {
index_description_ = new ::milvus::proto::milvus::IndexDescription(*from.index_description_);
} else {
index_description_ = nullptr;
}
indexid_ = from.indexid_;
::memcpy(&indexid_, &from.indexid_,
static_cast<size_t>(reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(buildid_));
// @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.DescribeSegmentResponse)
}
void DescribeSegmentResponse::SharedCtor() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescribeSegmentResponse_milvus_2eproto.base);
::memset(&status_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&indexid_) -
reinterpret_cast<char*>(&status_)) + sizeof(indexid_));
reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&status_)) + sizeof(buildid_));
}
DescribeSegmentResponse::~DescribeSegmentResponse() {
@ -10733,7 +10720,6 @@ DescribeSegmentResponse::~DescribeSegmentResponse() {
void DescribeSegmentResponse::SharedDtor() {
if (this != internal_default_instance()) delete status_;
if (this != internal_default_instance()) delete index_description_;
}
void DescribeSegmentResponse::SetCachedSize(int size) const {
@ -10755,11 +10741,9 @@ void DescribeSegmentResponse::Clear() {
delete status_;
}
status_ = nullptr;
if (GetArenaNoVirtual() == nullptr && index_description_ != nullptr) {
delete index_description_;
}
index_description_ = nullptr;
indexid_ = PROTOBUF_LONGLONG(0);
::memset(&indexid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(buildid_));
_internal_metadata_.Clear();
}
@ -10785,10 +10769,10 @@ const char* DescribeSegmentResponse::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr);
} else goto handle_unusual;
continue;
// .milvus.proto.milvus.IndexDescription index_description = 3;
// int64 buildID = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) {
ptr = ctx->ParseMessage(mutable_index_description(), ptr);
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
buildid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
@ -10846,11 +10830,13 @@ bool DescribeSegmentResponse::MergePartialFromCodedStream(
break;
}
// .milvus.proto.milvus.IndexDescription index_description = 3;
// int64 buildID = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) {
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage(
input, mutable_index_description()));
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>(
input, &buildid_)));
} else {
goto handle_unusual;
}
@ -10895,10 +10881,9 @@ void DescribeSegmentResponse::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(2, this->indexid(), output);
}
// .milvus.proto.milvus.IndexDescription index_description = 3;
if (this->has_index_description()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray(
3, _Internal::index_description(this), output);
// int64 buildID = 3;
if (this->buildid() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(3, this->buildid(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
@ -10926,11 +10911,9 @@ void DescribeSegmentResponse::SerializeWithCachedSizes(
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->indexid(), target);
}
// .milvus.proto.milvus.IndexDescription index_description = 3;
if (this->has_index_description()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::
InternalWriteMessageToArray(
3, _Internal::index_description(this), target);
// int64 buildID = 3;
if (this->buildid() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->buildid(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
@ -10961,13 +10944,6 @@ size_t DescribeSegmentResponse::ByteSizeLong() const {
*status_);
}
// .milvus.proto.milvus.IndexDescription index_description = 3;
if (this->has_index_description()) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize(
*index_description_);
}
// int64 indexID = 2;
if (this->indexid() != 0) {
total_size += 1 +
@ -10975,6 +10951,13 @@ size_t DescribeSegmentResponse::ByteSizeLong() const {
this->indexid());
}
// int64 buildID = 3;
if (this->buildid() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
this->buildid());
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
@ -11005,12 +10988,12 @@ void DescribeSegmentResponse::MergeFrom(const DescribeSegmentResponse& from) {
if (from.has_status()) {
mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status());
}
if (from.has_index_description()) {
mutable_index_description()->::milvus::proto::milvus::IndexDescription::MergeFrom(from.index_description());
}
if (from.indexid() != 0) {
set_indexid(from.indexid());
}
if (from.buildid() != 0) {
set_buildid(from.buildid());
}
}
void DescribeSegmentResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
@ -11035,8 +11018,8 @@ void DescribeSegmentResponse::InternalSwap(DescribeSegmentResponse* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(status_, other->status_);
swap(index_description_, other->index_description_);
swap(indexid_, other->indexid_);
swap(buildid_, other->buildid_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DescribeSegmentResponse::GetMetadata() const {

View File

@ -4073,8 +4073,8 @@ class DescribeSegmentResponse :
enum : int {
kStatusFieldNumber = 1,
kIndexDescriptionFieldNumber = 3,
kIndexIDFieldNumber = 2,
kBuildIDFieldNumber = 3,
};
// .milvus.proto.common.Status status = 1;
bool has_status() const;
@ -4084,27 +4084,24 @@ class DescribeSegmentResponse :
::milvus::proto::common::Status* mutable_status();
void set_allocated_status(::milvus::proto::common::Status* status);
// .milvus.proto.milvus.IndexDescription index_description = 3;
bool has_index_description() const;
void clear_index_description();
const ::milvus::proto::milvus::IndexDescription& index_description() const;
::milvus::proto::milvus::IndexDescription* release_index_description();
::milvus::proto::milvus::IndexDescription* mutable_index_description();
void set_allocated_index_description(::milvus::proto::milvus::IndexDescription* index_description);
// int64 indexID = 2;
void clear_indexid();
::PROTOBUF_NAMESPACE_ID::int64 indexid() const;
void set_indexid(::PROTOBUF_NAMESPACE_ID::int64 value);
// int64 buildID = 3;
void clear_buildid();
::PROTOBUF_NAMESPACE_ID::int64 buildid() const;
void set_buildid(::PROTOBUF_NAMESPACE_ID::int64 value);
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeSegmentResponse)
private:
class _Internal;
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
::milvus::proto::common::Status* status_;
::milvus::proto::milvus::IndexDescription* index_description_;
::PROTOBUF_NAMESPACE_ID::int64 indexid_;
::PROTOBUF_NAMESPACE_ID::int64 buildid_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_milvus_2eproto;
};
@ -10322,55 +10319,18 @@ inline void DescribeSegmentResponse::set_indexid(::PROTOBUF_NAMESPACE_ID::int64
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentResponse.indexID)
}
// .milvus.proto.milvus.IndexDescription index_description = 3;
inline bool DescribeSegmentResponse::has_index_description() const {
return this != internal_default_instance() && index_description_ != nullptr;
// int64 buildID = 3;
inline void DescribeSegmentResponse::clear_buildid() {
buildid_ = PROTOBUF_LONGLONG(0);
}
inline void DescribeSegmentResponse::clear_index_description() {
if (GetArenaNoVirtual() == nullptr && index_description_ != nullptr) {
delete index_description_;
}
index_description_ = nullptr;
inline ::PROTOBUF_NAMESPACE_ID::int64 DescribeSegmentResponse::buildid() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentResponse.buildID)
return buildid_;
}
inline const ::milvus::proto::milvus::IndexDescription& DescribeSegmentResponse::index_description() const {
const ::milvus::proto::milvus::IndexDescription* p = index_description_;
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentResponse.index_description)
return p != nullptr ? *p : *reinterpret_cast<const ::milvus::proto::milvus::IndexDescription*>(
&::milvus::proto::milvus::_IndexDescription_default_instance_);
}
inline ::milvus::proto::milvus::IndexDescription* DescribeSegmentResponse::release_index_description() {
// @@protoc_insertion_point(field_release:milvus.proto.milvus.DescribeSegmentResponse.index_description)
inline void DescribeSegmentResponse::set_buildid(::PROTOBUF_NAMESPACE_ID::int64 value) {
::milvus::proto::milvus::IndexDescription* temp = index_description_;
index_description_ = nullptr;
return temp;
}
inline ::milvus::proto::milvus::IndexDescription* DescribeSegmentResponse::mutable_index_description() {
if (index_description_ == nullptr) {
auto* p = CreateMaybeMessage<::milvus::proto::milvus::IndexDescription>(GetArenaNoVirtual());
index_description_ = p;
}
// @@protoc_insertion_point(field_mutable:milvus.proto.milvus.DescribeSegmentResponse.index_description)
return index_description_;
}
inline void DescribeSegmentResponse::set_allocated_index_description(::milvus::proto::milvus::IndexDescription* index_description) {
::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
if (message_arena == nullptr) {
delete index_description_;
}
if (index_description) {
::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
if (message_arena != submessage_arena) {
index_description = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
message_arena, index_description, submessage_arena);
}
} else {
}
index_description_ = index_description;
// @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.DescribeSegmentResponse.index_description)
buildid_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentResponse.buildID)
}
// -------------------------------------------------------------------

View File

@ -247,7 +247,7 @@ func (it *IndexBuildTask) Execute() error {
}
var indexCodec storage.IndexCodec
serializedIndexBlobs, err := indexCodec.Serialize(getStorageBlobs(indexBlobs))
serializedIndexBlobs, err := indexCodec.Serialize(getStorageBlobs(indexBlobs), indexParams)
if err != nil {
return err
}

View File

@ -480,14 +480,7 @@ func (t *DescribeSegmentReqTask) Execute() error {
return err
}
t.Rsp.IndexID = segIdxInfo.IndexID
indexInfo, err := t.core.MetaTable.GetIndexByID(segIdxInfo.IndexID)
if err != nil {
return err
}
t.Rsp.IndexDescription = &milvuspb.IndexDescription{
IndexName: Params.DefaultIndexName, // TODO: set index name
Params: indexInfo.IndexParams,
}
t.Rsp.BuildID = segIdxInfo.BuildID
return nil
}

View File

@ -154,7 +154,7 @@ message DescribeSegmentRequest {
message DescribeSegmentResponse {
common.Status status = 1;
int64 indexID = 2;
IndexDescription index_description = 3;
int64 buildID = 3;
}
message ShowSegmentRequest {

View File

@ -1337,12 +1337,12 @@ func (m *DescribeSegmentRequest) GetSegmentID() int64 {
}
type DescribeSegmentResponse struct {
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
IndexDescription *IndexDescription `protobuf:"bytes,3,opt,name=index_description,json=indexDescription,proto3" json:"index_description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
IndexID int64 `protobuf:"varint,2,opt,name=indexID,proto3" json:"indexID,omitempty"`
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeSegmentResponse) Reset() { *m = DescribeSegmentResponse{} }
@ -1384,11 +1384,11 @@ func (m *DescribeSegmentResponse) GetIndexID() int64 {
return 0
}
func (m *DescribeSegmentResponse) GetIndexDescription() *IndexDescription {
func (m *DescribeSegmentResponse) GetBuildID() int64 {
if m != nil {
return m.IndexDescription
return m.BuildID
}
return nil
return 0
}
type ShowSegmentRequest struct {
@ -2408,113 +2408,112 @@ func init() {
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 1684 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xcd, 0x6f, 0xdb, 0x46,
0x16, 0x37, 0x25, 0x59, 0xb6, 0x9f, 0x29, 0x59, 0x1e, 0x7f, 0x29, 0x4a, 0xb2, 0x71, 0x66, 0x37,
0x6b, 0xe7, 0xcb, 0x5e, 0x38, 0xfb, 0x79, 0x58, 0x20, 0xb1, 0xe5, 0x38, 0x42, 0x12, 0xc7, 0x4b,
0x79, 0xb3, 0xeb, 0x0d, 0x02, 0x2d, 0x25, 0xce, 0x4a, 0xdc, 0x50, 0xa4, 0x96, 0x33, 0xf2, 0x47,
0x4e, 0x8b, 0x5d, 0xa0, 0x05, 0xda, 0xa2, 0x3d, 0xf7, 0x5a, 0xa0, 0xd7, 0xa2, 0x4d, 0x8b, 0x9e,
0x7a, 0x2d, 0xd0, 0xff, 0xa5, 0x28, 0xfa, 0x17, 0x14, 0x28, 0x38, 0xa4, 0x28, 0x92, 0x1a, 0x5a,
0x6a, 0xd4, 0xd6, 0xf2, 0x8d, 0xf3, 0xf8, 0xe6, 0xbd, 0xdf, 0xbc, 0x8f, 0x99, 0x37, 0x6f, 0x40,
0x6e, 0xea, 0xc6, 0x61, 0x9b, 0xae, 0xb5, 0x6c, 0x8b, 0x59, 0x68, 0x2e, 0x38, 0x5a, 0x73, 0x07,
0x05, 0xb9, 0x66, 0x35, 0x9b, 0x96, 0xe9, 0x12, 0x0b, 0x32, 0xad, 0x35, 0x48, 0x53, 0x75, 0x47,
0xf8, 0x43, 0x09, 0x96, 0xb6, 0x6c, 0xa2, 0x32, 0xb2, 0x65, 0x19, 0x06, 0xa9, 0x31, 0xdd, 0x32,
0x15, 0xf2, 0x9f, 0x36, 0xa1, 0x0c, 0xfd, 0x06, 0x52, 0x55, 0x95, 0x92, 0xbc, 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0x6d, 0x33, 0xa2, 0xad, 0xeb, 0x26, 0x23, 0xb6, 0xa9, 0x1a, 0xeb, 0x5c, 0xb0, 0xc7, 0xd1,
0xaa, 0x56, 0xd3, 0x7c, 0x7c, 0xe7, 0xfb, 0x00, 0x00, 0x00, 0xff, 0xff, 0x50, 0x4c, 0x09, 0xb0,
0xf7, 0x21, 0x00, 0x00,
// 1676 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x59, 0xdd, 0x6f, 0x1b, 0xc5,
0x16, 0xcf, 0xda, 0x8e, 0x93, 0x9c, 0xac, 0x1d, 0x67, 0xf2, 0xe5, 0xba, 0xed, 0x6d, 0xba, 0xf7,
0xf6, 0x26, 0xfd, 0x4a, 0xae, 0xd2, 0xfb, 0xf9, 0x70, 0xa5, 0x36, 0x71, 0x9a, 0x5a, 0x6d, 0xd3,
0xdc, 0x75, 0x6e, 0x21, 0x54, 0x95, 0x59, 0x7b, 0x07, 0x7b, 0xe9, 0x7a, 0xd7, 0xec, 0x8c, 0xf3,
0xd1, 0x27, 0x04, 0x12, 0x48, 0x80, 0xe0, 0x99, 0x57, 0x24, 0x5e, 0x11, 0x14, 0xc4, 0x7f, 0x80,
0xc4, 0xff, 0x82, 0x10, 0x7f, 0x01, 0x12, 0xda, 0x99, 0xf5, 0x7a, 0x77, 0x33, 0x1b, 0x9b, 0x1a,
0x88, 0xf3, 0xe6, 0x39, 0x3e, 0x73, 0xe6, 0x37, 0xbf, 0x73, 0xce, 0xcc, 0x99, 0xb3, 0x20, 0x37,
0x0d, 0x73, 0xbf, 0x4d, 0x56, 0x5a, 0x8e, 0x4d, 0x6d, 0x34, 0x13, 0x1c, 0xad, 0xf0, 0x41, 0x41,
0xae, 0xd9, 0xcd, 0xa6, 0x6d, 0x71, 0x61, 0x41, 0x26, 0xb5, 0x06, 0x6e, 0x6a, 0x7c, 0xa4, 0x7c,
0x2e, 0xc1, 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1a, 0xcf, 0x29, 0xae,
0x35, 0x56, 0xf9, 0xb4, 0x9b, 0xba, 0x41, 0xa8, 0x63, 0x54, 0xdb, 0x14, 0xeb, 0xab, 0x86, 0x45,
0xb1, 0x63, 0x69, 0xe6, 0x2a, 0x33, 0xec, 0x69, 0xb4, 0xaa, 0xd5, 0x34, 0x1b, 0xdf, 0xfa, 0x25,
0x00, 0x00, 0xff, 0xff, 0x47, 0x3b, 0x71, 0x2a, 0xbd, 0x21, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -41,6 +41,7 @@ func (s *segmentManager) seekSegment(positions []*internalPb.MsgPosition) error
return nil
}
//TODO, index params
func (s *segmentManager) getIndexInfo(collectionID UniqueID, segmentID UniqueID) (UniqueID, indexParam, error) {
req := &milvuspb.DescribeSegmentRequest{
Base: &commonpb.MsgBase{
@ -53,15 +54,7 @@ func (s *segmentManager) getIndexInfo(collectionID UniqueID, segmentID UniqueID)
if err != nil {
return 0, nil, err
}
if len(response.IndexDescription.Params) <= 0 {
return 0, nil, errors.New("null index param")
}
var targetIndexParam = make(map[string]string)
for _, param := range response.IndexDescription.Params {
targetIndexParam[param.Key] = param.Value
}
return response.IndexID, targetIndexParam, nil
return response.IndexID, nil, nil
}
func (s *segmentManager) loadSegment(collectionID UniqueID, partitionID UniqueID, segmentIDs []UniqueID, fieldIDs []int64) error {

View File

@ -1,6 +1,7 @@
package storage
import (
"encoding/json"
"fmt"
"sort"
"strconv"
@ -14,8 +15,9 @@ import (
)
const (
Ts = "ts"
DDL = "ddl"
Ts = "ts"
DDL = "ddl"
indexParamsFile = "indexParams"
)
type (
@ -633,10 +635,29 @@ func NewIndexCodec() *IndexCodec {
return &IndexCodec{}
}
func (indexCodec *IndexCodec) Serialize(blobs []*Blob) ([]*Blob, error) {
func (indexCodec *IndexCodec) Serialize(blobs []*Blob, params map[string]string) ([]*Blob, error) {
paramsBytes, err := json.Marshal(params)
if err != nil {
return nil, err
}
blobs = append(blobs, &Blob{Key: indexParamsFile, Value: paramsBytes})
return blobs, nil
}
func (indexCodec *IndexCodec) Deserialize(blobs []*Blob) ([]*Blob, error) {
return blobs, nil
func (indexCodec *IndexCodec) Deserialize(blobs []*Blob) ([]*Blob, map[string]string, error) {
var params map[string]string
for i := 0; i < len(blobs); i++ {
if blobs[i].Key != indexParamsFile {
continue
}
if err := json.Unmarshal(blobs[i].Value, &params); err != nil {
return nil, nil, err
}
blobs = append(blobs[:i], blobs[i+1:]...)
break
}
if params == nil {
return nil, nil, errors.New("can not find params blob")
}
return blobs, params, nil
}

View File

@ -307,10 +307,18 @@ func TestIndexCodec(t *testing.T) {
[]byte{8, 8, 8, 8, 8, 8, 8, 8, 2, 3, 4, 5, 6, 7},
},
}
blobsInput, err := indexCodec.Serialize(blobs)
indexParams := map[string]string{
"k1": "v1", "k2": "v2",
}
blobsInput, err := indexCodec.Serialize(blobs, indexParams)
assert.Nil(t, err)
assert.Equal(t, blobs, blobsInput)
blobsOutput, err := indexCodec.Deserialize(blobs)
assert.EqualValues(t, 4, len(blobsInput))
assert.EqualValues(t, indexParamsFile, blobsInput[3])
blobsOutput, indexParamsOutput, err := indexCodec.Deserialize(blobsInput)
assert.Nil(t, err)
assert.Equal(t, blobsOutput, blobsInput)
assert.EqualValues(t, 3, len(blobsOutput))
for i := 0; i < 3; i++ {
assert.EqualValues(t, blobs[i], blobsOutput[i])
}
assert.EqualValues(t, indexParams, indexParamsOutput)
}