Add config of minSegmentSizeToEnableIndex

Signed-off-by: neza2017 <yefu.chen@zilliz.com>
pull/4973/head^2
neza2017 2021-03-08 15:46:51 +08:00 committed by yefu.chen
parent ab21115d54
commit 014c4fe8ce
17 changed files with 646 additions and 414 deletions

View File

@ -23,5 +23,6 @@ master:
IDAssignExpiration: 2000 # ms
maxPartitionNum: 4096
minSegmentSizeToEnableIndex: 4096
nodeID: 100
timeout: 3600 # time out, 5 seconds

View File

@ -295,6 +295,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_etcd_5fmeta_2eproto::offsets[]
PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::SegmentIndexInfo, fieldid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::SegmentIndexInfo, indexid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::SegmentIndexInfo, buildid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::SegmentIndexInfo, enable_index_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::CollectionMeta, _internal_metadata_),
~0u, // no _extensions_
@ -348,10 +349,10 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 33, -1, sizeof(::milvus::proto::etcd::FieldIndexInfo)},
{ 40, -1, sizeof(::milvus::proto::etcd::CollectionInfo)},
{ 50, -1, sizeof(::milvus::proto::etcd::SegmentIndexInfo)},
{ 59, -1, sizeof(::milvus::proto::etcd::CollectionMeta)},
{ 70, -1, sizeof(::milvus::proto::etcd::FieldBinlogFiles)},
{ 77, -1, sizeof(::milvus::proto::etcd::SegmentMeta)},
{ 92, -1, sizeof(::milvus::proto::etcd::FieldIndexMeta)},
{ 60, -1, sizeof(::milvus::proto::etcd::CollectionMeta)},
{ 71, -1, sizeof(::milvus::proto::etcd::FieldBinlogFiles)},
{ 78, -1, sizeof(::milvus::proto::etcd::SegmentMeta)},
{ 93, -1, sizeof(::milvus::proto::etcd::FieldIndexMeta)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@ -386,28 +387,29 @@ const char descriptor_table_protodef_etcd_5fmeta_2eproto[] PROTOBUF_SECTION_VARI
"vus.proto.schema.CollectionSchema\022\023\n\013cre"
"ate_time\030\003 \001(\004\022\024\n\014partitionIDs\030\004 \003(\003\0228\n\r"
"field_indexes\030\005 \003(\0132!.milvus.proto.etcd."
"FieldIndexInfo\"X\n\020SegmentIndexInfo\022\021\n\tse"
"FieldIndexInfo\"n\n\020SegmentIndexInfo\022\021\n\tse"
"gmentID\030\001 \001(\003\022\017\n\007fieldID\030\002 \001(\003\022\017\n\007indexI"
"D\030\003 \001(\003\022\017\n\007buildID\030\004 \001(\003\"\252\001\n\016CollectionM"
"eta\022\n\n\002ID\030\001 \001(\003\0225\n\006schema\030\002 \001(\0132%.milvus"
".proto.schema.CollectionSchema\022\023\n\013create"
"_time\030\003 \001(\004\022\022\n\nsegmentIDs\030\004 \003(\003\022\026\n\016parti"
"tion_tags\030\005 \003(\t\022\024\n\014partitionIDs\030\006 \003(\003\"9\n"
"\020FieldBinlogFiles\022\017\n\007fieldID\030\001 \001(\003\022\024\n\014bi"
"nlog_files\030\002 \003(\t\"\204\002\n\013SegmentMeta\022\021\n\tsegm"
"entID\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\025\n\rpar"
"tition_tag\030\003 \001(\t\022\025\n\rchannel_start\030\004 \001(\005\022"
"\023\n\013channel_end\030\005 \001(\005\022\021\n\topen_time\030\006 \001(\004\022"
"\022\n\nclose_time\030\007 \001(\004\022\020\n\010num_rows\030\010 \001(\003\022\020\n"
"\010mem_size\030\t \001(\003\022>\n\021binlog_file_paths\030\n \003"
"(\0132#.milvus.proto.etcd.FieldBinlogFiles\""
"\310\001\n\016FieldIndexMeta\022\021\n\tsegmentID\030\001 \001(\003\022\017\n"
"\007fieldID\030\002 \001(\003\022\017\n\007indexID\030\003 \001(\003\0227\n\014index"
"_params\030\004 \003(\0132!.milvus.proto.common.KeyV"
"aluePair\022.\n\005state\030\005 \001(\0162\037.milvus.proto.c"
"ommon.IndexState\022\030\n\020index_file_paths\030\006 \003"
"(\tB@Z>github.com/zilliztech/milvus-distr"
"ibuted/internal/proto/etcdpbb\006proto3"
"D\030\003 \001(\003\022\017\n\007buildID\030\004 \001(\003\022\024\n\014enable_index"
"\030\005 \001(\010\"\252\001\n\016CollectionMeta\022\n\n\002ID\030\001 \001(\003\0225\n"
"\006schema\030\002 \001(\0132%.milvus.proto.schema.Coll"
"ectionSchema\022\023\n\013create_time\030\003 \001(\004\022\022\n\nseg"
"mentIDs\030\004 \003(\003\022\026\n\016partition_tags\030\005 \003(\t\022\024\n"
"\014partitionIDs\030\006 \003(\003\"9\n\020FieldBinlogFiles\022"
"\017\n\007fieldID\030\001 \001(\003\022\024\n\014binlog_files\030\002 \003(\t\"\204"
"\002\n\013SegmentMeta\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014col"
"lectionID\030\002 \001(\003\022\025\n\rpartition_tag\030\003 \001(\t\022\025"
"\n\rchannel_start\030\004 \001(\005\022\023\n\013channel_end\030\005 \001"
"(\005\022\021\n\topen_time\030\006 \001(\004\022\022\n\nclose_time\030\007 \001("
"\004\022\020\n\010num_rows\030\010 \001(\003\022\020\n\010mem_size\030\t \001(\003\022>\n"
"\021binlog_file_paths\030\n \003(\0132#.milvus.proto."
"etcd.FieldBinlogFiles\"\310\001\n\016FieldIndexMeta"
"\022\021\n\tsegmentID\030\001 \001(\003\022\017\n\007fieldID\030\002 \001(\003\022\017\n\007"
"indexID\030\003 \001(\003\0227\n\014index_params\030\004 \003(\0132!.mi"
"lvus.proto.common.KeyValuePair\022.\n\005state\030"
"\005 \001(\0162\037.milvus.proto.common.IndexState\022\030"
"\n\020index_file_paths\030\006 \003(\tB@Z>github.com/z"
"illiztech/milvus-distributed/internal/pr"
"oto/etcdpbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_etcd_5fmeta_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
@ -429,7 +431,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_etc
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_etcd_5fmeta_2eproto_once;
static bool descriptor_table_etcd_5fmeta_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_etcd_5fmeta_2eproto = {
&descriptor_table_etcd_5fmeta_2eproto_initialized, descriptor_table_protodef_etcd_5fmeta_2eproto, "etcd_meta.proto", 1556,
&descriptor_table_etcd_5fmeta_2eproto_initialized, descriptor_table_protodef_etcd_5fmeta_2eproto, "etcd_meta.proto", 1578,
&descriptor_table_etcd_5fmeta_2eproto_once, descriptor_table_etcd_5fmeta_2eproto_sccs, descriptor_table_etcd_5fmeta_2eproto_deps, 11, 2,
schemas, file_default_instances, TableStruct_etcd_5fmeta_2eproto::offsets,
file_level_metadata_etcd_5fmeta_2eproto, 11, file_level_enum_descriptors_etcd_5fmeta_2eproto, file_level_service_descriptors_etcd_5fmeta_2eproto,
@ -2791,15 +2793,15 @@ SegmentIndexInfo::SegmentIndexInfo(const SegmentIndexInfo& from)
_internal_metadata_(nullptr) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&segmentid_, &from.segmentid_,
static_cast<size_t>(reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(buildid_));
static_cast<size_t>(reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(enable_index_));
// @@protoc_insertion_point(copy_constructor:milvus.proto.etcd.SegmentIndexInfo)
}
void SegmentIndexInfo::SharedCtor() {
::memset(&segmentid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(buildid_));
reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(enable_index_));
}
SegmentIndexInfo::~SegmentIndexInfo() {
@ -2826,8 +2828,8 @@ void SegmentIndexInfo::Clear() {
(void) cached_has_bits;
::memset(&segmentid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(buildid_));
reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&segmentid_)) + sizeof(enable_index_));
_internal_metadata_.Clear();
}
@ -2867,6 +2869,13 @@ const char* SegmentIndexInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPA
CHK_(ptr);
} else goto handle_unusual;
continue;
// bool enable_index = 5;
case 5:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) {
enable_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
@ -2949,6 +2958,19 @@ bool SegmentIndexInfo::MergePartialFromCodedStream(
break;
}
// bool enable_index = 5;
case 5: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (40 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL>(
input, &enable_index_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
@ -2996,6 +3018,11 @@ void SegmentIndexInfo::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(4, this->buildid(), output);
}
// bool enable_index = 5;
if (this->enable_index() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBool(5, this->enable_index(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
@ -3029,6 +3056,11 @@ void SegmentIndexInfo::SerializeWithCachedSizes(
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->buildid(), target);
}
// bool enable_index = 5;
if (this->enable_index() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(5, this->enable_index(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
@ -3078,6 +3110,11 @@ size_t SegmentIndexInfo::ByteSizeLong() const {
this->buildid());
}
// bool enable_index = 5;
if (this->enable_index() != 0) {
total_size += 1 + 1;
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
@ -3117,6 +3154,9 @@ void SegmentIndexInfo::MergeFrom(const SegmentIndexInfo& from) {
if (from.buildid() != 0) {
set_buildid(from.buildid());
}
if (from.enable_index() != 0) {
set_enable_index(from.enable_index());
}
}
void SegmentIndexInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
@ -3144,6 +3184,7 @@ void SegmentIndexInfo::InternalSwap(SegmentIndexInfo* other) {
swap(fieldid_, other->fieldid_);
swap(indexid_, other->indexid_);
swap(buildid_, other->buildid_);
swap(enable_index_, other->enable_index_);
}
::PROTOBUF_NAMESPACE_ID::Metadata SegmentIndexInfo::GetMetadata() const {

View File

@ -1189,6 +1189,7 @@ class SegmentIndexInfo :
kFieldIDFieldNumber = 2,
kIndexIDFieldNumber = 3,
kBuildIDFieldNumber = 4,
kEnableIndexFieldNumber = 5,
};
// int64 segmentID = 1;
void clear_segmentid();
@ -1210,6 +1211,11 @@ class SegmentIndexInfo :
::PROTOBUF_NAMESPACE_ID::int64 buildid() const;
void set_buildid(::PROTOBUF_NAMESPACE_ID::int64 value);
// bool enable_index = 5;
void clear_enable_index();
bool enable_index() const;
void set_enable_index(bool value);
// @@protoc_insertion_point(class_scope:milvus.proto.etcd.SegmentIndexInfo)
private:
class _Internal;
@ -1219,6 +1225,7 @@ class SegmentIndexInfo :
::PROTOBUF_NAMESPACE_ID::int64 fieldid_;
::PROTOBUF_NAMESPACE_ID::int64 indexid_;
::PROTOBUF_NAMESPACE_ID::int64 buildid_;
bool enable_index_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_etcd_5fmeta_2eproto;
};
@ -2664,6 +2671,20 @@ inline void SegmentIndexInfo::set_buildid(::PROTOBUF_NAMESPACE_ID::int64 value)
// @@protoc_insertion_point(field_set:milvus.proto.etcd.SegmentIndexInfo.buildID)
}
// bool enable_index = 5;
inline void SegmentIndexInfo::clear_enable_index() {
enable_index_ = false;
}
inline bool SegmentIndexInfo::enable_index() const {
// @@protoc_insertion_point(field_get:milvus.proto.etcd.SegmentIndexInfo.enable_index)
return enable_index_;
}
inline void SegmentIndexInfo::set_enable_index(bool value) {
enable_index_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.etcd.SegmentIndexInfo.enable_index)
}
// -------------------------------------------------------------------
// CollectionMeta

View File

@ -1148,6 +1148,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, status_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, indexid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, buildid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentResponse, enable_index_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowSegmentRequest, _internal_metadata_),
~0u, // no _extensions_
@ -1381,30 +1382,30 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 171, -1, sizeof(::milvus::proto::milvus::ShowPartitionResponse)},
{ 179, -1, sizeof(::milvus::proto::milvus::DescribeSegmentRequest)},
{ 187, -1, sizeof(::milvus::proto::milvus::DescribeSegmentResponse)},
{ 195, -1, sizeof(::milvus::proto::milvus::ShowSegmentRequest)},
{ 203, -1, sizeof(::milvus::proto::milvus::ShowSegmentResponse)},
{ 210, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)},
{ 220, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)},
{ 230, -1, sizeof(::milvus::proto::milvus::IndexDescription)},
{ 238, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)},
{ 245, -1, sizeof(::milvus::proto::milvus::IndexStateRequest)},
{ 255, -1, sizeof(::milvus::proto::milvus::IndexStateResponse)},
{ 262, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)},
{ 272, -1, sizeof(::milvus::proto::milvus::InsertRequest)},
{ 283, -1, sizeof(::milvus::proto::milvus::InsertResponse)},
{ 291, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)},
{ 299, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)},
{ 305, -1, sizeof(::milvus::proto::milvus::SearchRequest)},
{ 316, -1, sizeof(::milvus::proto::milvus::Hits)},
{ 324, -1, sizeof(::milvus::proto::milvus::SearchResults)},
{ 331, -1, sizeof(::milvus::proto::milvus::FlushRequest)},
{ 339, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)},
{ 353, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoRequest)},
{ 361, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoResponse)},
{ 368, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)},
{ 380, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoRequest)},
{ 388, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoResponse)},
{ 395, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)},
{ 196, -1, sizeof(::milvus::proto::milvus::ShowSegmentRequest)},
{ 204, -1, sizeof(::milvus::proto::milvus::ShowSegmentResponse)},
{ 211, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)},
{ 221, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)},
{ 231, -1, sizeof(::milvus::proto::milvus::IndexDescription)},
{ 239, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)},
{ 246, -1, sizeof(::milvus::proto::milvus::IndexStateRequest)},
{ 256, -1, sizeof(::milvus::proto::milvus::IndexStateResponse)},
{ 263, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)},
{ 273, -1, sizeof(::milvus::proto::milvus::InsertRequest)},
{ 284, -1, sizeof(::milvus::proto::milvus::InsertResponse)},
{ 292, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)},
{ 300, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)},
{ 306, -1, sizeof(::milvus::proto::milvus::SearchRequest)},
{ 317, -1, sizeof(::milvus::proto::milvus::Hits)},
{ 325, -1, sizeof(::milvus::proto::milvus::SearchResults)},
{ 332, -1, sizeof(::milvus::proto::milvus::FlushRequest)},
{ 340, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)},
{ 354, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoRequest)},
{ 362, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfoResponse)},
{ 369, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)},
{ 381, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoRequest)},
{ 389, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfoResponse)},
{ 396, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@ -1528,158 +1529,158 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(
"\022\027\n\017partition_names\030\002 \003(\t\022\024\n\014partitionID"
"s\030\003 \003(\003\"m\n\026DescribeSegmentRequest\022*\n\004bas"
"e\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\024\n"
"\014collectionID\030\002 \001(\003\022\021\n\tsegmentID\030\003 \001(\003\"h"
"\014collectionID\030\002 \001(\003\022\021\n\tsegmentID\030\003 \001(\003\"~"
"\n\027DescribeSegmentResponse\022+\n\006status\030\001 \001("
"\0132\033.milvus.proto.common.Status\022\017\n\007indexI"
"D\030\002 \001(\003\022\017\n\007buildID\030\003 \001(\003\"k\n\022ShowSegmentR"
"equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm"
"on.MsgBase\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013part"
"itionID\030\003 \001(\003\"V\n\023ShowSegmentResponse\022+\n\006"
"status\030\001 \001(\0132\033.milvus.proto.common.Statu"
"s\022\022\n\nsegmentIDs\030\002 \003(\003\"\267\001\n\022CreateIndexReq"
"uest\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\022\022\n\nfield_name\030\004 \001(\t\0227\n\014extra_"
"params\030\005 \003(\0132!.milvus.proto.common.KeyVa"
"luePair\"\224\001\n\024DescribeIndexRequest\022*\n\004base"
"\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007"
"db_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\"j"
"\n\020IndexDescription\022\022\n\nindex_name\030\001 \001(\t\022\017"
"\n\007indexID\030\002 \001(\003\0221\n\006params\030\003 \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"
"D\030\002 \001(\003\022\017\n\007buildID\030\003 \001(\003\022\024\n\014enable_index"
"\030\004 \001(\010\"k\n\022ShowSegmentRequest\022*\n\004base\030\001 \001"
"(\0132\034.milvus.proto.common.MsgBase\022\024\n\014coll"
"ectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\"V\n\023S"
"howSegmentResponse\022+\n\006status\030\001 \001(\0132\033.mil"
"vus.proto.common.Status\022\022\n\nsegmentIDs\030\002 "
"\003(\003\"\267\001\n\022CreateIndexRequest\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\"\220\001\n\020DropInde"
"xRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co"
"d_name\030\004 \001(\t\0227\n\014extra_params\030\005 \003(\0132!.mil"
"vus.proto.common.KeyValuePair\"\224\001\n\024Descri"
"beIndexRequest\022*\n\004base\030\001 \001(\0132\034.milvus.pr"
"oto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017c"
"ollection_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t"
"\022\022\n\nindex_name\030\005 \001(\t\"j\n\020IndexDescription"
"\022\022\n\nindex_name\030\001 \001(\t\022\017\n\007indexID\030\002 \001(\003\0221\n"
"\006params\030\003 \003(\0132!.milvus.proto.common.KeyV"
"aluePair\"\207\001\n\025DescribeIndexResponse\022+\n\006st"
"atus\030\001 \001(\0132\033.milvus.proto.common.Status\022"
"A\n\022index_descriptions\030\002 \003(\0132%.milvus.pro"
"to.milvus.IndexDescription\"\221\001\n\021IndexStat"
"eRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co"
"mmon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collect"
"ion_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nin"
"dex_name\030\005 \001(\t\"\275\001\n\rInsertRequest\022*\n\004base"
"\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007"
"db_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\010row_data\030\005 \003(\013"
"2\031.milvus.proto.common.Blob\022\021\n\thash_keys"
"\030\006 \003(\r\"e\n\016InsertResponse\022+\n\006status\030\001 \001(\013"
"2\033.milvus.proto.common.Status\022\023\n\013rowID_b"
"egin\030\002 \001(\003\022\021\n\trowID_end\030\003 \001(\003\"c\n\020Placeho"
"lderValue\022\013\n\003tag\030\001 \001(\t\0222\n\004type\030\002 \001(\0162$.m"
"ilvus.proto.milvus.PlaceholderType\022\016\n\006va"
"lues\030\003 \003(\014\"O\n\020PlaceholderGroup\022;\n\014placeh"
"olders\030\001 \003(\0132%.milvus.proto.milvus.Place"
"holderValue\"\246\001\n\rSearchRequest\022*\n\004base\030\001 "
"dex_name\030\005 \001(\t\"q\n\022IndexStateResponse\022+\n\006"
"status\030\001 \001(\0132\033.milvus.proto.common.Statu"
"s\022.\n\005state\030\002 \001(\0162\037.milvus.proto.common.I"
"ndexState\"\220\001\n\020DropIndexRequest\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\022\022\n\n"
"field_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"\275\001\n"
"\rInsertRequest\022*\n\004base\030\001 \001(\0132\034.milvus.pr"
"oto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017c"
"ollection_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.co"
"mmon.Blob\022\021\n\thash_keys\030\006 \003(\r\"e\n\016InsertRe"
"sponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.co"
"mmon.Status\022\023\n\013rowID_begin\030\002 \001(\003\022\021\n\trowI"
"D_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.milvus"
".PlaceholderType\022\016\n\006values\030\003 \003(\014\"O\n\020Plac"
"eholderGroup\022;\n\014placeholders\030\001 \003(\0132%.mil"
"vus.proto.milvus.PlaceholderValue\"\246\001\n\rSe"
"archRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto"
".common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017coll"
"ection_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\006st"
"atus\030\001 \001(\0132\033.milvus.proto.common.Status\022"
"\014\n\004hits\030\002 \003(\014\"e\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\022\027\n\017p"
"artition_names\030\004 \003(\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021pla"
"ceholder_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\rS"
"earchResults\022+\n\006status\030\001 \001(\0132\033.milvus.pr"
"oto.common.Status\022\014\n\004hits\030\002 \003(\014\"e\n\014Flush"
"Request\022*\n\004base\030\001 \001(\0132\034.milvus.proto.com"
"mon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\030\n\020collecti"
"on_names\030\003 \003(\t\"\351\001\n\025PersistentSegmentInfo"
"\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014collectionID\030\002 \001("
"\003\022\023\n\013partitionID\030\003 \001(\003\022\021\n\topen_time\030\004 \001("
"\004\022\023\n\013sealed_time\030\005 \001(\004\022\024\n\014flushed_time\030\006"
" \001(\004\022\020\n\010num_rows\030\007 \001(\003\022\020\n\010mem_size\030\010 \001(\003"
"\0220\n\005state\030\t \001(\0162!.milvus.proto.common.Se"
"gmentState\"r\n\034PersistentSegmentInfoReque"
"st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M"
"sgBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collectionName"
"\030\003 \001(\t\"\207\001\n\035PersistentSegmentInfoResponse"
"\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common.S"
"tatus\0229\n\005infos\030\002 \003(\0132*.milvus.proto.milv"
"us.PersistentSegmentInfo\"\231\001\n\020QuerySegmen"
"tInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014collectionID"
"\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010mem_size\030"
"\004 \001(\003\022\020\n\010num_rows\030\005 \001(\003\022\022\n\nindex_name\030\006 "
"\001(\t\022\017\n\007indexID\030\007 \001(\003\"m\n\027QuerySegmentInfo"
"Request\022*\n\004base\030\001 \001(\0132\034.milvus.proto.com"
"mon.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collectio"
"nName\030\003 \001(\t\"}\n\030QuerySegmentInfoResponse\022"
"+\n\006status\030\001 \001(\0132\033.milvus.proto.common.St"
"atus\0224\n\005infos\030\002 \003(\0132%.milvus.proto.milvu"
"s.QuerySegmentInfo\"r\n\024RegisterLinkRespon"
"se\022-\n\007address\030\001 \001(\0132\034.milvus.proto.commo"
"n.Address\022+\n\006status\030\002 \001(\0132\033.milvus.proto"
".common.Status*@\n\017PlaceholderType\022\010\n\004NON"
"E\020\000\022\021\n\rVECTOR_BINARY\020d\022\020\n\014VECTOR_FLOAT\020e"
"2\227\024\n\rMilvusService\022_\n\020CreateCollection\022,"
".milvus.proto.milvus.CreateCollectionReq"
"uest\032\033.milvus.proto.common.Status\"\000\022[\n\016D"
"ropCollection\022*.milvus.proto.milvus.Drop"
"CollectionRequest\032\033.milvus.proto.common."
"Status\"\000\022_\n\rHasCollection\022).milvus.proto"
".milvus.HasCollectionRequest\032!.milvus.pr"
"oto.milvus.BoolResponse\"\000\022[\n\016LoadCollect"
"ion\022*.milvus.proto.milvus.LoadCollection"
"Request\032\033.milvus.proto.common.Status\"\000\022a"
"\n\021ReleaseCollection\022-.milvus.proto.milvu"
"s.ReleaseCollectionRequest\032\033.milvus.prot"
"o.common.Status\"\000\022w\n\022DescribeCollection\022"
"..milvus.proto.milvus.DescribeCollection"
"Request\032/.milvus.proto.milvus.DescribeCo"
"llectionResponse\"\000\022v\n\027GetCollectionStati"
"stics\022+.milvus.proto.milvus.CollectionSt"
"atsRequest\032,.milvus.proto.milvus.Collect"
"ionStatsResponse\"\000\022l\n\017ShowCollections\022*."
"milvus.proto.milvus.ShowCollectionReques"
"t\032+.milvus.proto.milvus.ShowCollectionRe"
"sponse\"\000\022]\n\017CreatePartition\022+.milvus.pro"
"to.milvus.CreatePartitionRequest\032\033.milvu"
"s.proto.common.Status\"\000\022Y\n\rDropPartition"
"\022).milvus.proto.milvus.DropPartitionRequ"
"est\032\033.milvus.proto.common.Status\"\000\022]\n\014Ha"
"sPartition\022(.milvus.proto.milvus.HasPart"
"itionRequest\032!.milvus.proto.milvus.BoolR"
"esponse\"\000\022Y\n\016LoadPartitions\022(.milvus.pro"
"to.milvus.LoadPartitonRequest\032\033.milvus.p"
"roto.common.Status\"\000\022`\n\021ReleasePartition"
"s\022,.milvus.proto.milvus.ReleasePartition"
"Request\032\033.milvus.proto.common.Status\"\000\022s"
"\n\026GetPartitionStatistics\022*.milvus.proto."
"milvus.PartitionStatsRequest\032+.milvus.pr"
"oto.milvus.PartitionStatsResponse\"\000\022i\n\016S"
"howPartitions\022).milvus.proto.milvus.Show"
"PartitionRequest\032*.milvus.proto.milvus.S"
"howPartitionResponse\"\000\022U\n\013CreateIndex\022\'."
"milvus.proto.milvus.CreateIndexRequest\032\033"
".milvus.proto.common.Status\"\000\022h\n\rDescrib"
"eIndex\022).milvus.proto.milvus.DescribeInd"
"exRequest\032*.milvus.proto.milvus.Describe"
"IndexResponse\"\000\022b\n\rGetIndexState\022&.milvu"
"s.proto.milvus.IndexStateRequest\032\'.milvu"
"s.proto.milvus.IndexStateResponse\"\000\022Q\n\tD"
"ropIndex\022%.milvus.proto.milvus.DropIndex"
"Request\032\033.milvus.proto.common.Status\"\000\022S"
"\n\006Insert\022\".milvus.proto.milvus.InsertReq"
"uest\032#.milvus.proto.milvus.InsertRespons"
"e\"\000\022R\n\006Search\022\".milvus.proto.milvus.Sear"
"chRequest\032\".milvus.proto.milvus.SearchRe"
"sults\"\000\022I\n\005Flush\022!.milvus.proto.milvus.F"
"lushRequest\032\033.milvus.proto.common.Status"
"\"\000\022Q\n\014GetDdChannel\022\032.milvus.proto.common"
".Empty\032#.milvus.proto.milvus.StringRespo"
"nse\"\000\022\203\001\n\030GetPersistentSegmentInfo\0221.mil"
"vus.proto.milvus.PersistentSegmentInfoRe"
"quest\0322.milvus.proto.milvus.PersistentSe"
"gmentInfoResponse\"\000\022t\n\023GetQuerySegmentIn"
"fo\022,.milvus.proto.milvus.QuerySegmentInf"
"oRequest\032-.milvus.proto.milvus.QuerySegm"
"entInfoResponse\"\000\022W\n\014RegisterLink\022\032.milv"
"us.proto.common.Empty\032).milvus.proto.mil"
"vus.RegisterLinkResponse\"\0002g\n\014ProxyServi"
"ce\022W\n\014RegisterLink\022\032.milvus.proto.common"
".Empty\032).milvus.proto.milvus.RegisterLin"
"kResponse\"\000BBZ@github.com/zilliztech/mil"
"vus-distributed/internal/proto/milvuspbb"
"\006proto3"
"name\030\002 \001(\t\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n"
"\025PersistentSegmentInfo\022\021\n\tsegmentID\030\001 \001("
"\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitionID\030\003"
" \001(\003\022\021\n\topen_time\030\004 \001(\004\022\023\n\013sealed_time\030\005"
" \001(\004\022\024\n\014flushed_time\030\006 \001(\004\022\020\n\010num_rows\030\007"
" \001(\003\022\020\n\010mem_size\030\010 \001(\003\0220\n\005state\030\t \001(\0162!."
"milvus.proto.common.SegmentState\"r\n\034Pers"
"istentSegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034"
".milvus.proto.common.MsgBase\022\016\n\006dbName\030\002"
" \001(\t\022\026\n\016collectionName\030\003 \001(\t\"\207\001\n\035Persist"
"entSegmentInfoResponse\022+\n\006status\030\001 \001(\0132\033"
".milvus.proto.common.Status\0229\n\005infos\030\002 \003"
"(\0132*.milvus.proto.milvus.PersistentSegme"
"ntInfo\"\231\001\n\020QuerySegmentInfo\022\021\n\tsegmentID"
"\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitio"
"nID\030\003 \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010num_rows\030"
"\005 \001(\003\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001"
"(\003\"m\n\027QuerySegmentInfoRequest\022*\n\004base\030\001 "
"\001(\0132\034.milvus.proto.common.MsgBase\022\016\n\006dbN"
"ame\030\002 \001(\t\022\026\n\016collectionName\030\003 \001(\t\"}\n\030Que"
"rySegmentInfoResponse\022+\n\006status\030\001 \001(\0132\033."
"milvus.proto.common.Status\0224\n\005infos\030\002 \003("
"\0132%.milvus.proto.milvus.QuerySegmentInfo"
"\"r\n\024RegisterLinkResponse\022-\n\007address\030\001 \001("
"\0132\034.milvus.proto.common.Address\022+\n\006statu"
"s\030\002 \001(\0132\033.milvus.proto.common.Status*@\n\017"
"PlaceholderType\022\010\n\004NONE\020\000\022\021\n\rVECTOR_BINA"
"RY\020d\022\020\n\014VECTOR_FLOAT\020e2\227\024\n\rMilvusService"
"\022_\n\020CreateCollection\022,.milvus.proto.milv"
"us.CreateCollectionRequest\032\033.milvus.prot"
"o.common.Status\"\000\022[\n\016DropCollection\022*.mi"
"lvus.proto.milvus.DropCollectionRequest\032"
"\033.milvus.proto.common.Status\"\000\022_\n\rHasCol"
"lection\022).milvus.proto.milvus.HasCollect"
"ionRequest\032!.milvus.proto.milvus.BoolRes"
"ponse\"\000\022[\n\016LoadCollection\022*.milvus.proto"
".milvus.LoadCollectionRequest\032\033.milvus.p"
"roto.common.Status\"\000\022a\n\021ReleaseCollectio"
"n\022-.milvus.proto.milvus.ReleaseCollectio"
"nRequest\032\033.milvus.proto.common.Status\"\000\022"
"w\n\022DescribeCollection\022..milvus.proto.mil"
"vus.DescribeCollectionRequest\032/.milvus.p"
"roto.milvus.DescribeCollectionResponse\"\000"
"\022v\n\027GetCollectionStatistics\022+.milvus.pro"
"to.milvus.CollectionStatsRequest\032,.milvu"
"s.proto.milvus.CollectionStatsResponse\"\000"
"\022l\n\017ShowCollections\022*.milvus.proto.milvu"
"s.ShowCollectionRequest\032+.milvus.proto.m"
"ilvus.ShowCollectionResponse\"\000\022]\n\017Create"
"Partition\022+.milvus.proto.milvus.CreatePa"
"rtitionRequest\032\033.milvus.proto.common.Sta"
"tus\"\000\022Y\n\rDropPartition\022).milvus.proto.mi"
"lvus.DropPartitionRequest\032\033.milvus.proto"
".common.Status\"\000\022]\n\014HasPartition\022(.milvu"
"s.proto.milvus.HasPartitionRequest\032!.mil"
"vus.proto.milvus.BoolResponse\"\000\022Y\n\016LoadP"
"artitions\022(.milvus.proto.milvus.LoadPart"
"itonRequest\032\033.milvus.proto.common.Status"
"\"\000\022`\n\021ReleasePartitions\022,.milvus.proto.m"
"ilvus.ReleasePartitionRequest\032\033.milvus.p"
"roto.common.Status\"\000\022s\n\026GetPartitionStat"
"istics\022*.milvus.proto.milvus.PartitionSt"
"atsRequest\032+.milvus.proto.milvus.Partiti"
"onStatsResponse\"\000\022i\n\016ShowPartitions\022).mi"
"lvus.proto.milvus.ShowPartitionRequest\032*"
".milvus.proto.milvus.ShowPartitionRespon"
"se\"\000\022U\n\013CreateIndex\022\'.milvus.proto.milvu"
"s.CreateIndexRequest\032\033.milvus.proto.comm"
"on.Status\"\000\022h\n\rDescribeIndex\022).milvus.pr"
"oto.milvus.DescribeIndexRequest\032*.milvus"
".proto.milvus.DescribeIndexResponse\"\000\022b\n"
"\rGetIndexState\022&.milvus.proto.milvus.Ind"
"exStateRequest\032\'.milvus.proto.milvus.Ind"
"exStateResponse\"\000\022Q\n\tDropIndex\022%.milvus."
"proto.milvus.DropIndexRequest\032\033.milvus.p"
"roto.common.Status\"\000\022S\n\006Insert\022\".milvus."
"proto.milvus.InsertRequest\032#.milvus.prot"
"o.milvus.InsertResponse\"\000\022R\n\006Search\022\".mi"
"lvus.proto.milvus.SearchRequest\032\".milvus"
".proto.milvus.SearchResults\"\000\022I\n\005Flush\022!"
".milvus.proto.milvus.FlushRequest\032\033.milv"
"us.proto.common.Status\"\000\022Q\n\014GetDdChannel"
"\022\032.milvus.proto.common.Empty\032#.milvus.pr"
"oto.milvus.StringResponse\"\000\022\203\001\n\030GetPersi"
"stentSegmentInfo\0221.milvus.proto.milvus.P"
"ersistentSegmentInfoRequest\0322.milvus.pro"
"to.milvus.PersistentSegmentInfoResponse\""
"\000\022t\n\023GetQuerySegmentInfo\022,.milvus.proto."
"milvus.QuerySegmentInfoRequest\032-.milvus."
"proto.milvus.QuerySegmentInfoResponse\"\000\022"
"W\n\014RegisterLink\022\032.milvus.proto.common.Em"
"pty\032).milvus.proto.milvus.RegisterLinkRe"
"sponse\"\0002g\n\014ProxyService\022W\n\014RegisterLink"
"\022\032.milvus.proto.common.Empty\032).milvus.pr"
"oto.milvus.RegisterLinkResponse\"\000BBZ@git"
"hub.com/zilliztech/milvus-distributed/in"
"ternal/proto/milvuspbb\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = {
&::descriptor_table_common_2eproto,
@ -1738,7 +1739,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", 8807,
&descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 8829,
&descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 48, 2,
schemas, file_default_instances, TableStruct_milvus_2eproto::offsets,
file_level_metadata_milvus_2eproto, 48, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto,
@ -11008,16 +11009,16 @@ DescribeSegmentResponse::DescribeSegmentResponse(const DescribeSegmentResponse&
status_ = nullptr;
}
::memcpy(&indexid_, &from.indexid_,
static_cast<size_t>(reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(buildid_));
static_cast<size_t>(reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(enable_index_));
// @@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*>(&buildid_) -
reinterpret_cast<char*>(&status_)) + sizeof(buildid_));
reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&status_)) + sizeof(enable_index_));
}
DescribeSegmentResponse::~DescribeSegmentResponse() {
@ -11049,8 +11050,8 @@ void DescribeSegmentResponse::Clear() {
}
status_ = nullptr;
::memset(&indexid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&buildid_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(buildid_));
reinterpret_cast<char*>(&enable_index_) -
reinterpret_cast<char*>(&indexid_)) + sizeof(enable_index_));
_internal_metadata_.Clear();
}
@ -11083,6 +11084,13 @@ const char* DescribeSegmentResponse::_InternalParse(const char* ptr, ::PROTOBUF_
CHK_(ptr);
} else goto handle_unusual;
continue;
// bool enable_index = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
enable_index_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
@ -11150,6 +11158,19 @@ bool DescribeSegmentResponse::MergePartialFromCodedStream(
break;
}
// bool enable_index = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (32 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
bool, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_BOOL>(
input, &enable_index_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
@ -11193,6 +11214,11 @@ void DescribeSegmentResponse::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(3, this->buildid(), output);
}
// bool enable_index = 4;
if (this->enable_index() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBool(4, this->enable_index(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
@ -11223,6 +11249,11 @@ void DescribeSegmentResponse::SerializeWithCachedSizes(
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->buildid(), target);
}
// bool enable_index = 4;
if (this->enable_index() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteBoolToArray(4, this->enable_index(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
@ -11265,6 +11296,11 @@ size_t DescribeSegmentResponse::ByteSizeLong() const {
this->buildid());
}
// bool enable_index = 4;
if (this->enable_index() != 0) {
total_size += 1 + 1;
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
@ -11301,6 +11337,9 @@ void DescribeSegmentResponse::MergeFrom(const DescribeSegmentResponse& from) {
if (from.buildid() != 0) {
set_buildid(from.buildid());
}
if (from.enable_index() != 0) {
set_enable_index(from.enable_index());
}
}
void DescribeSegmentResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
@ -11327,6 +11366,7 @@ void DescribeSegmentResponse::InternalSwap(DescribeSegmentResponse* other) {
swap(status_, other->status_);
swap(indexid_, other->indexid_);
swap(buildid_, other->buildid_);
swap(enable_index_, other->enable_index_);
}
::PROTOBUF_NAMESPACE_ID::Metadata DescribeSegmentResponse::GetMetadata() const {

View File

@ -4110,6 +4110,7 @@ class DescribeSegmentResponse :
kStatusFieldNumber = 1,
kIndexIDFieldNumber = 2,
kBuildIDFieldNumber = 3,
kEnableIndexFieldNumber = 4,
};
// .milvus.proto.common.Status status = 1;
bool has_status() const;
@ -4129,6 +4130,11 @@ class DescribeSegmentResponse :
::PROTOBUF_NAMESPACE_ID::int64 buildid() const;
void set_buildid(::PROTOBUF_NAMESPACE_ID::int64 value);
// bool enable_index = 4;
void clear_enable_index();
bool enable_index() const;
void set_enable_index(bool value);
// @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeSegmentResponse)
private:
class _Internal;
@ -4137,6 +4143,7 @@ class DescribeSegmentResponse :
::milvus::proto::common::Status* status_;
::PROTOBUF_NAMESPACE_ID::int64 indexid_;
::PROTOBUF_NAMESPACE_ID::int64 buildid_;
bool enable_index_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_milvus_2eproto;
};
@ -11561,6 +11568,20 @@ inline void DescribeSegmentResponse::set_buildid(::PROTOBUF_NAMESPACE_ID::int64
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentResponse.buildID)
}
// bool enable_index = 4;
inline void DescribeSegmentResponse::clear_enable_index() {
enable_index_ = false;
}
inline bool DescribeSegmentResponse::enable_index() const {
// @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeSegmentResponse.enable_index)
return enable_index_;
}
inline void DescribeSegmentResponse::set_enable_index(bool value) {
enable_index_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeSegmentResponse.enable_index)
}
// -------------------------------------------------------------------
// ShowSegmentRequest

View File

@ -112,6 +112,9 @@ func TestGrpcService(t *testing.T) {
core.GetBinlogFilePathsFromDataServiceReq = func(segID typeutil.UniqueID, fieldID typeutil.UniqueID) ([]string, error) {
return []string{"file1", "file2", "file3"}, nil
}
core.GetNumRowsReq = func(segID typeutil.UniqueID) (int64, error) {
return cms.Params.MinSegmentSizeToEnableIndex, nil
}
var binlogLock sync.Mutex
binlogPathArray := make([]string, 0, 16)

View File

@ -95,6 +95,7 @@ type Core struct {
//get binlog file path from data service,
GetBinlogFilePathsFromDataServiceReq func(segID typeutil.UniqueID, fieldID typeutil.UniqueID) ([]string, error)
GetNumRowsReq func(segID typeutil.UniqueID) (int64, error)
//call index builder's client to build index, return build id
BuildIndexReq func(binlog []string, typeParams []*commonpb.KeyValuePair, indexParams []*commonpb.KeyValuePair, indexID typeutil.UniqueID, indexName string) (typeutil.UniqueID, error)
@ -188,6 +189,9 @@ func (c *Core) checkInit() error {
if c.GetBinlogFilePathsFromDataServiceReq == nil {
return errors.New("GetBinlogFilePathsFromDataServiceReq is nil")
}
if c.GetNumRowsReq == nil {
return errors.New("GetNumRowsReq is nil")
}
if c.BuildIndexReq == nil {
return errors.New("BuildIndexReq is nil")
}
@ -629,7 +633,7 @@ func (c *Core) SetDataService(ctx context.Context, s types.DataService) error {
}
binlog, err := s.GetInsertBinlogPaths(ctx, &datapb.InsertBinlogPathRequest{
Base: &commonpb.MsgBase{
MsgType: 0, //TODO, msy type
MsgType: 0, //TODO, msg type
MsgID: 0,
Timestamp: ts,
SourceID: int64(Params.NodeID),
@ -649,6 +653,37 @@ func (c *Core) SetDataService(ctx context.Context, s types.DataService) error {
}
return nil, fmt.Errorf("binlog file not exist, segment id = %d, field id = %d", segID, fieldID)
}
c.GetNumRowsReq = func(segID typeutil.UniqueID) (int64, error) {
ts, err := c.tsoAllocator.Alloc(1)
if err != nil {
return 0, err
}
segInfo, err := s.GetSegmentInfo(ctx, &datapb.SegmentInfoRequest{
Base: &commonpb.MsgBase{
MsgType: 0, //TODO, msg type
MsgID: 0,
Timestamp: ts,
SourceID: int64(Params.NodeID),
},
SegmentIDs: []typeutil.UniqueID{segID},
})
if err != nil {
return 0, err
}
if segInfo.Status.ErrorCode != commonpb.ErrorCode_SUCCESS {
return 0, fmt.Errorf("GetSegmentInfo from data service failed, error = %s", segInfo.Status.Reason)
}
if len(segInfo.Infos) != 1 {
log.Debug("get segment info empty")
return 0, nil
}
if segInfo.Infos[0].FlushedTime == 0 {
log.Debug("segment id not flushed", zap.Int64("segment id", segID))
return 0, nil
}
return segInfo.Infos[0].NumRows, nil
}
return nil
}

View File

@ -83,6 +83,21 @@ func (d *dataMock) GetInsertBinlogPaths(ctx context.Context, req *datapb.InsertB
return rst, nil
}
func (d *dataMock) GetSegmentInfo(ctx context.Context, req *datapb.SegmentInfoRequest) (*datapb.SegmentInfoResponse, error) {
return &datapb.SegmentInfoResponse{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_SUCCESS,
Reason: "",
},
Infos: []*datapb.SegmentInfo{
{
FlushedTime: 100,
NumRows: Params.MinSegmentSizeToEnableIndex,
},
},
}, nil
}
type queryMock struct {
types.QueryService
collID []typeutil.UniqueID

View File

@ -29,9 +29,10 @@ type ParamTable struct {
StatisticsChannel string
DataServiceSegmentChannel string // get from data service, data service create segment, or data node flush segment
MaxPartitionNum int64
DefaultPartitionName string
DefaultIndexName string
MaxPartitionNum int64
DefaultPartitionName string
DefaultIndexName string
MinSegmentSizeToEnableIndex int64
Timeout int
@ -60,6 +61,7 @@ func (p *ParamTable) Init() {
p.initStatisticsChannelName()
p.initMaxPartitionNum()
p.initMinSegmentSizeToEnableIndex()
p.initDefaultPartitionName()
p.initDefaultIndexName()
@ -149,6 +151,10 @@ func (p *ParamTable) initMaxPartitionNum() {
p.MaxPartitionNum = p.ParseInt64("master.maxPartitionNum")
}
func (p *ParamTable) initMinSegmentSizeToEnableIndex() {
p.MinSegmentSizeToEnableIndex = p.ParseInt64("master.minSegmentSizeToEnableIndex")
}
func (p *ParamTable) initDefaultPartitionName() {
name, err := p.Load("common.defaultPartitionName")
if err != nil {

View File

@ -37,7 +37,10 @@ func TestParamTable(t *testing.T) {
t.Logf("master statistics channel = %s", Params.StatisticsChannel)
assert.NotEqual(t, Params.MaxPartitionNum, 0)
t.Logf("master initMaxPartitionNum = %d", Params.MaxPartitionNum)
t.Logf("master MaxPartitionNum = %d", Params.MaxPartitionNum)
assert.NotEqual(t, Params.MinSegmentSizeToEnableIndex, 0)
t.Logf("master MinSegmentSizeToEnableIndex = %d", Params.MinSegmentSizeToEnableIndex)
assert.NotEqual(t, Params.DefaultPartitionName, "")
t.Logf("default partition name = %s", Params.DefaultPartitionName)

View File

@ -553,6 +553,7 @@ func (t *DescribeSegmentReqTask) Execute() error {
}
t.Rsp.IndexID = segIdxInfo.IndexID
t.Rsp.BuildID = segIdxInfo.BuildID
t.Rsp.EnableIndex = segIdxInfo.EnableIndex
return nil
}
@ -731,30 +732,41 @@ func (t *CreateIndexTask) BuildIndex() error {
if t.core.MetaTable.IsSegmentIndexed(t.segmentID, t.fieldSchema, t.indexParams) {
return nil
}
binlogs, err := t.core.GetBinlogFilePathsFromDataServiceReq(t.segmentID, t.fieldSchema.FieldID)
rows, err := t.core.GetNumRowsReq(t.segmentID)
if err != nil {
return err
}
var bldID typeutil.UniqueID
if len(t.indexParams) == 0 {
t.indexParams = make([]*commonpb.KeyValuePair, 0, len(t.fieldSchema.IndexParams))
for _, p := range t.fieldSchema.IndexParams {
t.indexParams = append(t.indexParams, &commonpb.KeyValuePair{
Key: p.Key,
Value: p.Value,
})
var bldID typeutil.UniqueID = 0
enableIdx := false
if rows < Params.MinSegmentSizeToEnableIndex {
log.Debug("num of is less than MinSegmentSizeToEnableIndex", zap.Int64("num rows", rows))
} else {
binlogs, err := t.core.GetBinlogFilePathsFromDataServiceReq(t.segmentID, t.fieldSchema.FieldID)
if err != nil {
return err
}
}
bldID, err = t.core.BuildIndexReq(binlogs, t.fieldSchema.TypeParams, t.indexParams, t.indexID, t.indexName)
if err != nil {
return err
if len(t.indexParams) == 0 {
t.indexParams = make([]*commonpb.KeyValuePair, 0, len(t.fieldSchema.IndexParams))
for _, p := range t.fieldSchema.IndexParams {
t.indexParams = append(t.indexParams, &commonpb.KeyValuePair{
Key: p.Key,
Value: p.Value,
})
}
}
bldID, err = t.core.BuildIndexReq(binlogs, t.fieldSchema.TypeParams, t.indexParams, t.indexID, t.indexName)
if err != nil {
return err
}
enableIdx = true
}
seg := etcdpb.SegmentIndexInfo{
SegmentID: t.segmentID,
FieldID: t.fieldSchema.FieldID,
IndexID: t.indexID,
BuildID: bldID,
SegmentID: t.segmentID,
FieldID: t.fieldSchema.FieldID,
IndexID: t.indexID,
BuildID: bldID,
EnableIndex: enableIdx,
}
err = t.core.MetaTable.AddIndex(&seg)
return err

View File

@ -50,6 +50,7 @@ message SegmentIndexInfo {
int64 fieldID = 2;
int64 indexID = 3;
int64 buildID = 4;
bool enable_index = 5;
}
message CollectionMeta {

View File

@ -373,6 +373,7 @@ type SegmentIndexInfo struct {
FieldID int64 `protobuf:"varint,2,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
IndexID int64 `protobuf:"varint,3,opt,name=indexID,proto3" json:"indexID,omitempty"`
BuildID int64 `protobuf:"varint,4,opt,name=buildID,proto3" json:"buildID,omitempty"`
EnableIndex bool `protobuf:"varint,5,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -431,6 +432,13 @@ func (m *SegmentIndexInfo) GetBuildID() int64 {
return 0
}
func (m *SegmentIndexInfo) GetEnableIndex() bool {
if m != nil {
return m.EnableIndex
}
return false
}
type CollectionMeta struct {
ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
@ -764,58 +772,60 @@ func init() {
func init() { proto.RegisterFile("etcd_meta.proto", fileDescriptor_975d306d62b73e88) }
var fileDescriptor_975d306d62b73e88 = []byte{
// 845 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0x5f, 0x8f, 0xdb, 0x44,
0x10, 0x97, 0x93, 0x5c, 0x72, 0x9e, 0xfc, 0xb9, 0xbb, 0x7d, 0x32, 0xa5, 0xa5, 0xa9, 0xab, 0x42,
0x24, 0xc4, 0x45, 0x3a, 0x04, 0x6f, 0x20, 0x68, 0xc3, 0x49, 0x11, 0xa2, 0x0d, 0xce, 0x89, 0x07,
0x5e, 0xac, 0x8d, 0x3d, 0x97, 0xac, 0xe4, 0x5d, 0x07, 0xef, 0x9a, 0xde, 0xdd, 0x03, 0xe2, 0x15,
0x3e, 0x02, 0x5f, 0x11, 0xbe, 0x02, 0x12, 0xda, 0x3f, 0x71, 0xec, 0x6b, 0x8a, 0x50, 0x25, 0x1e,
0x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58, 0x08, 0x9a, 0x4d, 0x4d, 0xf5, 0xa9, 0x66, 0x7b, 0xbb, 0x5a, 0x75, 0x8d, 0xf5, 0xe9, 0x3f,
0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x83, 0x5a, 0x23, 0x31, 0x08, 0x00, 0x00,
// 865 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0x5f, 0x6f, 0xe3, 0x44,
0x10, 0x97, 0xf3, 0xb7, 0x9e, 0x38, 0x69, 0xbb, 0x4f, 0xe6, 0xb8, 0xe3, 0x52, 0x9f, 0x0e, 0x22,
0x21, 0x1a, 0xa9, 0x08, 0xde, 0x40, 0x70, 0x17, 0x2a, 0x45, 0x88, 0xbb, 0xe0, 0x54, 0x3c, 0xf0,
0x62, 0x6d, 0xec, 0x69, 0xb2, 0x92, 0x77, 0x1d, 0xbc, 0x6b, 0xae, 0xed, 0x13, 0xaf, 0xf0, 0x11,
0x78, 0xe3, 0xf3, 0xc1, 0x57, 0x40, 0x42, 0xbb, 0xeb, 0x38, 0x76, 0x2f, 0x87, 0x50, 0x25, 0x1e,
0xe7, 0x37, 0x33, 0x9e, 0x99, 0xdf, 0x6f, 0x67, 0x0c, 0xc7, 0xa8, 0xe2, 0x24, 0xe2, 0xa8, 0xe8,
0xf9, 0x36, 0xcf, 0x54, 0x46, 0x4e, 0x39, 0x4b, 0x7f, 0x2e, 0xa4, 0xb5, 0xce, 0xb5, 0xf7, 0x91,
0x17, 0x67, 0x9c, 0x67, 0xc2, 0x42, 0x8f, 0x3c, 0x19, 0x6f, 0x90, 0x97, 0xe1, 0xc1, 0xef, 0x0e,
0xc0, 0x15, 0x0a, 0x2a, 0xd4, 0x77, 0xa8, 0x28, 0x19, 0x41, 0x6b, 0x3e, 0xf3, 0x9d, 0xb1, 0x33,
0x69, 0x87, 0xad, 0xf9, 0x8c, 0x7c, 0x08, 0xc7, 0xa2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0x59,
0xda, 0x44, 0xc1, 0xc3, 0xec, 0x8d, 0xd4, 0x2e, 0x8e, 0x3c, 0x92, 0xec, 0x0e, 0x7d, 0xd7, 0xba,
0x38, 0xf2, 0x25, 0xbb, 0x43, 0xf2, 0x1a, 0x4e, 0x6b, 0x8c, 0x46, 0x5b, 0xaa, 0x36, 0xd2, 0x07,
0xb3, 0x5d, 0xcf, 0xde, 0xb5, 0x5d, 0x35, 0xad, 0xc2, 0xe3, 0x3d, 0xf7, 0x0b, 0x9d, 0x1b, 0xfc,
0xda, 0xaa, 0x1f, 0xa6, 0xff, 0x20, 0xc1, 0x43, 0x16, 0xec, 0xfe, 0x09, 0xed, 0x3c, 0xe4, 0x84,
0x92, 0xcf, 0xa0, 0x2b, 0x15, 0x55, 0x68, 0x84, 0x18, 0x5d, 0x3c, 0x3d, 0x98, 0x6e, 0xc6, 0x58,
0xea, 0xb0, 0xd0, 0x46, 0x93, 0x09, 0x9c, 0xd8, 0xe2, 0x35, 0xc6, 0x7a, 0xe6, 0x21, 0x8e, 0x0c,
0x5e, 0x71, 0xf1, 0xe2, 0xab, 0x1f, 0xbf, 0x5c, 0x33, 0xb5, 0x29, 0x56, 0xfa, 0x63, 0xd3, 0x3b,
0x96, 0xa6, 0xec, 0x4e, 0x61, 0xbc, 0x99, 0xda, 0x42, 0x9f, 0x24, 0x4c, 0xaa, 0x9c, 0xad, 0x0a,
0x85, 0xc9, 0x94, 0x09, 0x85, 0xb9, 0xa0, 0xe9, 0xd4, 0x54, 0x9f, 0x6a, 0xb6, 0xb7, 0xab, 0x55,
0xcf, 0x58, 0x9f, 0xfe, 0x13, 0x00, 0x00, 0xff, 0xff, 0xf3, 0x2b, 0x2b, 0x3e, 0x55, 0x08, 0x00,
0x00,
}

View File

@ -156,6 +156,7 @@ message DescribeSegmentResponse {
common.Status status = 1;
int64 indexID = 2;
int64 buildID = 3;
bool enable_index = 4;
}
message ShowSegmentRequest {

View File

@ -1348,6 +1348,7 @@ 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"`
BuildID int64 `protobuf:"varint,3,opt,name=buildID,proto3" json:"buildID,omitempty"`
EnableIndex bool `protobuf:"varint,4,opt,name=enable_index,json=enableIndex,proto3" json:"enable_index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@ -1399,6 +1400,13 @@ func (m *DescribeSegmentResponse) GetBuildID() int64 {
return 0
}
func (m *DescribeSegmentResponse) GetEnableIndex() bool {
if m != nil {
return m.EnableIndex
}
return false
}
type ShowSegmentRequest struct {
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
@ -2896,132 +2904,133 @@ func init() {
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 1993 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x5f, 0x6f, 0x1b, 0x4b,
0x15, 0xcf, 0xd8, 0x8e, 0x93, 0x9c, 0xac, 0x13, 0x67, 0xf2, 0xcf, 0xf5, 0x6d, 0xb9, 0xe9, 0x42,
0x6f, 0xd3, 0xbf, 0x81, 0x5c, 0xfe, 0x0a, 0x21, 0xb5, 0x69, 0x7a, 0x53, 0xab, 0xbd, 0x6d, 0xba,
0x0e, 0x17, 0xca, 0x55, 0x65, 0xd6, 0xde, 0xa9, 0xbd, 0xdc, 0xf5, 0xae, 0xd9, 0x19, 0x27, 0x4d,
0x9f, 0x10, 0x45, 0x20, 0x71, 0xaf, 0x10, 0x4f, 0x20, 0x5e, 0x91, 0x78, 0x45, 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, 0xc6, 0xd6, 0x0b, 0xdb, 0x71, 0xec, 0x17, 0x8c, 0x34, 0x5a, 0x5b, 0x72, 0xda, 0x0d,
0xcb, 0xa6, 0xcc, 0xb7, 0xeb, 0x5d, 0x46, 0xac, 0x2d, 0xdb, 0x65, 0xc4, 0x77, 0x4d, 0x67, 0x4b,
0x2c, 0x1c, 0x70, 0x74, 0xea, 0xf5, 0x9c, 0x18, 0xbf, 0xfb, 0x59, 0x00, 0x00, 0x00, 0xff, 0xff,
0xa3, 0x14, 0x76, 0x48, 0x0f, 0x29, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -1725,6 +1725,8 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
getIndexStatesRequest := &indexpb.IndexStatesRequest{
IndexBuildIDs: make([]UniqueID, 0),
}
enableIndexBitMap := make([]bool, 0)
indexBuildIDs := make([]UniqueID, 0)
for _, segmentID := range allSegmentIDs {
describeSegmentRequest := &milvuspb.DescribeSegmentRequest{
@ -1742,12 +1744,17 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
return err
}
if segmentDesc.IndexID == matchIndexID {
getIndexStatesRequest.IndexBuildIDs = append(getIndexStatesRequest.IndexBuildIDs, segmentDesc.BuildID)
indexBuildIDs = append(indexBuildIDs, segmentDesc.BuildID)
if segmentDesc.EnableIndex {
enableIndexBitMap = append(enableIndexBitMap, true)
} else {
enableIndexBitMap = append(enableIndexBitMap, false)
}
}
}
log.Println("GetIndexState:: len of allSegmentIDs:", len(allSegmentIDs), " len of IndexBuildIDs", len(getIndexStatesRequest.IndexBuildIDs))
if len(allSegmentIDs) != len(getIndexStatesRequest.IndexBuildIDs) {
log.Println("GetIndexState:: len of allSegmentIDs:", len(allSegmentIDs), " len of IndexBuildIDs", len(indexBuildIDs))
if len(allSegmentIDs) != len(indexBuildIDs) {
gist.result = &milvuspb.IndexStateResponse{
Status: &commonpb.Status{
ErrorCode: commonpb.ErrorCode_SUCCESS,
@ -1758,6 +1765,11 @@ func (gist *GetIndexStateTask) Execute(ctx context.Context) error {
return err
}
for idx, enableIndex := range enableIndexBitMap {
if enableIndex {
getIndexStatesRequest.IndexBuildIDs = append(getIndexStatesRequest.IndexBuildIDs, indexBuildIDs[idx])
}
}
states, err := gist.indexService.GetIndexStates(ctx, getIndexStatesRequest)
if err != nil {
return err

View File

@ -153,6 +153,7 @@ class TestCollectionCount:
# stats = connect.get_collection_stats(collection)
# assert stats[row_count] == insert_count * 2
@pytest.mark.tags("0331")
def test_collection_count_after_index_created(self, connect, collection, get_simple_index, insert_count):
'''
target: test count_entities, after index have been created