Fix multi rowdata writenode crash bug

Signed-off-by: XuanYang-cn <xuan.yang@zilliz.com>
pull/4973/head^2
XuanYang-cn 2021-01-16 15:06:19 +08:00 committed by yefu.chen
parent 46a14da3eb
commit 37688559f1
77 changed files with 2473 additions and 1985 deletions

4
go.mod
View File

@ -35,7 +35,7 @@ require (
github.com/prometheus/common v0.10.0 // indirect
github.com/prometheus/procfs v0.1.3 // indirect
github.com/quasilyte/go-ruleguard v0.2.1 // indirect
github.com/sirupsen/logrus v1.6.0 // indirect
github.com/sirupsen/logrus v1.6.0
github.com/spaolacci/murmur3 v1.1.0
github.com/spf13/cast v1.3.0
github.com/spf13/viper v1.7.1
@ -50,7 +50,7 @@ require (
go.uber.org/zap v1.15.0
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
golang.org/x/lint v0.0.0-20200302205851-738671d3881b // indirect
golang.org/x/net v0.0.0-20200904194848-62affa334b73 // indirect
golang.org/x/net v0.0.0-20200904194848-62affa334b73
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0 // indirect
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d // indirect

View File

@ -13,7 +13,7 @@
#include <string>
#include <map>
#include "../index/knowhere/knowhere/index/vector_index/VecIndex.h"
#include "knowhere/index/vector_index/VecIndex.h"
struct LoadIndexInfo {
std::string field_name;
@ -21,3 +21,9 @@ struct LoadIndexInfo {
std::map<std::string, std::string> index_params;
milvus::knowhere::VecIndexPtr index;
};
struct LoadFieldDataInfo {
int64_t field_id;
void* blob;
int64_t row_count;
};

View File

@ -38,6 +38,10 @@ class AddressDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<Address> _instance;
} _Address_default_instance_;
class MsgBaseDefaultTypeInternal {
public:
::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed<MsgBase> _instance;
} _MsgBase_default_instance_;
} // namespace common
} // namespace proto
} // namespace milvus
@ -97,6 +101,20 @@ static void InitDefaultsscc_info_KeyValuePair_common_2eproto() {
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KeyValuePair_common_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_KeyValuePair_common_2eproto}, {}};
static void InitDefaultsscc_info_MsgBase_common_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
{
void* ptr = &::milvus::proto::common::_MsgBase_default_instance_;
new (ptr) ::milvus::proto::common::MsgBase();
::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr);
}
::milvus::proto::common::MsgBase::InitAsDefaultInstance();
}
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MsgBase_common_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_MsgBase_common_2eproto}, {}};
static void InitDefaultsscc_info_Status_common_2eproto() {
GOOGLE_PROTOBUF_VERIFY_VERSION;
@ -111,8 +129,8 @@ static void InitDefaultsscc_info_Status_common_2eproto() {
::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Status_common_2eproto =
{{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Status_common_2eproto}, {}};
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_common_2eproto[5];
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_common_2eproto[1];
static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_common_2eproto[6];
static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_common_2eproto[2];
static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_common_2eproto = nullptr;
const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_common_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
@ -148,6 +166,15 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_common_2eproto::offsets[] PROT
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::Address, ip_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::Address, port_),
~0u, // no _has_bits_
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::MsgBase, _internal_metadata_),
~0u, // no _extensions_
~0u, // no _oneof_case_
~0u, // no _weak_field_map_
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::MsgBase, msg_type_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::MsgBase, msgid_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::MsgBase, timestamp_),
PROTOBUF_FIELD_OFFSET(::milvus::proto::common::MsgBase, sourceid_),
};
static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
{ 0, -1, sizeof(::milvus::proto::common::Empty)},
@ -155,6 +182,7 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB
{ 12, -1, sizeof(::milvus::proto::common::KeyValuePair)},
{ 19, -1, sizeof(::milvus::proto::common::Blob)},
{ 25, -1, sizeof(::milvus::proto::common::Address)},
{ 32, -1, sizeof(::milvus::proto::common::MsgBase)},
};
static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = {
@ -163,6 +191,7 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] =
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::common::_KeyValuePair_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::common::_Blob_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::common::_Address_default_instance_),
reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Message*>(&::milvus::proto::common::_MsgBase_default_instance_),
};
const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) =
@ -171,40 +200,56 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE(
"vus.proto.common.ErrorCode\022\016\n\006reason\030\002 \001"
"(\t\"*\n\014KeyValuePair\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
"\030\002 \001(\t\"\025\n\004Blob\022\r\n\005value\030\001 \001(\014\"#\n\007Address"
"\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\003*\270\004\n\tErrorCode"
"\022\013\n\007SUCCESS\020\000\022\024\n\020UNEXPECTED_ERROR\020\001\022\022\n\016C"
"ONNECT_FAILED\020\002\022\025\n\021PERMISSION_DENIED\020\003\022\031"
"\n\025COLLECTION_NOT_EXISTS\020\004\022\024\n\020ILLEGAL_ARG"
"UMENT\020\005\022\025\n\021ILLEGAL_DIMENSION\020\007\022\026\n\022ILLEGA"
"L_INDEX_TYPE\020\010\022\033\n\027ILLEGAL_COLLECTION_NAM"
"E\020\t\022\020\n\014ILLEGAL_TOPK\020\n\022\025\n\021ILLEGAL_ROWRECO"
"RD\020\013\022\025\n\021ILLEGAL_VECTOR_ID\020\014\022\031\n\025ILLEGAL_S"
"EARCH_RESULT\020\r\022\022\n\016FILE_NOT_FOUND\020\016\022\017\n\013ME"
"TA_FAILED\020\017\022\020\n\014CACHE_FAILED\020\020\022\030\n\024CANNOT_"
"CREATE_FOLDER\020\021\022\026\n\022CANNOT_CREATE_FILE\020\022\022"
"\030\n\024CANNOT_DELETE_FOLDER\020\023\022\026\n\022CANNOT_DELE"
"TE_FILE\020\024\022\025\n\021BUILD_INDEX_ERROR\020\025\022\021\n\rILLE"
"GAL_NLIST\020\026\022\027\n\023ILLEGAL_METRIC_TYPE\020\027\022\021\n\r"
"OUT_OF_MEMORY\020\030\022\024\n\017DD_REQUEST_RACE\020\350\007BBZ"
"@github.com/zilliztech/milvus-distribute"
"d/internal/proto/commonpbb\006proto3"
"\022\n\n\002ip\030\001 \001(\t\022\014\n\004port\030\002 \001(\003\"m\n\007MsgBase\022.\n"
"\010msg_type\030\001 \001(\0162\034.milvus.proto.common.Ms"
"gType\022\r\n\005msgID\030\002 \001(\003\022\021\n\ttimestamp\030\003 \001(\004\022"
"\020\n\010sourceID\030\004 \001(\003*\270\004\n\tErrorCode\022\013\n\007SUCCE"
"SS\020\000\022\024\n\020UNEXPECTED_ERROR\020\001\022\022\n\016CONNECT_FA"
"ILED\020\002\022\025\n\021PERMISSION_DENIED\020\003\022\031\n\025COLLECT"
"ION_NOT_EXISTS\020\004\022\024\n\020ILLEGAL_ARGUMENT\020\005\022\025"
"\n\021ILLEGAL_DIMENSION\020\007\022\026\n\022ILLEGAL_INDEX_T"
"YPE\020\010\022\033\n\027ILLEGAL_COLLECTION_NAME\020\t\022\020\n\014IL"
"LEGAL_TOPK\020\n\022\025\n\021ILLEGAL_ROWRECORD\020\013\022\025\n\021I"
"LLEGAL_VECTOR_ID\020\014\022\031\n\025ILLEGAL_SEARCH_RES"
"ULT\020\r\022\022\n\016FILE_NOT_FOUND\020\016\022\017\n\013META_FAILED"
"\020\017\022\020\n\014CACHE_FAILED\020\020\022\030\n\024CANNOT_CREATE_FO"
"LDER\020\021\022\026\n\022CANNOT_CREATE_FILE\020\022\022\030\n\024CANNOT"
"_DELETE_FOLDER\020\023\022\026\n\022CANNOT_DELETE_FILE\020\024"
"\022\025\n\021BUILD_INDEX_ERROR\020\025\022\021\n\rILLEGAL_NLIST"
"\020\026\022\027\n\023ILLEGAL_METRIC_TYPE\020\027\022\021\n\rOUT_OF_ME"
"MORY\020\030\022\024\n\017DD_REQUEST_RACE\020\350\007*\315\003\n\007MsgType"
"\022\t\n\005kNone\020\000\022\025\n\021kCreateCollection\020d\022\023\n\017kD"
"ropCollection\020e\022\022\n\016kHasCollection\020f\022\027\n\023k"
"DescribeCollection\020g\022\024\n\020kShowCollections"
"\020h\022\022\n\016kGetSysConfigs\020i\022\025\n\020kCreatePartiti"
"on\020\310\001\022\023\n\016kDropPartition\020\311\001\022\022\n\rkHasPartit"
"ion\020\312\001\022\027\n\022kDescribePartition\020\313\001\022\024\n\017kShow"
"Partitions\020\314\001\022\021\n\014kCreateIndex\020\254\002\022\023\n\016kDes"
"cribeIndex\020\255\002\022\033\n\026kDescribeIndexProgress\020"
"\256\002\022\014\n\007kInsert\020\220\003\022\014\n\007kDelete\020\221\003\022\013\n\006kFlush"
"\020\222\003\022\014\n\007kSearch\020\364\003\022\022\n\rkSearchResult\020\365\003\022\016\n"
"\tkTimeTick\020\260\t\022\024\n\017kQueryNodeStats\020\261\t\022\017\n\nk"
"LoadIndex\020\262\tBBZ@github.com/zilliztech/mi"
"lvus-distributed/internal/proto/commonpb"
"b\006proto3"
;
static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = {
};
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_common_2eproto_sccs[5] = {
static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_common_2eproto_sccs[6] = {
&scc_info_Address_common_2eproto.base,
&scc_info_Blob_common_2eproto.base,
&scc_info_Empty_common_2eproto.base,
&scc_info_KeyValuePair_common_2eproto.base,
&scc_info_MsgBase_common_2eproto.base,
&scc_info_Status_common_2eproto.base,
};
static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once;
static bool descriptor_table_common_2eproto_initialized = false;
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = {
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 873,
&descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 5, 0,
&descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 1448,
&descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 6, 0,
schemas, file_default_instances, TableStruct_common_2eproto::offsets,
file_level_metadata_common_2eproto, 5, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto,
file_level_metadata_common_2eproto, 6, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto,
};
// Force running AddDescriptors() at dynamic initialization time.
@ -249,6 +294,41 @@ bool ErrorCode_IsValid(int value) {
}
}
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MsgType_descriptor() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_common_2eproto);
return file_level_enum_descriptors_common_2eproto[1];
}
bool MsgType_IsValid(int value) {
switch (value) {
case 0:
case 100:
case 101:
case 102:
case 103:
case 104:
case 105:
case 200:
case 201:
case 202:
case 203:
case 204:
case 300:
case 301:
case 302:
case 400:
case 401:
case 402:
case 500:
case 501:
case 1200:
case 1201:
case 1202:
return true;
default:
return false;
}
}
// ===================================================================
@ -1667,6 +1747,387 @@ void Address::InternalSwap(Address* other) {
}
// ===================================================================
void MsgBase::InitAsDefaultInstance() {
}
class MsgBase::_Internal {
public:
};
MsgBase::MsgBase()
: ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) {
SharedCtor();
// @@protoc_insertion_point(constructor:milvus.proto.common.MsgBase)
}
MsgBase::MsgBase(const MsgBase& from)
: ::PROTOBUF_NAMESPACE_ID::Message(),
_internal_metadata_(nullptr) {
_internal_metadata_.MergeFrom(from._internal_metadata_);
::memcpy(&msgid_, &from.msgid_,
static_cast<size_t>(reinterpret_cast<char*>(&msg_type_) -
reinterpret_cast<char*>(&msgid_)) + sizeof(msg_type_));
// @@protoc_insertion_point(copy_constructor:milvus.proto.common.MsgBase)
}
void MsgBase::SharedCtor() {
::memset(&msgid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&msg_type_) -
reinterpret_cast<char*>(&msgid_)) + sizeof(msg_type_));
}
MsgBase::~MsgBase() {
// @@protoc_insertion_point(destructor:milvus.proto.common.MsgBase)
SharedDtor();
}
void MsgBase::SharedDtor() {
}
void MsgBase::SetCachedSize(int size) const {
_cached_size_.Set(size);
}
const MsgBase& MsgBase::default_instance() {
::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_MsgBase_common_2eproto.base);
return *internal_default_instance();
}
void MsgBase::Clear() {
// @@protoc_insertion_point(message_clear_start:milvus.proto.common.MsgBase)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
::memset(&msgid_, 0, static_cast<size_t>(
reinterpret_cast<char*>(&msg_type_) -
reinterpret_cast<char*>(&msgid_)) + sizeof(msg_type_));
_internal_metadata_.Clear();
}
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* MsgBase::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) {
#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure
while (!ctx->Done(&ptr)) {
::PROTOBUF_NAMESPACE_ID::uint32 tag;
ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag);
CHK_(ptr);
switch (tag >> 3) {
// .milvus.proto.common.MsgType msg_type = 1;
case 1:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) {
::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
set_msg_type(static_cast<::milvus::proto::common::MsgType>(val));
} else goto handle_unusual;
continue;
// int64 msgID = 2;
case 2:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) {
msgid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
// uint64 timestamp = 3;
case 3:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) {
timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
// int64 sourceID = 4;
case 4:
if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) {
sourceid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr);
CHK_(ptr);
} else goto handle_unusual;
continue;
default: {
handle_unusual:
if ((tag & 7) == 4 || tag == 0) {
ctx->SetLastTag(tag);
goto success;
}
ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx);
CHK_(ptr != nullptr);
continue;
}
} // switch
} // while
success:
return ptr;
failure:
ptr = nullptr;
goto success;
#undef CHK_
}
#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
bool MsgBase::MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) {
#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure
::PROTOBUF_NAMESPACE_ID::uint32 tag;
// @@protoc_insertion_point(parse_start:milvus.proto.common.MsgBase)
for (;;) {
::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);
tag = p.first;
if (!p.second) goto handle_unusual;
switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) {
// .milvus.proto.common.MsgType msg_type = 1;
case 1: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) {
int value = 0;
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>(
input, &value)));
set_msg_type(static_cast< ::milvus::proto::common::MsgType >(value));
} else {
goto handle_unusual;
}
break;
}
// int64 msgID = 2;
case 2: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>(
input, &msgid_)));
} else {
goto handle_unusual;
}
break;
}
// uint64 timestamp = 3;
case 3: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>(
input, &timestamp_)));
} else {
goto handle_unusual;
}
break;
}
// int64 sourceID = 4;
case 4: {
if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (32 & 0xFF)) {
DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive<
::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>(
input, &sourceid_)));
} else {
goto handle_unusual;
}
break;
}
default: {
handle_unusual:
if (tag == 0) {
goto success;
}
DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField(
input, tag, _internal_metadata_.mutable_unknown_fields()));
break;
}
}
}
success:
// @@protoc_insertion_point(parse_success:milvus.proto.common.MsgBase)
return true;
failure:
// @@protoc_insertion_point(parse_failure:milvus.proto.common.MsgBase)
return false;
#undef DO_
}
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void MsgBase::SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const {
// @@protoc_insertion_point(serialize_start:milvus.proto.common.MsgBase)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.MsgType msg_type = 1;
if (this->msg_type() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum(
1, this->msg_type(), output);
}
// int64 msgID = 2;
if (this->msgid() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(2, this->msgid(), output);
}
// uint64 timestamp = 3;
if (this->timestamp() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(3, this->timestamp(), output);
}
// int64 sourceID = 4;
if (this->sourceid() != 0) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(4, this->sourceid(), output);
}
if (_internal_metadata_.have_unknown_fields()) {
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields(
_internal_metadata_.unknown_fields(), output);
}
// @@protoc_insertion_point(serialize_end:milvus.proto.common.MsgBase)
}
::PROTOBUF_NAMESPACE_ID::uint8* MsgBase::InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const {
// @@protoc_insertion_point(serialize_to_array_start:milvus.proto.common.MsgBase)
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
// .milvus.proto.common.MsgType msg_type = 1;
if (this->msg_type() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray(
1, this->msg_type(), target);
}
// int64 msgID = 2;
if (this->msgid() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->msgid(), target);
}
// uint64 timestamp = 3;
if (this->timestamp() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(3, this->timestamp(), target);
}
// int64 sourceID = 4;
if (this->sourceid() != 0) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->sourceid(), target);
}
if (_internal_metadata_.have_unknown_fields()) {
target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray(
_internal_metadata_.unknown_fields(), target);
}
// @@protoc_insertion_point(serialize_to_array_end:milvus.proto.common.MsgBase)
return target;
}
size_t MsgBase::ByteSizeLong() const {
// @@protoc_insertion_point(message_byte_size_start:milvus.proto.common.MsgBase)
size_t total_size = 0;
if (_internal_metadata_.have_unknown_fields()) {
total_size +=
::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize(
_internal_metadata_.unknown_fields());
}
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
// Prevent compiler warnings about cached_has_bits being unused
(void) cached_has_bits;
// int64 msgID = 2;
if (this->msgid() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
this->msgid());
}
// uint64 timestamp = 3;
if (this->timestamp() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size(
this->timestamp());
}
// int64 sourceID = 4;
if (this->sourceid() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size(
this->sourceid());
}
// .milvus.proto.common.MsgType msg_type = 1;
if (this->msg_type() != 0) {
total_size += 1 +
::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->msg_type());
}
int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size);
SetCachedSize(cached_size);
return total_size;
}
void MsgBase::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.common.MsgBase)
GOOGLE_DCHECK_NE(&from, this);
const MsgBase* source =
::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated<MsgBase>(
&from);
if (source == nullptr) {
// @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.common.MsgBase)
::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this);
} else {
// @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.common.MsgBase)
MergeFrom(*source);
}
}
void MsgBase::MergeFrom(const MsgBase& from) {
// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.common.MsgBase)
GOOGLE_DCHECK_NE(&from, this);
_internal_metadata_.MergeFrom(from._internal_metadata_);
::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0;
(void) cached_has_bits;
if (from.msgid() != 0) {
set_msgid(from.msgid());
}
if (from.timestamp() != 0) {
set_timestamp(from.timestamp());
}
if (from.sourceid() != 0) {
set_sourceid(from.sourceid());
}
if (from.msg_type() != 0) {
set_msg_type(from.msg_type());
}
}
void MsgBase::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) {
// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.common.MsgBase)
if (&from == this) return;
Clear();
MergeFrom(from);
}
void MsgBase::CopyFrom(const MsgBase& from) {
// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.common.MsgBase)
if (&from == this) return;
Clear();
MergeFrom(from);
}
bool MsgBase::IsInitialized() const {
return true;
}
void MsgBase::InternalSwap(MsgBase* other) {
using std::swap;
_internal_metadata_.Swap(&other->_internal_metadata_);
swap(msgid_, other->msgid_);
swap(timestamp_, other->timestamp_);
swap(sourceid_, other->sourceid_);
swap(msg_type_, other->msg_type_);
}
::PROTOBUF_NAMESPACE_ID::Metadata MsgBase::GetMetadata() const {
return GetMetadataStatic();
}
// @@protoc_insertion_point(namespace_scope)
} // namespace common
} // namespace proto
@ -1687,6 +2148,9 @@ template<> PROTOBUF_NOINLINE ::milvus::proto::common::Blob* Arena::CreateMaybeMe
template<> PROTOBUF_NOINLINE ::milvus::proto::common::Address* Arena::CreateMaybeMessage< ::milvus::proto::common::Address >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::common::Address >(arena);
}
template<> PROTOBUF_NOINLINE ::milvus::proto::common::MsgBase* Arena::CreateMaybeMessage< ::milvus::proto::common::MsgBase >(Arena* arena) {
return Arena::CreateInternal< ::milvus::proto::common::MsgBase >(arena);
}
PROTOBUF_NAMESPACE_CLOSE
// @@protoc_insertion_point(global_scope)

View File

@ -48,7 +48,7 @@ struct TableStruct_common_2eproto {
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[6]
PROTOBUF_SECTION_VARIABLE(protodesc_cold);
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
@ -70,6 +70,9 @@ extern EmptyDefaultTypeInternal _Empty_default_instance_;
class KeyValuePair;
class KeyValuePairDefaultTypeInternal;
extern KeyValuePairDefaultTypeInternal _KeyValuePair_default_instance_;
class MsgBase;
class MsgBaseDefaultTypeInternal;
extern MsgBaseDefaultTypeInternal _MsgBase_default_instance_;
class Status;
class StatusDefaultTypeInternal;
extern StatusDefaultTypeInternal _Status_default_instance_;
@ -81,6 +84,7 @@ template<> ::milvus::proto::common::Address* Arena::CreateMaybeMessage<::milvus:
template<> ::milvus::proto::common::Blob* Arena::CreateMaybeMessage<::milvus::proto::common::Blob>(Arena*);
template<> ::milvus::proto::common::Empty* Arena::CreateMaybeMessage<::milvus::proto::common::Empty>(Arena*);
template<> ::milvus::proto::common::KeyValuePair* Arena::CreateMaybeMessage<::milvus::proto::common::KeyValuePair>(Arena*);
template<> ::milvus::proto::common::MsgBase* Arena::CreateMaybeMessage<::milvus::proto::common::MsgBase>(Arena*);
template<> ::milvus::proto::common::Status* Arena::CreateMaybeMessage<::milvus::proto::common::Status>(Arena*);
PROTOBUF_NAMESPACE_CLOSE
namespace milvus {
@ -135,6 +139,52 @@ inline bool ErrorCode_Parse(
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ErrorCode>(
ErrorCode_descriptor(), name, value);
}
enum MsgType : int {
kNone = 0,
kCreateCollection = 100,
kDropCollection = 101,
kHasCollection = 102,
kDescribeCollection = 103,
kShowCollections = 104,
kGetSysConfigs = 105,
kCreatePartition = 200,
kDropPartition = 201,
kHasPartition = 202,
kDescribePartition = 203,
kShowPartitions = 204,
kCreateIndex = 300,
kDescribeIndex = 301,
kDescribeIndexProgress = 302,
kInsert = 400,
kDelete = 401,
kFlush = 402,
kSearch = 500,
kSearchResult = 501,
kTimeTick = 1200,
kQueryNodeStats = 1201,
kLoadIndex = 1202,
MsgType_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(),
MsgType_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max()
};
bool MsgType_IsValid(int value);
constexpr MsgType MsgType_MIN = kNone;
constexpr MsgType MsgType_MAX = kLoadIndex;
constexpr int MsgType_ARRAYSIZE = MsgType_MAX + 1;
const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* MsgType_descriptor();
template<typename T>
inline const std::string& MsgType_Name(T enum_t_value) {
static_assert(::std::is_same<T, MsgType>::value ||
::std::is_integral<T>::value,
"Incorrect type passed to function MsgType_Name.");
return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
MsgType_descriptor(), enum_t_value);
}
inline bool MsgType_Parse(
const std::string& name, MsgType* value) {
return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<MsgType>(
MsgType_descriptor(), name, value);
}
// ===================================================================
class Empty :
@ -832,6 +882,158 @@ class Address :
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_common_2eproto;
};
// -------------------------------------------------------------------
class MsgBase :
public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.common.MsgBase) */ {
public:
MsgBase();
virtual ~MsgBase();
MsgBase(const MsgBase& from);
MsgBase(MsgBase&& from) noexcept
: MsgBase() {
*this = ::std::move(from);
}
inline MsgBase& operator=(const MsgBase& from) {
CopyFrom(from);
return *this;
}
inline MsgBase& operator=(MsgBase&& from) noexcept {
if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
if (this != &from) InternalSwap(&from);
} else {
CopyFrom(from);
}
return *this;
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
return GetDescriptor();
}
static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
return GetMetadataStatic().descriptor;
}
static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
return GetMetadataStatic().reflection;
}
static const MsgBase& default_instance();
static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
static inline const MsgBase* internal_default_instance() {
return reinterpret_cast<const MsgBase*>(
&_MsgBase_default_instance_);
}
static constexpr int kIndexInFileMessages =
5;
friend void swap(MsgBase& a, MsgBase& b) {
a.Swap(&b);
}
inline void Swap(MsgBase* other) {
if (other == this) return;
InternalSwap(other);
}
// implements Message ----------------------------------------------
inline MsgBase* New() const final {
return CreateMaybeMessage<MsgBase>(nullptr);
}
MsgBase* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
return CreateMaybeMessage<MsgBase>(arena);
}
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
void CopyFrom(const MsgBase& from);
void MergeFrom(const MsgBase& from);
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
bool IsInitialized() const final;
size_t ByteSizeLong() const final;
#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
#else
bool MergePartialFromCodedStream(
::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
void SerializeWithCachedSizes(
::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray(
::PROTOBUF_NAMESPACE_ID::uint8* target) const final;
int GetCachedSize() const final { return _cached_size_.Get(); }
private:
inline void SharedCtor();
inline void SharedDtor();
void SetCachedSize(int size) const final;
void InternalSwap(MsgBase* other);
friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
return "milvus.proto.common.MsgBase";
}
private:
inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
return nullptr;
}
inline void* MaybeArenaPtr() const {
return nullptr;
}
public:
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
private:
static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_common_2eproto);
return ::descriptor_table_common_2eproto.file_level_metadata[kIndexInFileMessages];
}
public:
// nested types ----------------------------------------------------
// accessors -------------------------------------------------------
enum : int {
kMsgIDFieldNumber = 2,
kTimestampFieldNumber = 3,
kSourceIDFieldNumber = 4,
kMsgTypeFieldNumber = 1,
};
// int64 msgID = 2;
void clear_msgid();
::PROTOBUF_NAMESPACE_ID::int64 msgid() const;
void set_msgid(::PROTOBUF_NAMESPACE_ID::int64 value);
// uint64 timestamp = 3;
void clear_timestamp();
::PROTOBUF_NAMESPACE_ID::uint64 timestamp() const;
void set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value);
// int64 sourceID = 4;
void clear_sourceid();
::PROTOBUF_NAMESPACE_ID::int64 sourceid() const;
void set_sourceid(::PROTOBUF_NAMESPACE_ID::int64 value);
// .milvus.proto.common.MsgType msg_type = 1;
void clear_msg_type();
::milvus::proto::common::MsgType msg_type() const;
void set_msg_type(::milvus::proto::common::MsgType value);
// @@protoc_insertion_point(class_scope:milvus.proto.common.MsgBase)
private:
class _Internal;
::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_;
::PROTOBUF_NAMESPACE_ID::int64 msgid_;
::PROTOBUF_NAMESPACE_ID::uint64 timestamp_;
::PROTOBUF_NAMESPACE_ID::int64 sourceid_;
int msg_type_;
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
friend struct ::TableStruct_common_2eproto;
};
// ===================================================================
@ -1142,6 +1344,66 @@ inline void Address::set_port(::PROTOBUF_NAMESPACE_ID::int64 value) {
// @@protoc_insertion_point(field_set:milvus.proto.common.Address.port)
}
// -------------------------------------------------------------------
// MsgBase
// .milvus.proto.common.MsgType msg_type = 1;
inline void MsgBase::clear_msg_type() {
msg_type_ = 0;
}
inline ::milvus::proto::common::MsgType MsgBase::msg_type() const {
// @@protoc_insertion_point(field_get:milvus.proto.common.MsgBase.msg_type)
return static_cast< ::milvus::proto::common::MsgType >(msg_type_);
}
inline void MsgBase::set_msg_type(::milvus::proto::common::MsgType value) {
msg_type_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.common.MsgBase.msg_type)
}
// int64 msgID = 2;
inline void MsgBase::clear_msgid() {
msgid_ = PROTOBUF_LONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::int64 MsgBase::msgid() const {
// @@protoc_insertion_point(field_get:milvus.proto.common.MsgBase.msgID)
return msgid_;
}
inline void MsgBase::set_msgid(::PROTOBUF_NAMESPACE_ID::int64 value) {
msgid_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.common.MsgBase.msgID)
}
// uint64 timestamp = 3;
inline void MsgBase::clear_timestamp() {
timestamp_ = PROTOBUF_ULONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::uint64 MsgBase::timestamp() const {
// @@protoc_insertion_point(field_get:milvus.proto.common.MsgBase.timestamp)
return timestamp_;
}
inline void MsgBase::set_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) {
timestamp_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.common.MsgBase.timestamp)
}
// int64 sourceID = 4;
inline void MsgBase::clear_sourceid() {
sourceid_ = PROTOBUF_LONGLONG(0);
}
inline ::PROTOBUF_NAMESPACE_ID::int64 MsgBase::sourceid() const {
// @@protoc_insertion_point(field_get:milvus.proto.common.MsgBase.sourceID)
return sourceid_;
}
inline void MsgBase::set_sourceid(::PROTOBUF_NAMESPACE_ID::int64 value) {
sourceid_ = value;
// @@protoc_insertion_point(field_set:milvus.proto.common.MsgBase.sourceID)
}
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif // __GNUC__
@ -1153,6 +1415,8 @@ inline void Address::set_port(::PROTOBUF_NAMESPACE_ID::int64 value) {
// -------------------------------------------------------------------
// -------------------------------------------------------------------
// @@protoc_insertion_point(namespace_scope)
@ -1167,6 +1431,11 @@ template <>
inline const EnumDescriptor* GetEnumDescriptor< ::milvus::proto::common::ErrorCode>() {
return ::milvus::proto::common::ErrorCode_descriptor();
}
template <> struct is_proto_enum< ::milvus::proto::common::MsgType> : ::std::true_type {};
template <>
inline const EnumDescriptor* GetEnumDescriptor< ::milvus::proto::common::MsgType>() {
return ::milvus::proto::common::MsgType_descriptor();
}
PROTOBUF_NAMESPACE_CLOSE

View File

@ -18,7 +18,7 @@
#include "query/deprecated/GeneralQuery.h"
#include "query/Plan.h"
#include "common/LoadIndex.h"
#include "common/LoadInfo.h"
#include "segcore/SegmentInterface.h"
namespace milvus {

View File

@ -10,17 +10,20 @@
// or implied. See the License for the specific language governing permissions and limitations under the License
#include "SegmentInterface.h"
#include "common/LoadInfo.h"
// class SegmentSealed : public SegmentInternalInterface {
// public:
// const Schema& get_schema() = 0;
// int64_t get_num_chunk() = 0;
//
// explicit SegmentSealed(SchemaPtr schema);
// void set_size();
// void load_data(FieldId field_id, void* blob, int64_t blob_size);
//
//
// private:
// SchemaPtr schema_;
// }
namespace milvus::segcore {
class SegmentSealed {
public:
virtual const Schema&
get_schema() = 0;
virtual int64_t
get_row_count() = 0;
virtual void
LoadIndex(const LoadIndexInfo& info) = 0;
virtual void
LoadFieldData(const LoadFieldDataInfo& info) = 0;
};
} // namespace milvus::segcore

View File

@ -12,7 +12,7 @@
#include "index/knowhere/knowhere/common/BinarySet.h"
#include "index/knowhere/knowhere/index/vector_index/VecIndexFactory.h"
#include "segcore/load_index_c.h"
#include "common/LoadIndex.h"
#include "common/LoadInfo.h"
#include "utils/EasyAssert.h"
CStatus

View File

@ -19,7 +19,7 @@
#include <knowhere/index/vector_index/VecIndexFactory.h>
#include <cstdint>
#include <boost/concept_check.hpp>
#include "common/LoadIndex.h"
#include "common/LoadInfo.h"
CSegmentBase
NewSegment(CCollection collection, uint64_t segment_id) {

View File

@ -18,6 +18,7 @@ set(MILVUS_TEST_FILES
test_reduce.cpp
test_interface.cpp
test_span.cpp
test_load.cpp
)
add_executable(all_tests
${MILVUS_TEST_FILES}

View File

@ -23,7 +23,7 @@
#include <index/knowhere/knowhere/index/vector_index/adapter/VectorAdapter.h>
#include <index/knowhere/knowhere/index/vector_index/VecIndexFactory.h>
#include <index/knowhere/knowhere/index/vector_index/IndexIVFPQ.h>
#include <common/LoadIndex.h>
#include <common/LoadInfo.h>
#include <utils/Types.h>
#include <segcore/Collection.h>
#include "test_utils/DataGen.h"

View File

@ -0,0 +1,6 @@
#include <gtest/gtest.h>
#include "segcore/SegmentSealed.h"
TEST(Load, Naive) {
}

View File

@ -4,6 +4,8 @@ import (
"errors"
"log"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/golang/protobuf/proto"
ms "github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/etcdpb"
@ -42,7 +44,7 @@ type showCollectionsTask struct {
}
//////////////////////////////////////////////////////////////////////////
func (t *createCollectionTask) Type() internalpb.MsgType {
func (t *createCollectionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -131,7 +133,7 @@ func (t *createCollectionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *dropCollectionTask) Type() internalpb.MsgType {
func (t *dropCollectionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -192,7 +194,7 @@ func (t *dropCollectionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *hasCollectionTask) Type() internalpb.MsgType {
func (t *hasCollectionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -222,7 +224,7 @@ func (t *hasCollectionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *describeCollectionTask) Type() internalpb.MsgType {
func (t *describeCollectionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -269,7 +271,7 @@ func (t *describeCollectionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *showCollectionsTask) Type() internalpb.MsgType {
func (t *showCollectionsTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0

View File

@ -3,6 +3,8 @@ package master
import (
"log"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/errors"
etcdkv "github.com/zilliztech/milvus-distributed/internal/kv/etcd"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
@ -16,7 +18,7 @@ type getSysConfigsTask struct {
values []string
}
func (t *getSysConfigsTask) Type() internalpb.MsgType {
func (t *getSysConfigsTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0

View File

@ -3,6 +3,8 @@ package master
import (
"fmt"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/servicepb"
)
@ -15,8 +17,8 @@ type createIndexTask struct {
segManager SegmentManager
}
func (task *createIndexTask) Type() internalpb.MsgType {
return internalpb.MsgType_kCreateIndex
func (task *createIndexTask) Type() commonpb.MsgType {
return commonpb.MsgType_kCreateIndex
}
func (task *createIndexTask) Ts() (Timestamp, error) {
@ -111,8 +113,8 @@ type describeIndexTask struct {
resp *servicepb.DescribeIndexResponse
}
func (task *describeIndexTask) Type() internalpb.MsgType {
return internalpb.MsgType_kDescribeIndex
func (task *describeIndexTask) Type() commonpb.MsgType {
return commonpb.MsgType_kDescribeIndex
}
func (task *describeIndexTask) Ts() (Timestamp, error) {
@ -150,8 +152,8 @@ type describeIndexProgressTask struct {
resp *servicepb.BoolResponse
}
func (task *describeIndexProgressTask) Type() internalpb.MsgType {
return internalpb.MsgType_kDescribeIndexProgress
func (task *describeIndexProgressTask) Type() commonpb.MsgType {
return commonpb.MsgType_kDescribeIndexProgress
}
func (task *describeIndexProgressTask) Ts() (Timestamp, error) {

View File

@ -72,7 +72,7 @@ func receiveTimeTickMsg(stream *ms.MsgStream) bool {
func getTimeTickMsgPack(ttmsgs [][2]uint64) *ms.MsgPack {
msgPack := ms.MsgPack{}
for _, vi := range ttmsgs {
msgPack.Msgs = append(msgPack.Msgs, getTtMsg(internalpb.MsgType_kTimeTick, UniqueID(vi[0]), Timestamp(vi[1])))
msgPack.Msgs = append(msgPack.Msgs, getTtMsg(commonpb.MsgType_kTimeTick, UniqueID(vi[0]), Timestamp(vi[1])))
}
return &msgPack
}
@ -148,7 +148,7 @@ func TestMaster(t *testing.T) {
sc.InitFromFile(".")
configRequest := &internalpb.SysConfigRequest{
MsgType: internalpb.MsgType_kGetSysConfigs,
MsgType: commonpb.MsgType_kGetSysConfigs,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -163,7 +163,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, len(response.GetKeys()), len(response.GetValues()))
configRequest = &internalpb.SysConfigRequest{
MsgType: internalpb.MsgType_kGetSysConfigs,
MsgType: commonpb.MsgType_kGetSysConfigs,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -264,7 +264,7 @@ func TestMaster(t *testing.T) {
assert.Nil(t, err)
createCollectionReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -277,7 +277,7 @@ func TestMaster(t *testing.T) {
// HasCollection
reqHasCollection := internalpb.HasCollectionRequest{
MsgType: internalpb.MsgType_kHasCollection,
MsgType: commonpb.MsgType_kHasCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -309,7 +309,7 @@ func TestMaster(t *testing.T) {
// ShowCollection
reqShowCollection := internalpb.ShowCollectionRequest{
MsgType: internalpb.MsgType_kShowCollections,
MsgType: commonpb.MsgType_kShowCollections,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -375,7 +375,7 @@ func TestMaster(t *testing.T) {
// DescribeCollection Test
reqDescribe := &internalpb.DescribeCollectionRequest{
MsgType: internalpb.MsgType_kDescribeCollection,
MsgType: commonpb.MsgType_kDescribeCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -436,7 +436,7 @@ func TestMaster(t *testing.T) {
ser := servicepb.CollectionName{CollectionName: "col1"}
reqDrop := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -490,7 +490,7 @@ func TestMaster(t *testing.T) {
assert.Nil(t, err)
createCollectionReq = internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -512,7 +512,7 @@ func TestMaster(t *testing.T) {
ser = servicepb.CollectionName{CollectionName: "col1"}
reqDrop = internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -526,7 +526,7 @@ func TestMaster(t *testing.T) {
ser = servicepb.CollectionName{CollectionName: "col2"}
reqDrop = internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -621,7 +621,7 @@ func TestMaster(t *testing.T) {
assert.Nil(t, err)
createCollectionReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -632,7 +632,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_SUCCESS, st.ErrorCode)
createPartitionReq := internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -643,7 +643,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_SUCCESS, st.ErrorCode)
createPartitionReq = internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -654,7 +654,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_UNEXPECTED_ERROR, st.ErrorCode)
createPartitionReq = internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -700,7 +700,7 @@ func TestMaster(t *testing.T) {
assert.ElementsMatch(t, []string{"_default", "partition1", "partition2"}, collMeta.PartitionTags)
showPartitionReq := internalpb.ShowPartitionRequest{
MsgType: internalpb.MsgType_kShowPartitions,
MsgType: commonpb.MsgType_kShowPartitions,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -712,7 +712,7 @@ func TestMaster(t *testing.T) {
assert.ElementsMatch(t, []string{"_default", "partition1", "partition2"}, stringList.Values)
showPartitionReq = internalpb.ShowPartitionRequest{
MsgType: internalpb.MsgType_kShowPartitions,
MsgType: commonpb.MsgType_kShowPartitions,
ReqID: 1,
Timestamp: 0,
ProxyID: 1,
@ -724,7 +724,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_UNEXPECTED_ERROR, stringList.Status.ErrorCode)
hasPartitionReq := internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -736,7 +736,7 @@ func TestMaster(t *testing.T) {
assert.True(t, hasPartition.Value)
hasPartitionReq = internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 1,
Timestamp: 0,
ProxyID: 1,
@ -748,7 +748,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_UNEXPECTED_ERROR, stringList.Status.ErrorCode)
hasPartitionReq = internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -760,7 +760,7 @@ func TestMaster(t *testing.T) {
assert.False(t, hasPartition.Value)
deletePartitionReq := internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -772,7 +772,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_SUCCESS, st.ErrorCode)
deletePartitionReq = internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -784,7 +784,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, commonpb.ErrorCode_UNEXPECTED_ERROR, st.ErrorCode)
hasPartitionReq = internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -796,7 +796,7 @@ func TestMaster(t *testing.T) {
assert.False(t, hasPartition.Value)
describePartitionReq := internalpb.DescribePartitionRequest{
MsgType: internalpb.MsgType_kDescribePartition,
MsgType: commonpb.MsgType_kDescribePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -808,7 +808,7 @@ func TestMaster(t *testing.T) {
assert.Equal(t, &servicepb.PartitionName{CollectionName: "col1", Tag: "partition1"}, describePartition.Name)
describePartitionReq = internalpb.DescribePartitionRequest{
MsgType: internalpb.MsgType_kDescribePartition,
MsgType: commonpb.MsgType_kDescribePartition,
ReqID: 1,
Timestamp: 0,
ProxyID: 1,
@ -821,7 +821,7 @@ func TestMaster(t *testing.T) {
// DropCollection
ser := servicepb.CollectionName{CollectionName: "col1"}
reqDrop := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -913,7 +913,7 @@ func TestMaster(t *testing.T) {
////////////////////////////CreateCollection////////////////////////
createCollectionReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: Timestamp(time.Now().Unix()),
ProxyID: 1,
@ -948,7 +948,7 @@ func TestMaster(t *testing.T) {
////////////////////////////CreatePartition////////////////////////
partitionName := "partitionName" + strconv.FormatUint(rand.Uint64(), 10)
createPartitionReq := internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -987,7 +987,7 @@ func TestMaster(t *testing.T) {
////////////////////////////DropPartition////////////////////////
dropPartitionReq := internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -1025,7 +1025,7 @@ func TestMaster(t *testing.T) {
////////////////////////////DropCollection////////////////////////
dropCollectionReq := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -1074,7 +1074,7 @@ func TestMaster(t *testing.T) {
schemaBytes, err := proto.Marshal(schema)
assert.Nil(t, err)
_, err = cli.CreateCollection(ctx, &internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -1082,7 +1082,7 @@ func TestMaster(t *testing.T) {
})
assert.Nil(t, err)
_, err = cli.CreatePartition(ctx, &internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 2,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,
@ -1124,7 +1124,7 @@ func TestMaster(t *testing.T) {
Msgs: []ms.TsMsg{
&ms.QueryNodeStatsMsg{
QueryNodeStats: internalpb.QueryNodeStats{
MsgType: internalpb.MsgType_kQueryNodeStats,
MsgType: commonpb.MsgType_kQueryNodeStats,
PeerID: 1,
SegStats: []*internalpb.SegmentStats{
{SegmentID: segID, MemorySize: 600000000, NumRows: 1000000, RecentlyModified: true},
@ -1146,7 +1146,7 @@ func TestMaster(t *testing.T) {
ser := servicepb.CollectionName{CollectionName: collName}
reqDrop := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: uint64(time.Now().Unix()),
ProxyID: 1,

View File

@ -41,7 +41,7 @@ type showPartitionTask struct {
}
//////////////////////////////////////////////////////////////////////////
func (t *createPartitionTask) Type() internalpb.MsgType {
func (t *createPartitionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -96,7 +96,7 @@ func (t *createPartitionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *dropPartitionTask) Type() internalpb.MsgType {
func (t *dropPartitionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -152,7 +152,7 @@ func (t *dropPartitionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *hasPartitionTask) Type() internalpb.MsgType {
func (t *hasPartitionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -186,7 +186,7 @@ func (t *hasPartitionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *describePartitionTask) Type() internalpb.MsgType {
func (t *describePartitionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0
@ -223,7 +223,7 @@ func (t *describePartitionTask) Execute() error {
}
//////////////////////////////////////////////////////////////////////////
func (t *showPartitionTask) Type() internalpb.MsgType {
func (t *showPartitionTask) Type() commonpb.MsgType {
if t.req == nil {
log.Printf("null request")
return 0

View File

@ -75,7 +75,7 @@ func TestMaster_Scheduler_Collection(t *testing.T) {
////////////////////////////CreateCollection////////////////////////
createCollectionReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -119,7 +119,7 @@ func TestMaster_Scheduler_Collection(t *testing.T) {
////////////////////////////DropCollection////////////////////////
dropCollectionReq := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
ReqID: 1,
Timestamp: 13,
ProxyID: 1,
@ -219,7 +219,7 @@ func TestMaster_Scheduler_Partition(t *testing.T) {
////////////////////////////CreateCollection////////////////////////
createCollectionReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -264,7 +264,7 @@ func TestMaster_Scheduler_Partition(t *testing.T) {
////////////////////////////CreatePartition////////////////////////
partitionName := "partitionName" + strconv.FormatUint(rand.Uint64(), 10)
createPartitionReq := internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: 13,
ProxyID: 1,
@ -311,7 +311,7 @@ func TestMaster_Scheduler_Partition(t *testing.T) {
////////////////////////////DropPartition////////////////////////
dropPartitionReq := internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: 15,
ProxyID: 1,

View File

@ -6,6 +6,8 @@ import (
"testing"
"time"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
etcdkv "github.com/zilliztech/milvus-distributed/internal/kv/etcd"
"go.etcd.io/etcd/clientv3"
@ -101,7 +103,7 @@ func TestSegmentManager_AssignSegmentID(t *testing.T) {
BeginTimestamp: timestamp, EndTimestamp: timestamp, HashValues: []uint32{},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick, PeerID: 1, Timestamp: timestamp,
MsgType: commonpb.MsgType_kTimeTick, PeerID: 1, Timestamp: timestamp,
},
}

View File

@ -145,7 +145,7 @@ func TestSegmentManager_AssignSegment(t *testing.T) {
BeginTimestamp: timestamp, EndTimestamp: timestamp, HashValues: []uint32{},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: 1,
Timestamp: timestamp,
},
@ -264,7 +264,7 @@ func TestSegmentManager_SycnWritenode(t *testing.T) {
BeginTimestamp: timestamp, EndTimestamp: timestamp, HashValues: []uint32{},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: 1,
Timestamp: timestamp,
},

View File

@ -73,7 +73,7 @@ func TestStatsProcess(t *testing.T) {
})
assert.Nil(t, err)
stats := internalpb.QueryNodeStats{
MsgType: internalpb.MsgType_kQueryNodeStats,
MsgType: commonpb.MsgType_kQueryNodeStats,
PeerID: 1,
SegStats: []*internalpb.SegmentStats{
{SegmentID: 100, MemorySize: 2500000, NumRows: 25000, RecentlyModified: true},

View File

@ -3,8 +3,9 @@ package master
import (
"context"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/errors"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
// TODO: get timestamp from timestampOracle
@ -16,7 +17,7 @@ type baseTask struct {
}
type task interface {
Type() internalpb.MsgType
Type() commonpb.MsgType
Ts() (Timestamp, error)
Execute() error
WaitToFinish(ctx context.Context) error

View File

@ -3,13 +3,15 @@ package master
import (
"testing"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/stretchr/testify/assert"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
func TestMaster_CreateCollectionTask(t *testing.T) {
req := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -19,7 +21,7 @@ func TestMaster_CreateCollectionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kCreateCollection, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kCreateCollection, collectionTask.Type())
ts, err := collectionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -29,7 +31,7 @@ func TestMaster_CreateCollectionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, collectionTask.Type())
ts, err = collectionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -39,7 +41,7 @@ func TestMaster_CreateCollectionTask(t *testing.T) {
func TestMaster_DropCollectionTask(t *testing.T) {
req := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -50,7 +52,7 @@ func TestMaster_DropCollectionTask(t *testing.T) {
baseTask: baseTask{},
segManager: NewMockSegmentManager(),
}
assert.Equal(t, internalpb.MsgType_kDropPartition, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kDropPartition, collectionTask.Type())
ts, err := collectionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -61,7 +63,7 @@ func TestMaster_DropCollectionTask(t *testing.T) {
segManager: NewMockSegmentManager(),
}
assert.Equal(t, internalpb.MsgType_kNone, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, collectionTask.Type())
ts, err = collectionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -71,7 +73,7 @@ func TestMaster_DropCollectionTask(t *testing.T) {
func TestMaster_HasCollectionTask(t *testing.T) {
req := internalpb.HasCollectionRequest{
MsgType: internalpb.MsgType_kHasCollection,
MsgType: commonpb.MsgType_kHasCollection,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -81,7 +83,7 @@ func TestMaster_HasCollectionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kHasCollection, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kHasCollection, collectionTask.Type())
ts, err := collectionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -91,7 +93,7 @@ func TestMaster_HasCollectionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, collectionTask.Type())
ts, err = collectionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -101,7 +103,7 @@ func TestMaster_HasCollectionTask(t *testing.T) {
func TestMaster_ShowCollectionTask(t *testing.T) {
req := internalpb.ShowCollectionRequest{
MsgType: internalpb.MsgType_kShowCollections,
MsgType: commonpb.MsgType_kShowCollections,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -110,7 +112,7 @@ func TestMaster_ShowCollectionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kShowCollections, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kShowCollections, collectionTask.Type())
ts, err := collectionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -120,7 +122,7 @@ func TestMaster_ShowCollectionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, collectionTask.Type())
ts, err = collectionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -130,7 +132,7 @@ func TestMaster_ShowCollectionTask(t *testing.T) {
func TestMaster_DescribeCollectionTask(t *testing.T) {
req := internalpb.DescribeCollectionRequest{
MsgType: internalpb.MsgType_kDescribeCollection,
MsgType: commonpb.MsgType_kDescribeCollection,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -140,7 +142,7 @@ func TestMaster_DescribeCollectionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kDescribeCollection, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kDescribeCollection, collectionTask.Type())
ts, err := collectionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -150,7 +152,7 @@ func TestMaster_DescribeCollectionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, collectionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, collectionTask.Type())
ts, err = collectionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -160,7 +162,7 @@ func TestMaster_DescribeCollectionTask(t *testing.T) {
func TestMaster_CreatePartitionTask(t *testing.T) {
req := internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -170,7 +172,7 @@ func TestMaster_CreatePartitionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kCreatePartition, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kCreatePartition, partitionTask.Type())
ts, err := partitionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -180,7 +182,7 @@ func TestMaster_CreatePartitionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, partitionTask.Type())
ts, err = partitionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -189,7 +191,7 @@ func TestMaster_CreatePartitionTask(t *testing.T) {
}
func TestMaster_DropPartitionTask(t *testing.T) {
req := internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -199,7 +201,7 @@ func TestMaster_DropPartitionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kDropPartition, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kDropPartition, partitionTask.Type())
ts, err := partitionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -209,7 +211,7 @@ func TestMaster_DropPartitionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, partitionTask.Type())
ts, err = partitionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -218,7 +220,7 @@ func TestMaster_DropPartitionTask(t *testing.T) {
}
func TestMaster_HasPartitionTask(t *testing.T) {
req := internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -228,7 +230,7 @@ func TestMaster_HasPartitionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kHasPartition, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kHasPartition, partitionTask.Type())
ts, err := partitionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -238,7 +240,7 @@ func TestMaster_HasPartitionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, partitionTask.Type())
ts, err = partitionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -247,7 +249,7 @@ func TestMaster_HasPartitionTask(t *testing.T) {
}
func TestMaster_DescribePartitionTask(t *testing.T) {
req := internalpb.DescribePartitionRequest{
MsgType: internalpb.MsgType_kDescribePartition,
MsgType: commonpb.MsgType_kDescribePartition,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -257,7 +259,7 @@ func TestMaster_DescribePartitionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kDescribePartition, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kDescribePartition, partitionTask.Type())
ts, err := partitionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -267,7 +269,7 @@ func TestMaster_DescribePartitionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, partitionTask.Type())
ts, err = partitionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)
@ -276,7 +278,7 @@ func TestMaster_DescribePartitionTask(t *testing.T) {
}
func TestMaster_ShowPartitionTask(t *testing.T) {
req := internalpb.ShowPartitionRequest{
MsgType: internalpb.MsgType_kShowPartitions,
MsgType: commonpb.MsgType_kShowPartitions,
ReqID: 1,
Timestamp: 11,
ProxyID: 1,
@ -285,7 +287,7 @@ func TestMaster_ShowPartitionTask(t *testing.T) {
req: &req,
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kShowPartitions, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kShowPartitions, partitionTask.Type())
ts, err := partitionTask.Ts()
assert.Equal(t, uint64(11), ts)
assert.Nil(t, err)
@ -295,7 +297,7 @@ func TestMaster_ShowPartitionTask(t *testing.T) {
baseTask: baseTask{},
}
assert.Equal(t, internalpb.MsgType_kNone, partitionTask.Type())
assert.Equal(t, commonpb.MsgType_kNone, partitionTask.Type())
ts, err = partitionTask.Ts()
assert.Equal(t, uint64(0), ts)
assert.NotNil(t, err)

View File

@ -6,6 +6,7 @@ import (
"github.com/zilliztech/milvus-distributed/internal/errors"
ms "github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
@ -78,7 +79,7 @@ func (syncMsgProducer *timeSyncMsgProducer) broadcastMsg(barrier TimeTickBarrier
HashValues: []uint32{0},
}
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: 0,
Timestamp: timetick,
}

View File

@ -11,15 +11,17 @@ import (
"github.com/stretchr/testify/require"
ms "github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
func getTtMsg(msgType internalPb.MsgType, peerID UniqueID, timeStamp uint64) ms.TsMsg {
func getTtMsg(msgType commonpb.MsgType, peerID UniqueID, timeStamp uint64) ms.TsMsg {
baseMsg := ms.BaseMsg{
HashValues: []uint32{uint32(peerID)},
}
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: peerID,
Timestamp: timeStamp,
}
@ -56,7 +58,7 @@ func initPulsarStream(pulsarAddress string,
func getMsgPack(ttmsgs [][2]int) *ms.MsgPack {
msgPack := ms.MsgPack{}
for _, vi := range ttmsgs {
msgPack.Msgs = append(msgPack.Msgs, getTtMsg(internalPb.MsgType_kTimeTick, UniqueID(vi[0]), Timestamp(vi[1])))
msgPack.Msgs = append(msgPack.Msgs, getTtMsg(commonpb.MsgType_kTimeTick, UniqueID(vi[0]), Timestamp(vi[1])))
}
return &msgPack
}

View File

@ -3,11 +3,13 @@ package msgstream
import (
"context"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/golang/protobuf/proto"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
type MsgType = internalPb.MsgType
type MsgType = commonpb.MsgType
type TsMsg interface {
GetMsgContext() context.Context

View File

@ -9,7 +9,7 @@ import (
"github.com/golang/protobuf/proto"
commonPb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
@ -43,7 +43,7 @@ func (tt *InsertTask) Unmarshal(input []byte) (TsMsg, error) {
func newRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, error) {
result := make(map[int32]*MsgPack)
for i, request := range tsMsgs {
if request.Type() != internalPb.MsgType_kInsert {
if request.Type() != commonpb.MsgType_kInsert {
return nil, errors.New(string("msg's must be Insert"))
}
insertRequest := request.(*InsertTask).InsertRequest
@ -65,7 +65,7 @@ func newRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, erro
}
sliceRequest := internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: insertRequest.ReqID,
CollectionName: insertRequest.CollectionName,
PartitionTag: insertRequest.PartitionTag,
@ -74,7 +74,7 @@ func newRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, erro
ProxyID: insertRequest.ProxyID,
Timestamps: []uint64{insertRequest.Timestamps[index]},
RowIDs: []int64{insertRequest.RowIDs[index]},
RowData: []*commonPb.Blob{insertRequest.RowData[index]},
RowData: []*commonpb.Blob{insertRequest.RowData[index]},
}
insertMsg := &InsertTask{
@ -94,7 +94,7 @@ func getInsertTask(reqID UniqueID, hashValue uint32) TsMsg {
HashValues: []uint32{hashValue},
}
insertRequest := internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: reqID,
CollectionName: "Collection",
PartitionTag: "Partition",
@ -103,7 +103,7 @@ func getInsertTask(reqID UniqueID, hashValue uint32) TsMsg {
ProxyID: 1,
Timestamps: []Timestamp{1},
RowIDs: []int64{1},
RowData: []*commonPb.Blob{{}},
RowData: []*commonpb.Blob{{}},
}
insertMsg := InsertMsg{
BaseMsg: baseMsg,
@ -137,7 +137,7 @@ func TestStream_task_Insert(t *testing.T) {
outputStream.SetPulsarClient(pulsarAddress)
unmarshalDispatcher := NewUnmarshalDispatcher()
testTask := InsertTask{}
unmarshalDispatcher.AddMsgTemplate(internalPb.MsgType_kInsert, testTask.Unmarshal)
unmarshalDispatcher.AddMsgTemplate(commonpb.MsgType_kInsert, testTask.Unmarshal)
outputStream.CreatePulsarConsumers(consumerChannels, consumerSubName, unmarshalDispatcher, 100)
outputStream.Start()

View File

@ -14,7 +14,7 @@ import (
"github.com/opentracing/opentracing-go/ext"
oplog "github.com/opentracing/opentracing-go/log"
"github.com/zilliztech/milvus-distributed/internal/errors"
commonPb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/util/typeutil"
)
@ -191,7 +191,7 @@ func (ms *PulsarMsgStream) Produce(msgPack *MsgPack) error {
hashValues := tsMsg.HashKeys()
bucketValues := make([]int32, len(hashValues))
for index, hashValue := range hashValues {
if tsMsg.Type() == internalPb.MsgType_kSearchResult {
if tsMsg.Type() == commonpb.MsgType_kSearchResult {
searchResult := tsMsg.(*SearchResultMsg)
channelID := int32(searchResult.ResultChannelID)
if channelID >= int32(len(ms.producers)) {
@ -212,9 +212,9 @@ func (ms *PulsarMsgStream) Produce(msgPack *MsgPack) error {
} else {
msgType := (tsMsgs[0]).Type()
switch msgType {
case internalPb.MsgType_kInsert:
case commonpb.MsgType_kInsert:
result, err = insertRepackFunc(tsMsgs, reBucketValues)
case internalPb.MsgType_kDelete:
case commonpb.MsgType_kDelete:
result, err = deleteRepackFunc(tsMsgs, reBucketValues)
default:
result, err = defaultRepackFunc(tsMsgs, reBucketValues)
@ -232,9 +232,9 @@ func (ms *PulsarMsgStream) Produce(msgPack *MsgPack) error {
msg := &pulsar.ProducerMessage{Payload: mb}
var child opentracing.Span
if v.Msgs[i].Type() == internalPb.MsgType_kInsert ||
v.Msgs[i].Type() == internalPb.MsgType_kSearch ||
v.Msgs[i].Type() == internalPb.MsgType_kSearchResult {
if v.Msgs[i].Type() == commonpb.MsgType_kInsert ||
v.Msgs[i].Type() == commonpb.MsgType_kSearch ||
v.Msgs[i].Type() == commonpb.MsgType_kSearchResult {
tracer := opentracing.GlobalTracer()
ctx := v.Msgs[i].GetMsgContext()
if ctx == nil {
@ -288,9 +288,9 @@ func (ms *PulsarMsgStream) Broadcast(msgPack *MsgPack) error {
}
msg := &pulsar.ProducerMessage{Payload: mb}
var child opentracing.Span
if v.Type() == internalPb.MsgType_kInsert ||
v.Type() == internalPb.MsgType_kSearch ||
v.Type() == internalPb.MsgType_kSearchResult {
if v.Type() == commonpb.MsgType_kInsert ||
v.Type() == commonpb.MsgType_kSearch ||
v.Type() == commonpb.MsgType_kSearchResult {
tracer := opentracing.GlobalTracer()
ctx := v.GetMsgContext()
if ctx == nil {
@ -389,8 +389,8 @@ func (ms *PulsarMsgStream) bufMsgPackToChannel() {
continue
}
tsMsg, err := ms.unmarshal.Unmarshal(pulsarMsg.Payload(), headerMsg.MsgType)
if tsMsg.Type() == internalPb.MsgType_kSearch ||
tsMsg.Type() == internalPb.MsgType_kSearchResult {
if tsMsg.Type() == commonpb.MsgType_kSearch ||
tsMsg.Type() == commonpb.MsgType_kSearchResult {
tracer := opentracing.GlobalTracer()
spanContext, err := tracer.Extract(opentracing.HTTPHeaders, &propertiesReaderWriter{pulsarMsg.Properties()})
if err != nil {
@ -499,7 +499,7 @@ func (ms *PulsarTtMsgStream) bufMsgPackToChannel() {
for _, v := range ms.inputBuf {
var ctx context.Context
var span opentracing.Span
if v.Type() == internalPb.MsgType_kInsert {
if v.Type() == commonpb.MsgType_kInsert {
if _, ok := spans[v.BeginTs()]; !ok {
span, ctx = opentracing.StartSpanFromContext(v.GetMsgContext(), "after find time tick")
ctxs[v.BeginTs()] = ctx
@ -508,7 +508,7 @@ func (ms *PulsarTtMsgStream) bufMsgPackToChannel() {
}
if v.EndTs() <= timeStamp {
timeTickBuf = append(timeTickBuf, v)
if v.Type() == internalPb.MsgType_kInsert {
if v.Type() == commonpb.MsgType_kInsert {
v.SetMsgContext(ctxs[v.BeginTs()])
spans[v.BeginTs()].Finish()
delete(spans, v.BeginTs())
@ -562,7 +562,7 @@ func (ms *PulsarTtMsgStream) findTimeTick(channelIndex int,
log.Printf("Failed to unmarshal, error = %v", err)
}
if tsMsg.Type() == internalPb.MsgType_kInsert {
if tsMsg.Type() == commonpb.MsgType_kInsert {
tracer := opentracing.GlobalTracer()
spanContext, err := tracer.Extract(opentracing.HTTPHeaders, &propertiesReaderWriter{pulsarMsg.Properties()})
if err != nil {
@ -579,7 +579,7 @@ func (ms *PulsarTtMsgStream) findTimeTick(channelIndex int,
span.Finish()
}
if headerMsg.MsgType == internalPb.MsgType_kTimeTick {
if headerMsg.MsgType == commonpb.MsgType_kTimeTick {
findMapMutex.Lock()
eofMsgMap[channelIndex] = tsMsg.(*TimeTickMsg).Timestamp
findMapMutex.Unlock()
@ -663,7 +663,7 @@ func checkTimeTickMsg(msg map[int]Timestamp, isChannelReady []bool, mu *sync.RWM
func insertRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, error) {
result := make(map[int32]*MsgPack)
for i, request := range tsMsgs {
if request.Type() != internalPb.MsgType_kInsert {
if request.Type() != commonpb.MsgType_kInsert {
return nil, errors.New("msg's must be Insert")
}
insertRequest := request.(*InsertMsg)
@ -685,7 +685,7 @@ func insertRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, e
}
sliceRequest := internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: insertRequest.ReqID,
CollectionName: insertRequest.CollectionName,
PartitionTag: insertRequest.PartitionTag,
@ -694,7 +694,7 @@ func insertRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, e
ProxyID: insertRequest.ProxyID,
Timestamps: []uint64{insertRequest.Timestamps[index]},
RowIDs: []int64{insertRequest.RowIDs[index]},
RowData: []*commonPb.Blob{insertRequest.RowData[index]},
RowData: []*commonpb.Blob{insertRequest.RowData[index]},
}
insertMsg := &InsertMsg{
@ -712,7 +712,7 @@ func insertRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, e
func deleteRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, error) {
result := make(map[int32]*MsgPack)
for i, request := range tsMsgs {
if request.Type() != internalPb.MsgType_kDelete {
if request.Type() != commonpb.MsgType_kDelete {
return nil, errors.New("msg's must be Delete")
}
deleteRequest := request.(*DeleteMsg)
@ -734,7 +734,7 @@ func deleteRepackFunc(tsMsgs []TsMsg, hashKeys [][]int32) (map[int32]*MsgPack, e
}
sliceRequest := internalPb.DeleteRequest{
MsgType: internalPb.MsgType_kDelete,
MsgType: commonpb.MsgType_kDelete,
ReqID: deleteRequest.ReqID,
CollectionName: deleteRequest.CollectionName,
ChannelID: deleteRequest.ChannelID,

View File

@ -7,7 +7,7 @@ import (
"os"
"testing"
commonPb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/util/paramtable"
)
@ -43,9 +43,9 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
HashValues: []uint32{hashValue},
}
switch msgType {
case internalPb.MsgType_kInsert:
case commonpb.MsgType_kInsert:
insertRequest := internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: reqID,
CollectionName: "Collection",
PartitionTag: "Partition",
@ -54,16 +54,16 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
ProxyID: 1,
Timestamps: []Timestamp{1},
RowIDs: []int64{1},
RowData: []*commonPb.Blob{{}},
RowData: []*commonpb.Blob{{}},
}
insertMsg := &InsertMsg{
BaseMsg: baseMsg,
InsertRequest: insertRequest,
}
return insertMsg
case internalPb.MsgType_kDelete:
case commonpb.MsgType_kDelete:
deleteRequest := internalPb.DeleteRequest{
MsgType: internalPb.MsgType_kDelete,
MsgType: commonpb.MsgType_kDelete,
ReqID: reqID,
CollectionName: "Collection",
ChannelID: 1,
@ -76,9 +76,9 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
DeleteRequest: deleteRequest,
}
return deleteMsg
case internalPb.MsgType_kSearch:
case commonpb.MsgType_kSearch:
searchRequest := internalPb.SearchRequest{
MsgType: internalPb.MsgType_kSearch,
MsgType: commonpb.MsgType_kSearch,
ReqID: reqID,
ProxyID: 1,
Timestamp: 1,
@ -89,10 +89,10 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
SearchRequest: searchRequest,
}
return searchMsg
case internalPb.MsgType_kSearchResult:
case commonpb.MsgType_kSearchResult:
searchResult := internalPb.SearchResult{
MsgType: internalPb.MsgType_kSearchResult,
Status: &commonPb.Status{ErrorCode: commonPb.ErrorCode_SUCCESS},
MsgType: commonpb.MsgType_kSearchResult,
Status: &commonpb.Status{ErrorCode: commonpb.ErrorCode_SUCCESS},
ReqID: reqID,
ProxyID: 1,
QueryNodeID: 1,
@ -104,9 +104,9 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
SearchResult: searchResult,
}
return searchResultMsg
case internalPb.MsgType_kTimeTick:
case commonpb.MsgType_kTimeTick:
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: reqID,
Timestamp: 1,
}
@ -115,9 +115,9 @@ func getTsMsg(msgType MsgType, reqID UniqueID, hashValue uint32) TsMsg {
TimeTickMsg: timeTickResult,
}
return timeTickMsg
case internalPb.MsgType_kQueryNodeStats:
case commonpb.MsgType_kQueryNodeStats:
queryNodeSegStats := internalPb.QueryNodeStats{
MsgType: internalPb.MsgType_kQueryNodeStats,
MsgType: commonpb.MsgType_kQueryNodeStats,
PeerID: reqID,
}
queryNodeSegStatsMsg := &QueryNodeStatsMsg{
@ -136,7 +136,7 @@ func getTimeTickMsg(reqID UniqueID, hashValue uint32, time uint64) TsMsg {
HashValues: []uint32{hashValue},
}
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: reqID,
Timestamp: time,
}
@ -225,8 +225,8 @@ func TestStream_PulsarMsgStream_Insert(t *testing.T) {
consumerSubName := "subInsert"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Produce(&msgPack)
@ -247,8 +247,8 @@ func TestStream_PulsarMsgStream_Delete(t *testing.T) {
consumerSubName := "subDelete"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kDelete, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kDelete, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kDelete, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kDelete, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Produce(&msgPack)
@ -267,8 +267,8 @@ func TestStream_PulsarMsgStream_Search(t *testing.T) {
consumerSubName := "subSearch"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearch, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearch, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearch, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearch, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Produce(&msgPack)
@ -287,8 +287,8 @@ func TestStream_PulsarMsgStream_SearchResult(t *testing.T) {
consumerSubName := "subSearchResult"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearchResult, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearchResult, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearchResult, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearchResult, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Produce(&msgPack)
@ -307,8 +307,8 @@ func TestStream_PulsarMsgStream_TimeTick(t *testing.T) {
consumerSubName := "subTimeTick"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kTimeTick, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kTimeTick, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Produce(&msgPack)
@ -327,8 +327,8 @@ func TestStream_PulsarMsgStream_BroadCast(t *testing.T) {
consumerSubName := "subInsert"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kTimeTick, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kTimeTick, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName)
err := (*inputStream).Broadcast(&msgPack)
@ -347,8 +347,8 @@ func TestStream_PulsarMsgStream_RepackFunc(t *testing.T) {
consumerSubName := "subInsert"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 3, 3))
inputStream, outputStream := initPulsarStream(pulsarAddress, producerChannels, consumerChannels, consumerSubName, repackFunc)
err := (*inputStream).Produce(&msgPack)
@ -373,7 +373,7 @@ func TestStream_PulsarMsgStream_InsertRepackFunc(t *testing.T) {
}
insertRequest := internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: 1,
CollectionName: "Collection",
PartitionTag: "Partition",
@ -382,7 +382,7 @@ func TestStream_PulsarMsgStream_InsertRepackFunc(t *testing.T) {
ProxyID: 1,
Timestamps: []Timestamp{1, 1},
RowIDs: []int64{1, 3},
RowData: []*commonPb.Blob{{}, {}},
RowData: []*commonpb.Blob{{}, {}},
}
insertMsg := &InsertMsg{
BaseMsg: baseMsg,
@ -426,7 +426,7 @@ func TestStream_PulsarMsgStream_DeleteRepackFunc(t *testing.T) {
}
deleteRequest := internalPb.DeleteRequest{
MsgType: internalPb.MsgType_kDelete,
MsgType: commonpb.MsgType_kDelete,
ReqID: 1,
CollectionName: "Collection",
ChannelID: 1,
@ -470,10 +470,10 @@ func TestStream_PulsarMsgStream_DefaultRepackFunc(t *testing.T) {
consumerSubName := "subInsert"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearch, 2, 2))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kSearchResult, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kQueryNodeStats, 4, 4))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kTimeTick, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearch, 2, 2))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kSearchResult, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kQueryNodeStats, 4, 4))
inputStream := NewPulsarMsgStream(context.Background(), 100)
inputStream.SetPulsarClient(pulsarAddress)
@ -506,8 +506,8 @@ func TestStream_PulsarTtMsgStream_Insert(t *testing.T) {
msgPack0.Msgs = append(msgPack0.Msgs, getTimeTickMsg(0, 0, 0))
msgPack1 := MsgPack{}
msgPack1.Msgs = append(msgPack1.Msgs, getTsMsg(internalPb.MsgType_kInsert, 1, 1))
msgPack1.Msgs = append(msgPack1.Msgs, getTsMsg(internalPb.MsgType_kInsert, 3, 3))
msgPack1.Msgs = append(msgPack1.Msgs, getTsMsg(commonpb.MsgType_kInsert, 1, 1))
msgPack1.Msgs = append(msgPack1.Msgs, getTsMsg(commonpb.MsgType_kInsert, 3, 3))
msgPack2 := MsgPack{}
msgPack2.Msgs = append(msgPack2.Msgs, getTimeTickMsg(5, 5, 5))

View File

@ -2,17 +2,17 @@ package msgstream
import (
"github.com/zilliztech/milvus-distributed/internal/errors"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
)
type MarshalFunc func(TsMsg) ([]byte, error)
type UnmarshalFunc func([]byte) (TsMsg, error)
type UnmarshalDispatcher struct {
tempMap map[internalPb.MsgType]UnmarshalFunc
tempMap map[commonpb.MsgType]UnmarshalFunc
}
func (dispatcher *UnmarshalDispatcher) Unmarshal(input []byte, msgType internalPb.MsgType) (TsMsg, error) {
func (dispatcher *UnmarshalDispatcher) Unmarshal(input []byte, msgType commonpb.MsgType) (TsMsg, error) {
unmarshalFunc, ok := dispatcher.tempMap[msgType]
if !ok {
return nil, errors.New(string("Not set unmarshalFunc for this messageType."))
@ -20,7 +20,7 @@ func (dispatcher *UnmarshalDispatcher) Unmarshal(input []byte, msgType internalP
return unmarshalFunc(input)
}
func (dispatcher *UnmarshalDispatcher) AddMsgTemplate(msgType internalPb.MsgType, unmarshal UnmarshalFunc) {
func (dispatcher *UnmarshalDispatcher) AddMsgTemplate(msgType commonpb.MsgType, unmarshal UnmarshalFunc) {
dispatcher.tempMap[msgType] = unmarshal
}
@ -38,19 +38,19 @@ func (dispatcher *UnmarshalDispatcher) addDefaultMsgTemplates() {
flushMsg := FlushMsg{}
queryNodeSegStatsMsg := QueryNodeStatsMsg{}
dispatcher.tempMap = make(map[internalPb.MsgType]UnmarshalFunc)
dispatcher.tempMap[internalPb.MsgType_kInsert] = insertMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kDelete] = deleteMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kSearch] = searchMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kSearchResult] = searchResultMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kTimeTick] = timeTickMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kQueryNodeStats] = queryNodeSegStatsMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kCreateCollection] = createCollectionMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kDropCollection] = dropCollectionMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kCreatePartition] = createPartitionMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kDropPartition] = dropPartitionMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kLoadIndex] = loadIndexMsg.Unmarshal
dispatcher.tempMap[internalPb.MsgType_kFlush] = flushMsg.Unmarshal
dispatcher.tempMap = make(map[commonpb.MsgType]UnmarshalFunc)
dispatcher.tempMap[commonpb.MsgType_kInsert] = insertMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kDelete] = deleteMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kSearch] = searchMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kSearchResult] = searchResultMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kTimeTick] = timeTickMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kQueryNodeStats] = queryNodeSegStatsMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kCreateCollection] = createCollectionMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kDropCollection] = dropCollectionMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kCreatePartition] = createPartitionMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kDropPartition] = dropPartitionMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kLoadIndex] = loadIndexMsg.Unmarshal
dispatcher.tempMap[commonpb.MsgType_kFlush] = flushMsg.Unmarshal
}
func NewUnmarshalDispatcher() *UnmarshalDispatcher {

View File

@ -3,10 +3,12 @@ package msgstream
import (
"context"
"fmt"
"log"
"testing"
"github.com/golang/protobuf/proto"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
@ -29,8 +31,8 @@ func TestStream_unmarshal_Insert(t *testing.T) {
consumerSubName := "subInsert"
msgPack := MsgPack{}
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(internalPb.MsgType_kInsert, 3, 3))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 1, 1))
msgPack.Msgs = append(msgPack.Msgs, getTsMsg(commonpb.MsgType_kInsert, 3, 3))
inputStream := NewPulsarMsgStream(context.Background(), 100)
inputStream.SetPulsarClient(pulsarAddress)
@ -42,7 +44,7 @@ func TestStream_unmarshal_Insert(t *testing.T) {
unmarshalDispatcher := NewUnmarshalDispatcher()
//add a new unmarshall func for msgType kInsert
unmarshalDispatcher.AddMsgTemplate(internalPb.MsgType_kInsert, newInsertMsgUnmarshal)
unmarshalDispatcher.AddMsgTemplate(commonpb.MsgType_kInsert, newInsertMsgUnmarshal)
outputStream.CreatePulsarConsumers(consumerChannels, consumerSubName, unmarshalDispatcher, 100)
outputStream.Start()

View File

@ -59,3 +59,48 @@ message Address {
int64 port = 2;
}
enum MsgType {
kNone = 0;
/* Definition Requests: collection */
kCreateCollection = 100;
kDropCollection = 101;
kHasCollection = 102;
kDescribeCollection = 103;
kShowCollections = 104;
kGetSysConfigs = 105;
/* Definition Requests: partition */
kCreatePartition = 200;
kDropPartition = 201;
kHasPartition = 202;
kDescribePartition = 203;
kShowPartitions = 204;
/* Definition Requests: Index */
kCreateIndex = 300;
kDescribeIndex = 301;
kDescribeIndexProgress = 302;
/* Manipulation Requests */
kInsert = 400;
kDelete = 401;
kFlush = 402;
/* Query */
kSearch = 500;
kSearchResult = 501;
/* System Control */
kTimeTick = 1200;
kQueryNodeStats = 1201;
kLoadIndex = 1202;
}
message MsgBase {
MsgType msg_type = 1;
int64 msgID = 2;
uint64 timestamp = 3;
int64 sourceID = 4;
}

View File

@ -115,6 +115,100 @@ func (ErrorCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{0}
}
type MsgType int32
const (
MsgType_kNone MsgType = 0
// Definition Requests: collection
MsgType_kCreateCollection MsgType = 100
MsgType_kDropCollection MsgType = 101
MsgType_kHasCollection MsgType = 102
MsgType_kDescribeCollection MsgType = 103
MsgType_kShowCollections MsgType = 104
MsgType_kGetSysConfigs MsgType = 105
// Definition Requests: partition
MsgType_kCreatePartition MsgType = 200
MsgType_kDropPartition MsgType = 201
MsgType_kHasPartition MsgType = 202
MsgType_kDescribePartition MsgType = 203
MsgType_kShowPartitions MsgType = 204
// Definition Requests: Index
MsgType_kCreateIndex MsgType = 300
MsgType_kDescribeIndex MsgType = 301
MsgType_kDescribeIndexProgress MsgType = 302
// Manipulation Requests
MsgType_kInsert MsgType = 400
MsgType_kDelete MsgType = 401
MsgType_kFlush MsgType = 402
// Query
MsgType_kSearch MsgType = 500
MsgType_kSearchResult MsgType = 501
// System Control
MsgType_kTimeTick MsgType = 1200
MsgType_kQueryNodeStats MsgType = 1201
MsgType_kLoadIndex MsgType = 1202
)
var MsgType_name = map[int32]string{
0: "kNone",
100: "kCreateCollection",
101: "kDropCollection",
102: "kHasCollection",
103: "kDescribeCollection",
104: "kShowCollections",
105: "kGetSysConfigs",
200: "kCreatePartition",
201: "kDropPartition",
202: "kHasPartition",
203: "kDescribePartition",
204: "kShowPartitions",
300: "kCreateIndex",
301: "kDescribeIndex",
302: "kDescribeIndexProgress",
400: "kInsert",
401: "kDelete",
402: "kFlush",
500: "kSearch",
501: "kSearchResult",
1200: "kTimeTick",
1201: "kQueryNodeStats",
1202: "kLoadIndex",
}
var MsgType_value = map[string]int32{
"kNone": 0,
"kCreateCollection": 100,
"kDropCollection": 101,
"kHasCollection": 102,
"kDescribeCollection": 103,
"kShowCollections": 104,
"kGetSysConfigs": 105,
"kCreatePartition": 200,
"kDropPartition": 201,
"kHasPartition": 202,
"kDescribePartition": 203,
"kShowPartitions": 204,
"kCreateIndex": 300,
"kDescribeIndex": 301,
"kDescribeIndexProgress": 302,
"kInsert": 400,
"kDelete": 401,
"kFlush": 402,
"kSearch": 500,
"kSearchResult": 501,
"kTimeTick": 1200,
"kQueryNodeStats": 1201,
"kLoadIndex": 1202,
}
func (x MsgType) String() string {
return proto.EnumName(MsgType_name, int32(x))
}
func (MsgType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{1}
}
type Empty struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
@ -326,55 +420,141 @@ func (m *Address) GetPort() int64 {
return 0
}
type MsgBase struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
MsgID int64 `protobuf:"varint,2,opt,name=msgID,proto3" json:"msgID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
SourceID int64 `protobuf:"varint,4,opt,name=sourceID,proto3" json:"sourceID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MsgBase) Reset() { *m = MsgBase{} }
func (m *MsgBase) String() string { return proto.CompactTextString(m) }
func (*MsgBase) ProtoMessage() {}
func (*MsgBase) Descriptor() ([]byte, []int) {
return fileDescriptor_555bd8c177793206, []int{5}
}
func (m *MsgBase) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MsgBase.Unmarshal(m, b)
}
func (m *MsgBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MsgBase.Marshal(b, m, deterministic)
}
func (m *MsgBase) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgBase.Merge(m, src)
}
func (m *MsgBase) XXX_Size() int {
return xxx_messageInfo_MsgBase.Size(m)
}
func (m *MsgBase) XXX_DiscardUnknown() {
xxx_messageInfo_MsgBase.DiscardUnknown(m)
}
var xxx_messageInfo_MsgBase proto.InternalMessageInfo
func (m *MsgBase) GetMsgType() MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
}
func (m *MsgBase) GetMsgID() int64 {
if m != nil {
return m.MsgID
}
return 0
}
func (m *MsgBase) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *MsgBase) GetSourceID() int64 {
if m != nil {
return m.SourceID
}
return 0
}
func init() {
proto.RegisterEnum("milvus.proto.common.ErrorCode", ErrorCode_name, ErrorCode_value)
proto.RegisterEnum("milvus.proto.common.MsgType", MsgType_name, MsgType_value)
proto.RegisterType((*Empty)(nil), "milvus.proto.common.Empty")
proto.RegisterType((*Status)(nil), "milvus.proto.common.Status")
proto.RegisterType((*KeyValuePair)(nil), "milvus.proto.common.KeyValuePair")
proto.RegisterType((*Blob)(nil), "milvus.proto.common.Blob")
proto.RegisterType((*Address)(nil), "milvus.proto.common.Address")
proto.RegisterType((*MsgBase)(nil), "milvus.proto.common.MsgBase")
}
func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) }
var fileDescriptor_555bd8c177793206 = []byte{
// 595 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x53, 0x51, 0x6f, 0xda, 0x3c,
0x14, 0xfd, 0xa0, 0xb4, 0x7c, 0xdc, 0x52, 0xea, 0xba, 0xb4, 0x65, 0xda, 0x34, 0x55, 0x3c, 0x55,
0x93, 0x0a, 0xd2, 0x26, 0xed, 0x6d, 0xd2, 0x82, 0x7d, 0x69, 0xad, 0x26, 0x31, 0x73, 0x9c, 0xae,
0xdd, 0x8b, 0x05, 0x25, 0x5a, 0xa3, 0x01, 0x41, 0x21, 0x54, 0xa2, 0xbf, 0x6c, 0x3f, 0x69, 0x3f,
0x63, 0x32, 0x21, 0x2b, 0x9a, 0xf6, 0x76, 0xef, 0x39, 0x3e, 0xc7, 0xbe, 0x27, 0xb9, 0x50, 0x7f,
0x48, 0xa6, 0xd3, 0x64, 0xd6,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29, 0x38, 0xba, 0xf8, 0xa2, 0x38, 0xde, 0x52, 0x14, 0x8c,
0x55, 0x34, 0xed, 0x30, 0xbd, 0x50, 0xb8, 0x7c, 0x13, 0x54, 0xfe, 0xd1, 0x4e, 0xe8, 0x11, 0x1c,
0x14, 0xc3, 0xf8, 0xae, 0x08, 0x34, 0x39, 0xa5, 0x67, 0x70, 0x5c, 0x40, 0x1e, 0x6a, 0x25, 0x58,
0x9e, 0xea, 0x99, 0x3d, 0x2b, 0x43, 0x6d, 0x64, 0xdf, 0x78, 0xe8, 0x49, 0x75, 0x4f, 0x5a, 0xb4,
0x09, 0x87, 0x9c, 0x1b, 0x85, 0x5f, 0x42, 0x0c, 0xb4, 0x51, 0x0e, 0x43, 0xf2, 0xab, 0xda, 0xeb,
0x7d, 0xfb, 0xfc, 0x3d, 0xce, 0x1e, 0x97, 0x23, 0xfb, 0xf7, 0x77, 0x9f, 0xe3, 0xc9, 0x24, 0x7e,
0xce, 0xa2, 0x87, 0xc7, 0x6e, 0xbe, 0x19, 0x97, 0xe3, 0x78, 0x91, 0xa5, 0xf1, 0x68, 0x99, 0x45,
0xe3, 0x6e, 0x3c, 0xcb, 0xa2, 0x74, 0x36, 0x9c, 0x74, 0xd7, 0xeb, 0xd2, 0xcd, 0xd7, 0x65, 0x3e,
0x1a, 0xed, 0xad, 0xfb, 0x0f, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb8, 0x48, 0x19, 0x69, 0x99,
0x03, 0x00, 0x00,
// 941 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x54, 0xdd, 0x6e, 0xe3, 0x44,
0x14, 0xde, 0xfc, 0xb4, 0xa9, 0x4f, 0xd3, 0x74, 0x3a, 0xfd, 0x0b, 0x6c, 0x85, 0xaa, 0x5e, 0x55,
0x2b, 0x6d, 0x2b, 0x81, 0x04, 0x57, 0x48, 0xb8, 0xe3, 0x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9, 0x2f, 0xd8, 0xcb, 0xc4, 0x58,
0xaf, 0x0f, 0xf4, 0x7d, 0x15, 0x37, 0xa1, 0x91, 0xd8, 0x33, 0xc9, 0x33, 0x85, 0xbe, 0xae, 0xe5,
0x95, 0xc5, 0x53, 0xae, 0x38, 0xfa, 0xa6, 0x86, 0x77, 0x61, 0x3b, 0xe9, 0xa4, 0x0b, 0x39, 0x41,
0x6f, 0x0b, 0xca, 0xe7, 0x51, 0x36, 0x9c, 0xa0, 0xbf, 0x6b, 0x79, 0xfc, 0xa2, 0x62, 0x5c, 0x2e,
0x52, 0x85, 0xfe, 0xa9, 0xe1, 0x16, 0x18, 0x49, 0x10, 0x4f, 0x79, 0x10, 0x0f, 0x13, 0xf4, 0x83,
0x91, 0xa7, 0x7e, 0xbe, 0xe0, 0xd9, 0xd2, 0x15, 0x23, 0xae, 0x17, 0xad, 0x44, 0x3f, 0x1a, 0x78,
0x1f, 0x20, 0x71, 0x44, 0x34, 0x2a, 0xe2, 0xfd, 0x64, 0xdc, 0xdc, 0x7c, 0xf1, 0xd9, 0x38, 0x56,
0x93, 0xc5, 0x40, 0x2f, 0x9f, 0xeb, 0x37, 0x71, 0x9a, 0xc6, 0x6f, 0x14, 0x1f, 0x4e, 0xae, 0x8b,
0xc5, 0xf4, 0x74, 0x14, 0x4b, 0x95, 0xc5, 0x83, 0x85, 0xe2, 0xa3, 0xeb, 0x78, 0xa6, 0x78, 0x36,
0x8b, 0xd2, 0xeb, 0x7c, 0x5b, 0x5d, 0x17, 0xdb, 0x6a, 0x3e, 0x18, 0x6c, 0xe7, 0xf5, 0x47, 0xff,
0x06, 0x00, 0x00, 0xff, 0xff, 0x73, 0xec, 0xf0, 0xa7, 0xfe, 0x05, 0x00, 0x00,
}

View File

@ -9,7 +9,7 @@ import "internal.proto";
message RegisterNodeRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
common.Address address = 2;
}
@ -47,13 +47,13 @@ message AssignSegIDResponse {
}
message FlushRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 4;
}
message ShowSegmentRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 collectionID = 2;
int64 partitionID = 3;
}
@ -71,7 +71,7 @@ enum SegmentState {
message SegmentStatesRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 segmentID = 2;
}
@ -83,7 +83,7 @@ message SegmentStatesResponse {
message InsertBinlogPathRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 segmentID = 2;
}
@ -94,20 +94,20 @@ message InsertBinlogPathsResponse {
message InsertChannelRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
}
message WatchDmChannelRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
repeated string channelIDs = 2;
}
message FlushSegRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 segmentIDs = 4;

View File

@ -58,11 +58,11 @@ func (SegmentState) EnumDescriptor() ([]byte, []int) {
}
type RegisterNodeRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
@ -90,7 +90,7 @@ func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
func (m *RegisterNodeRequest) GetBase() *internalpb2.MsgBase {
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -388,12 +388,12 @@ func (m *AssignSegIDResponse) GetSegIDAssignments() []*SegIDAssignment {
}
type FlushRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
@ -421,7 +421,7 @@ func (m *FlushRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_FlushRequest proto.InternalMessageInfo
func (m *FlushRequest) GetBase() *internalpb2.MsgBase {
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -443,12 +443,12 @@ func (m *FlushRequest) GetCollectionID() int64 {
}
type ShowSegmentRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
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"`
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowSegmentRequest) Reset() { *m = ShowSegmentRequest{} }
@ -476,7 +476,7 @@ func (m *ShowSegmentRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowSegmentRequest proto.InternalMessageInfo
func (m *ShowSegmentRequest) GetBase() *internalpb2.MsgBase {
func (m *ShowSegmentRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -537,11 +537,11 @@ func (m *ShowSegmentResponse) GetSegmentIDs() []int64 {
}
type SegmentStatesRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SegmentStatesRequest) Reset() { *m = SegmentStatesRequest{} }
@ -569,7 +569,7 @@ func (m *SegmentStatesRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_SegmentStatesRequest proto.InternalMessageInfo
func (m *SegmentStatesRequest) GetBase() *internalpb2.MsgBase {
func (m *SegmentStatesRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -639,11 +639,11 @@ func (m *SegmentStatesResponse) GetSealedTime() uint64 {
}
type InsertBinlogPathRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InsertBinlogPathRequest) Reset() { *m = InsertBinlogPathRequest{} }
@ -671,7 +671,7 @@ func (m *InsertBinlogPathRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InsertBinlogPathRequest proto.InternalMessageInfo
func (m *InsertBinlogPathRequest) GetBase() *internalpb2.MsgBase {
func (m *InsertBinlogPathRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -733,12 +733,12 @@ func (m *InsertBinlogPathsResponse) GetPaths() []*internalpb2.StringList {
}
type InsertChannelRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InsertChannelRequest) Reset() { *m = InsertChannelRequest{} }
@ -766,7 +766,7 @@ func (m *InsertChannelRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InsertChannelRequest proto.InternalMessageInfo
func (m *InsertChannelRequest) GetBase() *internalpb2.MsgBase {
func (m *InsertChannelRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -788,11 +788,11 @@ func (m *InsertChannelRequest) GetCollectionID() int64 {
}
type WatchDmChannelRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WatchDmChannelRequest) Reset() { *m = WatchDmChannelRequest{} }
@ -820,7 +820,7 @@ func (m *WatchDmChannelRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_WatchDmChannelRequest proto.InternalMessageInfo
func (m *WatchDmChannelRequest) GetBase() *internalpb2.MsgBase {
func (m *WatchDmChannelRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -835,13 +835,13 @@ func (m *WatchDmChannelRequest) GetChannelIDs() []string {
}
type FlushSegRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
SegmentIDs []int64 `protobuf:"varint,4,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushSegRequest) Reset() { *m = FlushSegRequest{} }
@ -869,7 +869,7 @@ func (m *FlushSegRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_FlushSegRequest proto.InternalMessageInfo
func (m *FlushSegRequest) GetBase() *internalpb2.MsgBase {
func (m *FlushSegRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1016,73 +1016,73 @@ func init() {
func init() { proto.RegisterFile("data_service.proto", fileDescriptor_3385cd32ad6cfe64) }
var fileDescriptor_3385cd32ad6cfe64 = []byte{
// 1051 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x56, 0x51, 0x6f, 0xdb, 0x36,
0x10, 0x8e, 0x2c, 0x3b, 0x89, 0xcf, 0x4e, 0xe2, 0x30, 0xe9, 0xe6, 0xba, 0x59, 0x92, 0x09, 0x58,
0x13, 0x14, 0x5b, 0x02, 0xa4, 0xe8, 0xf6, 0x36, 0xac, 0x99, 0xbb, 0xc0, 0xc0, 0x16, 0x14, 0xf4,
0x80, 0x01, 0xdd, 0x83, 0x21, 0x5b, 0x57, 0x99, 0xa8, 0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 0x49, 0xb1, 0xf7, 0x75, 0x56, 0xf7, 0x70, 0x67, 0xed, 0xf2,
0x9b, 0x17, 0x5f, 0xfb, 0x4c, 0x8d, 0x27, 0xc3, 0x44, 0x1e, 0xe7, 0xb7, 0x2c, 0x08, 0xd8, 0xad,
0xc2, 0xd1, 0xf8, 0xdc, 0xec, 0xfd, 0xc2, 0x63, 0x52, 0xc5, 0x6c, 0x38, 0x51, 0xe8, 0x9d, 0x4f,
0x3d, 0x9c, 0x6b, 0x87, 0xe7, 0x49, 0xe4, 0x68, 0x38, 0x5c, 0xd7, 0xab, 0xc7, 0xff, 0x05, 0x00,
0x00, 0xff, 0xff, 0x45, 0x70, 0x7b, 0x12, 0xcd, 0x0c, 0x00, 0x00,
// 1047 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x56, 0x41, 0x6f, 0xdb, 0x46,
0x13, 0x35, 0x45, 0xc9, 0xb6, 0x46, 0xb2, 0x2d, 0xaf, 0x9d, 0xef, 0x53, 0x14, 0x37, 0x76, 0x09,
0x34, 0x36, 0x82, 0xd6, 0x2e, 0x1c, 0xa4, 0xbd, 0x15, 0x8d, 0xab, 0xd4, 0x10, 0xd0, 0x1a, 0xc1,
0xaa, 0x40, 0x81, 0xf4, 0x20, 0x50, 0xe4, 0x98, 0x5a, 0x80, 0xdc, 0x65, 0xb9, 0xab, 0xd8, 0xf0,
0xa5, 0x3d, 0xf6, 0x90, 0x43, 0xef, 0xfd, 0x2f, 0xfd, 0x5b, 0xbd, 0x16, 0xdc, 0xa5, 0x68, 0x52,
0xa2, 0xa3, 0xc0, 0x6d, 0x7a, 0xe3, 0x0e, 0xdf, 0xce, 0xcc, 0xbe, 0x7d, 0x33, 0xb3, 0x40, 0x7c,
0x57, 0xb9, 0x23, 0x89, 0xc9, 0x1b, 0xe6, 0xe1, 0x71, 0x9c, 0x08, 0x25, 0xc8, 0x76, 0xc4, 0x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xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xe2,
0x16, 0xff, 0x66, 0xbc, 0x0c, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -9,7 +9,7 @@ import "internal.proto";
message RegisterNodeRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
common.Address address = 2;
}

View File

@ -61,11 +61,11 @@ func (IndexState) EnumDescriptor() ([]byte, []int) {
}
type RegisterNodeRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
@ -93,7 +93,7 @@ func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
func (m *RegisterNodeRequest) GetBase() *internalpb2.MsgBase {
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -643,56 +643,56 @@ func init() {
func init() { proto.RegisterFile("index_service.proto", fileDescriptor_a5d2036b4df73e0a) }
var fileDescriptor_a5d2036b4df73e0a = []byte{
// 783 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xdd, 0x4e, 0xeb, 0x46,
0x10, 0xc6, 0x71, 0x4e, 0x38, 0x19, 0x72, 0xa2, 0xb0, 0x39, 0xaa, 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0xb8, 0x24, 0x7e,
0x0f, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x12, 0x91, 0xac, 0xbb, 0x09, 0x09, 0x00, 0x00,
// 780 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x4e, 0xdb, 0x4a,
0x14, 0x26, 0x71, 0x08, 0xe4, 0x10, 0xa2, 0x30, 0x41, 0x57, 0x28, 0xf7, 0x72, 0x05, 0xbe, 0xba,
0x10, 0x21, 0xd5, 0x41, 0xa1, 0x6a, 0x97, 0x15, 0x21, 0x81, 0x5a, 0x2d, 0x26, 0x72, 0x4a, 0x17,
0x54, 0x55, 0xe4, 0xd8, 0x03, 0x19, 0xd5, 0x3f, 0xc1, 0x33, 0x46, 0x85, 0x4d, 0x17, 0x7d, 0x82,
0x6e, 0xfb, 0x18, 0x5d, 0xf7, 0xe1, 0x2a, 0x8f, 0xc7, 0x89, 0x0d, 0x21, 0x81, 0xfe, 0xec, 0xec,
0x33, 0xdf, 0xf9, 0xfb, 0xbe, 0x73, 0x66, 0xa0, 0x42, 0x5c, 0x0b, 0x7f, 0xec, 0x51, 0xec, 0x5f,
0x11, 0x13, 0x2b, 0x43, 0xdf, 0x63, 0x1e, 0x42, 0x0e, 0xb1, 0xaf, 0x02, 0x1a, 0xfd, 0x29, 0x1c,
0x51, 0x2d, 0x9a, 0x9e, 0xe3, 0x78, 0x6e, 0x64, 0xab, 0x96, 0x88, 0xcb, 0xb0, 0xef, 0x1a, 0x76,
0xf4, 0x2f, 0x7f, 0x82, 0x8a, 0x8e, 0x2f, 0x08, 0x65, 0xd8, 0xd7, 0x3c, 0x0b, 0xeb, 0xf8, 0x32,
0xc0, 0x94, 0xa1, 0x5d, 0xc8, 0xf5, 0x0d, 0x8a, 0xd7, 0x32, 0x1b, 0x99, 0xda, 0x52, 0xe3, 0x1f,
0x25, 0x15, 0x57, 0x04, 0x3c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
0xe0, 0xcd, 0xfd, 0xb3, 0x17, 0x17, 0x84, 0x0d, 0x82, 0x7e, 0x78, 0x52, 0xbf, 0x21, 0xb6, 0x4d,
0x6e, 0x18, 0x36, 0x07, 0xf5, 0xc8, 0xeb, 0x89, 0x45, 0x28, 0xf3, 0x49, 0x3f, 0x60, 0xd8, 0xaa,
0xc7, 0x4f, 0x7c, 0x9d, 0x87, 0xaa, 0xf3, 0x6c, 0xc3, 0x7e, 0x3f, 0xcf, 0x7f, 0xf7, 0x7e, 0x04,
0x00, 0x00, 0xff, 0xff, 0x43, 0x20, 0x69, 0x04, 0x06, 0x09, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -4,44 +4,6 @@ option go_package = "github.com/zilliztech/milvus-distributed/internal/proto/int
import "common.proto";
enum MsgType2 {
kNone = 0;
/* Definition Requests: collection */
kCreateCollection = 100;
kDropCollection = 101;
kHasCollection = 102;
kDescribeCollection = 103;
kShowCollections = 104;
kGetSysConfigs = 105;
/* Definition Requests: partition */
kCreatePartition = 200;
kDropPartition = 201;
kHasPartition = 202;
kDescribePartition = 203;
kShowPartitions = 204;
/* Definition Requests: Index */
kCreateIndex = 300;
kDescribeIndex = 301;
kDescribeIndexProgress = 302;
/* Manipulation Requests */
kInsert = 400;
kDelete = 401;
kFlush = 402;
/* Query */
kSearch = 500;
kSearchResult = 501;
/* System Control */
kTimeTick = 1200;
kQueryNodeStats = 1201;
kLoadIndex = 1202;
}
enum StateCode {
INITIALIZING = 0;
@ -77,14 +39,7 @@ message StringList {
repeated string values = 2;
}
message MsgBase {
MsgType2 msg_type = 1;
int64 msgID = 2;
uint64 timestamp = 3;
int64 sourceID = 4;
}
message TimeTickMsg {
MsgBase base = 1;
common.MsgBase base = 1;
}

View File

@ -6,44 +6,6 @@ import "common.proto";
import "service_msg.proto";
enum MsgType {
kNone = 0;
/* Definition Requests: collection */
kCreateCollection = 100;
kDropCollection = 101;
kHasCollection = 102;
kDescribeCollection = 103;
kShowCollections = 104;
kGetSysConfigs = 105;
/* Definition Requests: partition */
kCreatePartition = 200;
kDropPartition = 201;
kHasPartition = 202;
kDescribePartition = 203;
kShowPartitions = 204;
/* Definition Requests: Index */
kCreateIndex = 300;
kDescribeIndex = 301;
kDescribeIndexProgress = 302;
/* Manipulation Requests */
kInsert = 400;
kDelete = 401;
kFlush = 402;
/* Query */
kSearch = 500;
kSearchResult = 501;
/* System Control */
kTimeTick = 1200;
kQueryNodeStats = 1201;
kLoadIndex = 1202;
}
enum PeerRole {
Master = 0;
@ -108,7 +70,7 @@ message AssignSegIDResponse {
}
message CreateCollectionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 collectionID = 2;
int64 reqID = 3;
uint64 timestamp = 4;
@ -118,7 +80,7 @@ message CreateCollectionRequest {
message DropCollectionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 collectionID = 2;
int64 reqID = 3;
uint64 timestamp = 4;
@ -128,7 +90,7 @@ message DropCollectionRequest {
message HasCollectionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -137,7 +99,7 @@ message HasCollectionRequest {
message DescribeCollectionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -146,7 +108,7 @@ message DescribeCollectionRequest {
message ShowCollectionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -154,7 +116,7 @@ message ShowCollectionRequest {
message CreatePartitionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 collectionID = 2;
int64 partitionID = 3;
int64 reqID = 4;
@ -165,7 +127,7 @@ message CreatePartitionRequest {
message DropPartitionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 collectionID = 2;
int64 partitionID = 3;
int64 reqID = 4;
@ -176,7 +138,7 @@ message DropPartitionRequest {
message HasPartitionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -185,7 +147,7 @@ message HasPartitionRequest {
message DescribePartitionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -194,7 +156,7 @@ message DescribePartitionRequest {
message ShowPartitionRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -203,7 +165,7 @@ message ShowPartitionRequest {
message InsertRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
string collection_name = 3;
string partition_tag = 4;
@ -217,7 +179,7 @@ message InsertRequest {
message DeleteRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
string collection_name = 3;
int64 channelID = 4;
@ -228,7 +190,7 @@ message DeleteRequest {
message SearchRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
int64 proxyID = 3;
uint64 timestamp = 4;
@ -241,7 +203,7 @@ message SearchRequest {
* @brief Request of DescribePartition
*/
message SysConfigRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
int64 proxyID = 3;
uint64 timestamp = 4;
@ -251,7 +213,7 @@ message SysConfigRequest {
message SearchResult {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
common.Status status = 2;
int64 reqID = 3;
int64 proxyID = 4;
@ -263,13 +225,13 @@ message SearchResult {
}
message TimeTickMsg {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 peerID = 2;
uint64 timestamp = 3;
}
message FlushMsg {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 segmentID = 2;
uint64 timestamp = 3;
int64 collectionID = 4;
@ -292,7 +254,7 @@ message Key2SegMsg {
}
message LoadIndex {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 segmentID = 2;
string fieldName = 3;
int64 fieldID = 4;
@ -319,14 +281,14 @@ message SegmentStats {
}
message QueryNodeStats {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 peerID = 2;
repeated SegmentStats seg_stats = 3;
repeated FieldStats field_stats = 4;
}
message CreateIndexRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -336,7 +298,7 @@ message CreateIndexRequest {
}
message DescribeIndexRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;
@ -345,7 +307,7 @@ message DescribeIndexRequest {
}
message DescribeIndexProgressRequest {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
int64 reqID = 2;
uint64 timestamp = 3;
int64 proxyID = 4;

View File

@ -22,100 +22,6 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type MsgType int32
const (
MsgType_kNone MsgType = 0
// Definition Requests: collection
MsgType_kCreateCollection MsgType = 100
MsgType_kDropCollection MsgType = 101
MsgType_kHasCollection MsgType = 102
MsgType_kDescribeCollection MsgType = 103
MsgType_kShowCollections MsgType = 104
MsgType_kGetSysConfigs MsgType = 105
// Definition Requests: partition
MsgType_kCreatePartition MsgType = 200
MsgType_kDropPartition MsgType = 201
MsgType_kHasPartition MsgType = 202
MsgType_kDescribePartition MsgType = 203
MsgType_kShowPartitions MsgType = 204
// Definition Requests: Index
MsgType_kCreateIndex MsgType = 300
MsgType_kDescribeIndex MsgType = 301
MsgType_kDescribeIndexProgress MsgType = 302
// Manipulation Requests
MsgType_kInsert MsgType = 400
MsgType_kDelete MsgType = 401
MsgType_kFlush MsgType = 402
// Query
MsgType_kSearch MsgType = 500
MsgType_kSearchResult MsgType = 501
// System Control
MsgType_kTimeTick MsgType = 1200
MsgType_kQueryNodeStats MsgType = 1201
MsgType_kLoadIndex MsgType = 1202
)
var MsgType_name = map[int32]string{
0: "kNone",
100: "kCreateCollection",
101: "kDropCollection",
102: "kHasCollection",
103: "kDescribeCollection",
104: "kShowCollections",
105: "kGetSysConfigs",
200: "kCreatePartition",
201: "kDropPartition",
202: "kHasPartition",
203: "kDescribePartition",
204: "kShowPartitions",
300: "kCreateIndex",
301: "kDescribeIndex",
302: "kDescribeIndexProgress",
400: "kInsert",
401: "kDelete",
402: "kFlush",
500: "kSearch",
501: "kSearchResult",
1200: "kTimeTick",
1201: "kQueryNodeStats",
1202: "kLoadIndex",
}
var MsgType_value = map[string]int32{
"kNone": 0,
"kCreateCollection": 100,
"kDropCollection": 101,
"kHasCollection": 102,
"kDescribeCollection": 103,
"kShowCollections": 104,
"kGetSysConfigs": 105,
"kCreatePartition": 200,
"kDropPartition": 201,
"kHasPartition": 202,
"kDescribePartition": 203,
"kShowPartitions": 204,
"kCreateIndex": 300,
"kDescribeIndex": 301,
"kDescribeIndexProgress": 302,
"kInsert": 400,
"kDelete": 401,
"kFlush": 402,
"kSearch": 500,
"kSearchResult": 501,
"kTimeTick": 1200,
"kQueryNodeStats": 1201,
"kLoadIndex": 1202,
}
func (x MsgType) String() string {
return proto.EnumName(MsgType_name, int32(x))
}
func (MsgType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_7eb37f6b80b23116, []int{0}
}
type PeerRole int32
const (
@ -144,7 +50,7 @@ func (x PeerRole) String() string {
}
func (PeerRole) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_7eb37f6b80b23116, []int{1}
return fileDescriptor_7eb37f6b80b23116, []int{0}
}
type IDRequest struct {
@ -612,15 +518,15 @@ func (m *AssignSegIDResponse) GetPerChannelAssignment() []*SegIDAssignment {
}
type CreateCollectionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
ReqID int64 `protobuf:"varint,3,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,5,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Schema *commonpb.Blob `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
ReqID int64 `protobuf:"varint,3,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,5,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Schema *commonpb.Blob `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateCollectionRequest) Reset() { *m = CreateCollectionRequest{} }
@ -648,11 +554,11 @@ func (m *CreateCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo
func (m *CreateCollectionRequest) GetMsgType() MsgType {
func (m *CreateCollectionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *CreateCollectionRequest) GetCollectionID() int64 {
@ -691,7 +597,7 @@ func (m *CreateCollectionRequest) GetSchema() *commonpb.Blob {
}
type DropCollectionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
ReqID int64 `protobuf:"varint,3,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
@ -727,11 +633,11 @@ func (m *DropCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo
func (m *DropCollectionRequest) GetMsgType() MsgType {
func (m *DropCollectionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DropCollectionRequest) GetCollectionID() int64 {
@ -770,7 +676,7 @@ func (m *DropCollectionRequest) GetCollectionName() *servicepb.CollectionName {
}
type HasCollectionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -805,11 +711,11 @@ func (m *HasCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo
func (m *HasCollectionRequest) GetMsgType() MsgType {
func (m *HasCollectionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *HasCollectionRequest) GetReqID() int64 {
@ -841,7 +747,7 @@ func (m *HasCollectionRequest) GetCollectionName() *servicepb.CollectionName {
}
type DescribeCollectionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -876,11 +782,11 @@ func (m *DescribeCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribeCollectionRequest proto.InternalMessageInfo
func (m *DescribeCollectionRequest) GetMsgType() MsgType {
func (m *DescribeCollectionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DescribeCollectionRequest) GetReqID() int64 {
@ -912,13 +818,13 @@ func (m *DescribeCollectionRequest) GetCollectionName() *servicepb.CollectionNam
}
type ShowCollectionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowCollectionRequest) Reset() { *m = ShowCollectionRequest{} }
@ -946,11 +852,11 @@ func (m *ShowCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowCollectionRequest proto.InternalMessageInfo
func (m *ShowCollectionRequest) GetMsgType() MsgType {
func (m *ShowCollectionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *ShowCollectionRequest) GetReqID() int64 {
@ -975,7 +881,7 @@ func (m *ShowCollectionRequest) GetProxyID() int64 {
}
type CreatePartitionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
ReqID int64 `protobuf:"varint,4,opt,name=reqID,proto3" json:"reqID,omitempty"`
@ -1012,11 +918,11 @@ func (m *CreatePartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreatePartitionRequest proto.InternalMessageInfo
func (m *CreatePartitionRequest) GetMsgType() MsgType {
func (m *CreatePartitionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *CreatePartitionRequest) GetCollectionID() int64 {
@ -1062,7 +968,7 @@ func (m *CreatePartitionRequest) GetPartitionName() *servicepb.PartitionName {
}
type DropPartitionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionID int64 `protobuf:"varint,3,opt,name=partitionID,proto3" json:"partitionID,omitempty"`
ReqID int64 `protobuf:"varint,4,opt,name=reqID,proto3" json:"reqID,omitempty"`
@ -1099,11 +1005,11 @@ func (m *DropPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DropPartitionRequest proto.InternalMessageInfo
func (m *DropPartitionRequest) GetMsgType() MsgType {
func (m *DropPartitionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DropPartitionRequest) GetCollectionID() int64 {
@ -1149,7 +1055,7 @@ func (m *DropPartitionRequest) GetPartitionName() *servicepb.PartitionName {
}
type HasPartitionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -1184,11 +1090,11 @@ func (m *HasPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_HasPartitionRequest proto.InternalMessageInfo
func (m *HasPartitionRequest) GetMsgType() MsgType {
func (m *HasPartitionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *HasPartitionRequest) GetReqID() int64 {
@ -1220,7 +1126,7 @@ func (m *HasPartitionRequest) GetPartitionName() *servicepb.PartitionName {
}
type DescribePartitionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -1255,11 +1161,11 @@ func (m *DescribePartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribePartitionRequest proto.InternalMessageInfo
func (m *DescribePartitionRequest) GetMsgType() MsgType {
func (m *DescribePartitionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DescribePartitionRequest) GetReqID() int64 {
@ -1291,7 +1197,7 @@ func (m *DescribePartitionRequest) GetPartitionName() *servicepb.PartitionName {
}
type ShowPartitionRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -1326,11 +1232,11 @@ func (m *ShowPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowPartitionRequest proto.InternalMessageInfo
func (m *ShowPartitionRequest) GetMsgType() MsgType {
func (m *ShowPartitionRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *ShowPartitionRequest) GetReqID() int64 {
@ -1362,7 +1268,7 @@ func (m *ShowPartitionRequest) GetCollectionName() *servicepb.CollectionName {
}
type InsertRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionTag string `protobuf:"bytes,4,opt,name=partition_tag,json=partitionTag,proto3" json:"partition_tag,omitempty"`
@ -1402,11 +1308,11 @@ func (m *InsertRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InsertRequest proto.InternalMessageInfo
func (m *InsertRequest) GetMsgType() MsgType {
func (m *InsertRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *InsertRequest) GetReqID() int64 {
@ -1473,16 +1379,16 @@ func (m *InsertRequest) GetRowData() []*commonpb.Blob {
}
type DeleteRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
ChannelID int64 `protobuf:"varint,4,opt,name=channelID,proto3" json:"channelID,omitempty"`
ProxyID int64 `protobuf:"varint,5,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamps []uint64 `protobuf:"varint,6,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
PrimaryKeys []int64 `protobuf:"varint,7,rep,packed,name=primary_keys,json=primaryKeys,proto3" json:"primary_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
ChannelID int64 `protobuf:"varint,4,opt,name=channelID,proto3" json:"channelID,omitempty"`
ProxyID int64 `protobuf:"varint,5,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamps []uint64 `protobuf:"varint,6,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"`
PrimaryKeys []int64 `protobuf:"varint,7,rep,packed,name=primary_keys,json=primaryKeys,proto3" json:"primary_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteRequest) Reset() { *m = DeleteRequest{} }
@ -1510,11 +1416,11 @@ func (m *DeleteRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DeleteRequest proto.InternalMessageInfo
func (m *DeleteRequest) GetMsgType() MsgType {
func (m *DeleteRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DeleteRequest) GetReqID() int64 {
@ -1560,15 +1466,15 @@ func (m *DeleteRequest) GetPrimaryKeys() []int64 {
}
type SearchRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
ProxyID int64 `protobuf:"varint,3,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ResultChannelID int64 `protobuf:"varint,5,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
Query *commonpb.Blob `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
ProxyID int64 `protobuf:"varint,3,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ResultChannelID int64 `protobuf:"varint,5,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
Query *commonpb.Blob `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SearchRequest) Reset() { *m = SearchRequest{} }
@ -1596,11 +1502,11 @@ func (m *SearchRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_SearchRequest proto.InternalMessageInfo
func (m *SearchRequest) GetMsgType() MsgType {
func (m *SearchRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *SearchRequest) GetReqID() int64 {
@ -1641,15 +1547,15 @@ func (m *SearchRequest) GetQuery() *commonpb.Blob {
//*
// @brief Request of DescribePartition
type SysConfigRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
ProxyID int64 `protobuf:"varint,3,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Keys []string `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"`
KeyPrefixes []string `protobuf:"bytes,6,rep,name=key_prefixes,json=keyPrefixes,proto3" json:"key_prefixes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
ProxyID int64 `protobuf:"varint,3,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Keys []string `protobuf:"bytes,5,rep,name=keys,proto3" json:"keys,omitempty"`
KeyPrefixes []string `protobuf:"bytes,6,rep,name=key_prefixes,json=keyPrefixes,proto3" json:"key_prefixes,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SysConfigRequest) Reset() { *m = SysConfigRequest{} }
@ -1677,11 +1583,11 @@ func (m *SysConfigRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_SysConfigRequest proto.InternalMessageInfo
func (m *SysConfigRequest) GetMsgType() MsgType {
func (m *SysConfigRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *SysConfigRequest) GetReqID() int64 {
@ -1720,7 +1626,7 @@ func (m *SysConfigRequest) GetKeyPrefixes() []string {
}
type SearchResult struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
Status *commonpb.Status `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
ReqID int64 `protobuf:"varint,3,opt,name=reqID,proto3" json:"reqID,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -1759,11 +1665,11 @@ func (m *SearchResult) XXX_DiscardUnknown() {
var xxx_messageInfo_SearchResult proto.InternalMessageInfo
func (m *SearchResult) GetMsgType() MsgType {
func (m *SearchResult) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *SearchResult) GetStatus() *commonpb.Status {
@ -1823,12 +1729,12 @@ func (m *SearchResult) GetMetricType() string {
}
type TimeTickMsg struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
PeerID int64 `protobuf:"varint,2,opt,name=peerID,proto3" json:"peerID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
PeerID int64 `protobuf:"varint,2,opt,name=peerID,proto3" json:"peerID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TimeTickMsg) Reset() { *m = TimeTickMsg{} }
@ -1856,11 +1762,11 @@ func (m *TimeTickMsg) XXX_DiscardUnknown() {
var xxx_messageInfo_TimeTickMsg proto.InternalMessageInfo
func (m *TimeTickMsg) GetMsgType() MsgType {
func (m *TimeTickMsg) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *TimeTickMsg) GetPeerID() int64 {
@ -1878,14 +1784,14 @@ func (m *TimeTickMsg) GetTimestamp() uint64 {
}
type FlushMsg struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionTag string `protobuf:"bytes,5,opt,name=partitionTag,proto3" json:"partitionTag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
CollectionID int64 `protobuf:"varint,4,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionTag string `protobuf:"bytes,5,opt,name=partitionTag,proto3" json:"partitionTag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushMsg) Reset() { *m = FlushMsg{} }
@ -1913,11 +1819,11 @@ func (m *FlushMsg) XXX_DiscardUnknown() {
var xxx_messageInfo_FlushMsg proto.InternalMessageInfo
func (m *FlushMsg) GetMsgType() MsgType {
func (m *FlushMsg) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *FlushMsg) GetSegmentID() int64 {
@ -2067,7 +1973,7 @@ func (m *Key2SegMsg) GetKey2Seg() []*Key2Seg {
}
type LoadIndex struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
SegmentID int64 `protobuf:"varint,2,opt,name=segmentID,proto3" json:"segmentID,omitempty"`
FieldName string `protobuf:"bytes,3,opt,name=fieldName,proto3" json:"fieldName,omitempty"`
FieldID int64 `protobuf:"varint,4,opt,name=fieldID,proto3" json:"fieldID,omitempty"`
@ -2103,11 +2009,11 @@ func (m *LoadIndex) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadIndex proto.InternalMessageInfo
func (m *LoadIndex) GetMsgType() MsgType {
func (m *LoadIndex) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *LoadIndex) GetSegmentID() int64 {
@ -2311,13 +2217,13 @@ func (m *SegmentStats) GetRecentlyModified() bool {
}
type QueryNodeStats struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
PeerID int64 `protobuf:"varint,2,opt,name=peerID,proto3" json:"peerID,omitempty"`
SegStats []*SegmentStats `protobuf:"bytes,3,rep,name=seg_stats,json=segStats,proto3" json:"seg_stats,omitempty"`
FieldStats []*FieldStats `protobuf:"bytes,4,rep,name=field_stats,json=fieldStats,proto3" json:"field_stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
PeerID int64 `protobuf:"varint,2,opt,name=peerID,proto3" json:"peerID,omitempty"`
SegStats []*SegmentStats `protobuf:"bytes,3,rep,name=seg_stats,json=segStats,proto3" json:"seg_stats,omitempty"`
FieldStats []*FieldStats `protobuf:"bytes,4,rep,name=field_stats,json=fieldStats,proto3" json:"field_stats,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *QueryNodeStats) Reset() { *m = QueryNodeStats{} }
@ -2345,11 +2251,11 @@ func (m *QueryNodeStats) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryNodeStats proto.InternalMessageInfo
func (m *QueryNodeStats) GetMsgType() MsgType {
func (m *QueryNodeStats) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *QueryNodeStats) GetPeerID() int64 {
@ -2374,7 +2280,7 @@ func (m *QueryNodeStats) GetFieldStats() []*FieldStats {
}
type CreateIndexRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
@ -2411,11 +2317,11 @@ func (m *CreateIndexRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo
func (m *CreateIndexRequest) GetMsgType() MsgType {
func (m *CreateIndexRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *CreateIndexRequest) GetReqID() int64 {
@ -2461,15 +2367,15 @@ func (m *CreateIndexRequest) GetExtraParams() []*commonpb.KeyValuePair {
}
type DescribeIndexRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} }
@ -2497,11 +2403,11 @@ func (m *DescribeIndexRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo
func (m *DescribeIndexRequest) GetMsgType() MsgType {
func (m *DescribeIndexRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DescribeIndexRequest) GetReqID() int64 {
@ -2540,15 +2446,15 @@ func (m *DescribeIndexRequest) GetFieldName() string {
}
type DescribeIndexProgressRequest struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
ReqID int64 `protobuf:"varint,2,opt,name=reqID,proto3" json:"reqID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
ProxyID int64 `protobuf:"varint,4,opt,name=proxyID,proto3" json:"proxyID,omitempty"`
CollectionName string `protobuf:"bytes,5,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,6,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexProgressRequest) Reset() { *m = DescribeIndexProgressRequest{} }
@ -2576,11 +2482,11 @@ func (m *DescribeIndexProgressRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribeIndexProgressRequest proto.InternalMessageInfo
func (m *DescribeIndexProgressRequest) GetMsgType() MsgType {
func (m *DescribeIndexProgressRequest) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *DescribeIndexProgressRequest) GetReqID() int64 {
@ -2619,7 +2525,6 @@ func (m *DescribeIndexProgressRequest) GetFieldName() string {
}
func init() {
proto.RegisterEnum("milvus.proto.internal.MsgType", MsgType_name, MsgType_value)
proto.RegisterEnum("milvus.proto.internal.PeerRole", PeerRole_name, PeerRole_value)
proto.RegisterType((*IDRequest)(nil), "milvus.proto.internal.IDRequest")
proto.RegisterType((*IDResponse)(nil), "milvus.proto.internal.IDResponse")
@ -2661,122 +2566,109 @@ func init() {
func init() { proto.RegisterFile("internal_msg.proto", fileDescriptor_7eb37f6b80b23116) }
var fileDescriptor_7eb37f6b80b23116 = []byte{
// 1863 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcd, 0x6f, 0x23, 0x49,
0x15, 0xdf, 0xee, 0xf6, 0x47, 0xfc, 0xec, 0x38, 0x3d, 0x95, 0x64, 0xc6, 0xb3, 0xb3, 0xec, 0x64,
0x7a, 0x10, 0x1b, 0x16, 0x91, 0x40, 0x86, 0x03, 0x7b, 0x83, 0xc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34, 0xa0, 0xea, 0xa9, 0x97, 0xbd, 0xf9, 0x43, 0x43, 0xce,
0xd4, 0x93, 0xd3, 0xfc, 0x91, 0x41, 0xea, 0x50, 0xf1, 0x64, 0x6d, 0x67, 0xfe, 0x58, 0xfd, 0xa4,
0x4a, 0x77, 0xf3, 0x43, 0x43, 0xaa, 0x3f, 0x59, 0xc8, 0x9b, 0xff, 0x36, 0x48, 0x13, 0x6a, 0x5e,
0x5a, 0x8b, 0x9a, 0xbf, 0xae, 0x49, 0xad, 0x8b, 0xf4, 0x6c, 0xbe, 0x57, 0x23, 0x4b, 0x00, 0x5e,
0x56, 0x6a, 0x98, 0xbf, 0xa9, 0xbd, 0xfe, 0x06, 0x2c, 0xa4, 0xff, 0xfd, 0x11, 0x80, 0xca, 0xae,
0xcb, 0x63, 0x64, 0xe6, 0x4b, 0x62, 0x6c, 0xa3, 0xdb, 0x43, 0x66, 0x6a, 0x62, 0xfc, 0x1d, 0x46,
0x85, 0x5c, 0x17, 0x3e, 0xdf, 0x13, 0x21, 0x65, 0x1a, 0xdb, 0xed, 0xef, 0x6e, 0xf7, 0x69, 0x3c,
0x18, 0x1d, 0x0a, 0x46, 0xd8, 0x7c, 0x42, 0x7d, 0x9f, 0x3e, 0x89, 0xb1, 0x3b, 0xd8, 0x54, 0x01,
0xfe, 0xc5, 0x1e, 0xe5, 0x31, 0xa3, 0x87, 0xa3, 0x18, 0x7b, 0x9b, 0x69, 0x98, 0x6f, 0xca, 0xa8,
0xcf, 0xa6, 0xc3, 0xc3, 0xc3, 0x8a, 0x94, 0x3c, 0xf8, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x5e,
0x2c, 0xaf, 0x21, 0x6c, 0x1f, 0x00, 0x00,
// 1650 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x59, 0xcb, 0x6f, 0x1b, 0xc7,
0x19, 0xef, 0x2e, 0xdf, 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 0x5d, 0x2e, 0xee, 0x8f, 0xbf, 0x5c, 0x9c, 0x3c, 0x39,
0xfe, 0x06, 0x24, 0xa8, 0xf4, 0xd1, 0x30, 0x53, 0x00, 0x5a, 0x50, 0xc3, 0xc3, 0x90, 0x5a, 0x71,
0xc2, 0x95, 0xce, 0x9c, 0x70, 0xe2, 0xb3, 0x28, 0x8b, 0x3f, 0x57, 0x60, 0x21, 0xbe, 0x7a, 0xbe,
0xc2, 0x6c, 0xf1, 0x2b, 0xf6, 0xed, 0x0c, 0xce, 0x4d, 0xea, 0xdb, 0x14, 0x19, 0x7b, 0x35, 0xf1,
0xfe, 0xe1, 0x1f, 0x50, 0x8e, 0xff, 0xff, 0xd1, 0x00, 0x8a, 0x1b, 0x16, 0x0b, 0x91, 0xce, 0xff,
0x8a, 0xb7, 0x0d, 0xb4, 0x7a, 0x48, 0xe7, 0x15, 0xde, 0xfe, 0x1f, 0x25, 0xdc, 0xae, 0x6a, 0x15,
0x28, 0x6c, 0x72, 0x17, 0xe6, 0x73, 0xab, 0xad, 0xff, 0xaf, 0xda, 0x24, 0xec, 0x0f, 0xb6, 0x39,
0xe4, 0x95, 0x23, 0xe2, 0x38, 0xe4, 0x28, 0xc4, 0x6e, 0x7f, 0x45, 0xd2, 0xf1, 0xa7, 0x1e, 0x61,
0x21, 0x25, 0xdb, 0x83, 0x10, 0x7b, 0x2b, 0x71, 0x2a, 0xae, 0x08, 0x8e, 0x92, 0x6e, 0xb0, 0xbd,
0x5d, 0x14, 0x96, 0x07, 0x3f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xef, 0xbf, 0xe1, 0x4f, 0x70, 0x1d,
0x00, 0x00,
}

View File

@ -7,6 +7,7 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
math "math"
)
@ -22,11 +23,11 @@ var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type MsgHeader struct {
MsgType MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType" json:"msg_type,omitempty"`
Message *any.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
MsgType commonpb.MsgType `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.common.MsgType" json:"msg_type,omitempty"`
Message *any.Any `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MsgHeader) Reset() { *m = MsgHeader{} }
@ -54,11 +55,11 @@ func (m *MsgHeader) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgHeader proto.InternalMessageInfo
func (m *MsgHeader) GetMsgType() MsgType {
func (m *MsgHeader) GetMsgType() commonpb.MsgType {
if m != nil {
return m.MsgType
}
return MsgType_kNone
return commonpb.MsgType_kNone
}
func (m *MsgHeader) GetMessage() *any.Any {
@ -75,19 +76,19 @@ func init() {
func init() { proto.RegisterFile("msg_header.proto", fileDescriptor_4712536c36da8833) }
var fileDescriptor_4712536c36da8833 = []byte{
// 222 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x8f, 0x31, 0x4b, 0xc4, 0x40,
0x10, 0x85, 0xc9, 0x15, 0x9e, 0x46, 0x10, 0x09, 0x0a, 0xe7, 0x15, 0x72, 0x58, 0xa5, 0x71, 0x16,
0x62, 0x65, 0x69, 0xb0, 0xb0, 0xb9, 0xe6, 0xb0, 0xb2, 0x39, 0xb2, 0x97, 0x71, 0xb2, 0xb0, 0x9b,
0x0d, 0x3b, 0xbb, 0xc2, 0xe6, 0xd7, 0x8b, 0x59, 0xd6, 0xea, 0xba, 0xf7, 0xcd, 0x1b, 0xe6, 0x63,
0xca, 0x5b, 0xc3, 0x74, 0x1c, 0xb0, 0xeb, 0xd1, 0xc1, 0xe4, 0xac, 0xb7, 0xd5, 0xbd, 0x51, 0xfa,
0x27, 0x70, 0x22, 0x50, 0xa3, 0x47, 0x37, 0x76, 0x7a, 0x5b, 0xe5, 0x74, 0x34, 0x4c, 0xa9, 0xdc,
0x3e, 0x90, 0xb5, 0xa4, 0x51, 0x2c, 0x24, 0xc3, 0xb7, 0xe8, 0xc6, 0x98, 0xaa, 0xa7, 0xb9, 0xbc,
0xda, 0x33, 0x7d, 0x2c, 0x87, 0xab, 0xd7, 0xf2, 0xf2, 0x4f, 0xe3, 0xe3, 0x84, 0x9b, 0x62, 0x57,
0xd4, 0x37, 0xcd, 0x23, 0x9c, 0xb5, 0xc0, 0x9e, 0xe9, 0x33, 0x4e, 0x78, 0x58, 0x9b, 0x14, 0xaa,
0xa6, 0x5c, 0x1b, 0x64, 0xee, 0x08, 0x37, 0xab, 0x5d, 0x51, 0x5f, 0x37, 0x77, 0x90, 0xa4, 0x90,
0xa5, 0xf0, 0x36, 0xc6, 0x76, 0x55, 0x17, 0x87, 0xbc, 0xd8, 0xbe, 0x7f, 0xb5, 0xa4, 0xfc, 0x10,
0x24, 0x9c, 0xac, 0x11, 0xb3, 0xd2, 0x5a, 0xcd, 0x1e, 0x4f, 0x83, 0x48, 0xce, 0xe7, 0x5e, 0xb1,
0x77, 0x4a, 0x06, 0x8f, 0xbd, 0xc8, 0xe6, 0xf4, 0xc3, 0x3f, 0x4e, 0x52, 0x5e, 0x2c, 0x93, 0x97,
0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x01, 0x87, 0xfd, 0x10, 0x22, 0x01, 0x00, 0x00,
// 221 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x54, 0x8f, 0xbd, 0x4b, 0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x2a, 0x0b, 0xfe, 0xa2, 0xe3, 0xfc, 0x64, 0x69, 0x1e, 0x7f,
0x02, 0x00, 0x00, 0xff, 0xff, 0x39, 0x42, 0x97, 0x88, 0x1a, 0x01, 0x00, 0x00,
}

View File

@ -21,100 +21,6 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type MsgType2 int32
const (
MsgType2_kNone MsgType2 = 0
// Definition Requests: collection
MsgType2_kCreateCollection MsgType2 = 100
MsgType2_kDropCollection MsgType2 = 101
MsgType2_kHasCollection MsgType2 = 102
MsgType2_kDescribeCollection MsgType2 = 103
MsgType2_kShowCollections MsgType2 = 104
MsgType2_kGetSysConfigs MsgType2 = 105
// Definition Requests: partition
MsgType2_kCreatePartition MsgType2 = 200
MsgType2_kDropPartition MsgType2 = 201
MsgType2_kHasPartition MsgType2 = 202
MsgType2_kDescribePartition MsgType2 = 203
MsgType2_kShowPartitions MsgType2 = 204
// Definition Requests: Index
MsgType2_kCreateIndex MsgType2 = 300
MsgType2_kDescribeIndex MsgType2 = 301
MsgType2_kDescribeIndexProgress MsgType2 = 302
// Manipulation Requests
MsgType2_kInsert MsgType2 = 400
MsgType2_kDelete MsgType2 = 401
MsgType2_kFlush MsgType2 = 402
// Query
MsgType2_kSearch MsgType2 = 500
MsgType2_kSearchResult MsgType2 = 501
// System Control
MsgType2_kTimeTick MsgType2 = 1200
MsgType2_kQueryNodeStats MsgType2 = 1201
MsgType2_kLoadIndex MsgType2 = 1202
)
var MsgType2_name = map[int32]string{
0: "kNone",
100: "kCreateCollection",
101: "kDropCollection",
102: "kHasCollection",
103: "kDescribeCollection",
104: "kShowCollections",
105: "kGetSysConfigs",
200: "kCreatePartition",
201: "kDropPartition",
202: "kHasPartition",
203: "kDescribePartition",
204: "kShowPartitions",
300: "kCreateIndex",
301: "kDescribeIndex",
302: "kDescribeIndexProgress",
400: "kInsert",
401: "kDelete",
402: "kFlush",
500: "kSearch",
501: "kSearchResult",
1200: "kTimeTick",
1201: "kQueryNodeStats",
1202: "kLoadIndex",
}
var MsgType2_value = map[string]int32{
"kNone": 0,
"kCreateCollection": 100,
"kDropCollection": 101,
"kHasCollection": 102,
"kDescribeCollection": 103,
"kShowCollections": 104,
"kGetSysConfigs": 105,
"kCreatePartition": 200,
"kDropPartition": 201,
"kHasPartition": 202,
"kDescribePartition": 203,
"kShowPartitions": 204,
"kCreateIndex": 300,
"kDescribeIndex": 301,
"kDescribeIndexProgress": 302,
"kInsert": 400,
"kDelete": 401,
"kFlush": 402,
"kSearch": 500,
"kSearchResult": 501,
"kTimeTick": 1200,
"kQueryNodeStats": 1201,
"kLoadIndex": 1202,
}
func (x MsgType2) String() string {
return proto.EnumName(MsgType2_name, int32(x))
}
func (MsgType2) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
type StateCode int32
const (
@ -140,7 +46,7 @@ func (x StateCode) String() string {
}
func (StateCode) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{1}
return fileDescriptor_41f4a519b878ee3b, []int{0}
}
type NodeStates struct {
@ -394,81 +300,18 @@ func (m *StringList) GetValues() []string {
return nil
}
type MsgBase struct {
MsgType MsgType2 `protobuf:"varint,1,opt,name=msg_type,json=msgType,proto3,enum=milvus.proto.internal.MsgType2" json:"msg_type,omitempty"`
MsgID int64 `protobuf:"varint,2,opt,name=msgID,proto3" json:"msgID,omitempty"`
Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
SourceID int64 `protobuf:"varint,4,opt,name=sourceID,proto3" json:"sourceID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *MsgBase) Reset() { *m = MsgBase{} }
func (m *MsgBase) String() string { return proto.CompactTextString(m) }
func (*MsgBase) ProtoMessage() {}
func (*MsgBase) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{5}
}
func (m *MsgBase) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_MsgBase.Unmarshal(m, b)
}
func (m *MsgBase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_MsgBase.Marshal(b, m, deterministic)
}
func (m *MsgBase) XXX_Merge(src proto.Message) {
xxx_messageInfo_MsgBase.Merge(m, src)
}
func (m *MsgBase) XXX_Size() int {
return xxx_messageInfo_MsgBase.Size(m)
}
func (m *MsgBase) XXX_DiscardUnknown() {
xxx_messageInfo_MsgBase.DiscardUnknown(m)
}
var xxx_messageInfo_MsgBase proto.InternalMessageInfo
func (m *MsgBase) GetMsgType() MsgType2 {
if m != nil {
return m.MsgType
}
return MsgType2_kNone
}
func (m *MsgBase) GetMsgID() int64 {
if m != nil {
return m.MsgID
}
return 0
}
func (m *MsgBase) GetTimestamp() uint64 {
if m != nil {
return m.Timestamp
}
return 0
}
func (m *MsgBase) GetSourceID() int64 {
if m != nil {
return m.SourceID
}
return 0
}
type TimeTickMsg struct {
Base *MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TimeTickMsg) Reset() { *m = TimeTickMsg{} }
func (m *TimeTickMsg) String() string { return proto.CompactTextString(m) }
func (*TimeTickMsg) ProtoMessage() {}
func (*TimeTickMsg) Descriptor() ([]byte, []int) {
return fileDescriptor_41f4a519b878ee3b, []int{6}
return fileDescriptor_41f4a519b878ee3b, []int{5}
}
func (m *TimeTickMsg) XXX_Unmarshal(b []byte) error {
@ -489,7 +332,7 @@ func (m *TimeTickMsg) XXX_DiscardUnknown() {
var xxx_messageInfo_TimeTickMsg proto.InternalMessageInfo
func (m *TimeTickMsg) GetBase() *MsgBase {
func (m *TimeTickMsg) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -497,69 +340,46 @@ func (m *TimeTickMsg) GetBase() *MsgBase {
}
func init() {
proto.RegisterEnum("milvus.proto.internal.MsgType2", MsgType2_name, MsgType2_value)
proto.RegisterEnum("milvus.proto.internal.StateCode", StateCode_name, StateCode_value)
proto.RegisterType((*NodeStates)(nil), "milvus.proto.internal.NodeStates")
proto.RegisterType((*ServiceStates)(nil), "milvus.proto.internal.ServiceStates")
proto.RegisterType((*NodeInfo)(nil), "milvus.proto.internal.NodeInfo")
proto.RegisterType((*InitParams)(nil), "milvus.proto.internal.InitParams")
proto.RegisterType((*StringList)(nil), "milvus.proto.internal.StringList")
proto.RegisterType((*MsgBase)(nil), "milvus.proto.internal.MsgBase")
proto.RegisterType((*TimeTickMsg)(nil), "milvus.proto.internal.TimeTickMsg")
}
func init() { proto.RegisterFile("internal.proto", fileDescriptor_41f4a519b878ee3b) }
var fileDescriptor_41f4a519b878ee3b = []byte{
// 791 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x6e, 0x23, 0x45,
0x10, 0xde, 0xf1, 0x78, 0x63, 0x4f, 0xd9, 0xeb, 0xf4, 0x56, 0x92, 0x5d, 0x6b, 0x59, 0x81, 0xb1,
0x38, 0x44, 0x2b, 0x91, 0x48, 0x46, 0x42, 0x88, 0x0b, 0x38, 0xf1, 0xb2, 0x19, 0xe1, 0x98, 0x30,
0xb6, 0x56, 0x62, 0x2f, 0xd6, 0xd8, 0x53, 0x19, 0x37, 0xf3, 0xd3, 0x56, 0x77, 0x3b, 0xac, 0xf7,
0x29, 0x00, 0x89, 0xb7, 0x00, 0x04, 0x5c, 0x79, 0x01, 0xfe, 0xc4, 0x91, 0x27, 0x81, 0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0x1c, 0x47, 0xa3, 0xe9, 0x67, 0x3a, 0x89, 0xc6, 0xdd, 0x83, 0xd1, 0xc5, 0xcd, 0xd9, 0x92, 0x9b,
0xbb, 0x75, 0x52, 0x12, 0x0f, 0xee, 0x79, 0x9e, 0xf3, 0x7b, 0x83, 0xe9, 0xdd, 0xa0, 0x5a, 0xfa,
0x3a, 0xe3, 0xda, 0x28, 0x9e, 0xac, 0x0d, 0x66, 0x83, 0x3a, 0xf2, 0x81, 0x55, 0xb2, 0x2b, 0x57,
0xc9, 0x30, 0x39, 0xb4, 0xad, 0xb7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x54, 0x4a, 0x4b, 0x6c,
0x80, 0x03, 0x00, 0x00,
}

View File

@ -5,12 +5,11 @@ option go_package="github.com/zilliztech/milvus-distributed/internal/proto/maste
import "common.proto";
import "milvus.proto";
import "internal.proto";
import "service_msg.proto";
message IDRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
uint32 count = 2;
}
@ -21,7 +20,7 @@ message IDResponse {
}
message TsoRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
uint32 count = 3;
}

View File

@ -8,7 +8,6 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalpb2 "github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
milvuspb "github.com/zilliztech/milvus-distributed/internal/proto/milvuspb"
servicepb "github.com/zilliztech/milvus-distributed/internal/proto/servicepb"
grpc "google.golang.org/grpc"
@ -29,11 +28,11 @@ var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type IDRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Count uint32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *IDRequest) Reset() { *m = IDRequest{} }
@ -61,7 +60,7 @@ func (m *IDRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_IDRequest proto.InternalMessageInfo
func (m *IDRequest) GetBase() *internalpb2.MsgBase {
func (m *IDRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -131,11 +130,11 @@ func (m *IDResponse) GetCount() uint32 {
}
type TsoRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Count uint32 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *TsoRequest) Reset() { *m = TsoRequest{} }
@ -163,7 +162,7 @@ func (m *TsoRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_TsoRequest proto.InternalMessageInfo
func (m *TsoRequest) GetBase() *internalpb2.MsgBase {
func (m *TsoRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -242,45 +241,45 @@ func init() {
func init() { proto.RegisterFile("master_service.proto", fileDescriptor_9a501bcba839fe29) }
var fileDescriptor_9a501bcba839fe29 = []byte{
// 607 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x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3c,
0x30, 0xcf, 0x63, 0x0f, 0x82, 0xba, 0x73, 0x23, 0x79, 0xf3, 0xdd, 0x94, 0xa1, 0x08, 0x99, 0x13,
0x09, 0x3a, 0x35, 0xb2, 0x1b, 0xcc, 0x88, 0x75, 0x46, 0xa2, 0x5b, 0x38, 0x7d, 0x67, 0x37, 0xde,
0xb8, 0xf8, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xe1, 0xb5, 0xf4, 0x29, 0x38, 0x08, 0x00, 0x00,
// 598 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0xd9, 0x6e, 0xd3, 0x40,
0x14, 0x86, 0xbb, 0x51, 0xd4, 0x93, 0xa5, 0x30, 0x54, 0x50, 0x99, 0x8a, 0x46, 0xb9, 0x21, 0x4b,
0xb1, 0x51, 0xfa, 0x04, 0x4d, 0x2c, 0xb5, 0x91, 0xa8, 0x84, 0x9c, 0x70, 0x01, 0x08, 0x82, 0xed,
0x8c, 0x92, 0x91, 0x6c, 0x4f, 0xf0, 0x19, 0xa7, 0xa8, 0x0f, 0xcd, 0x33, 0xa0, 0x78, 0x9f, 0xd6,
0x8e, 0x8c, 0xe0, 0xd2, 0xe3, 0xcf, 0xdf, 0xef, 0x99, 0xff, 0x24, 0x86, 0x13, 0xd7, 0x44, 0x41,
0xfd, 0x19, 0x52, 0x7f, 0xcd, 0x6c, 0xaa, 0xae, 0x7c, 0x2e, 0x38, 0x79, 0xe1, 0x32, 0x67, 0x1d,
0x60, 0x74, 0xa5, 0x46, 0x88, 0x52, 0xb7, 0xb9, 0xeb, 0x72, 0x2f, 0x5a, 0x54, 0xea, 0x79, 0x44,
0x79, 0x1e, 0x3f, 0x3f, 0x73, 0x71, 0x11, 0x2d, 0xb5, 0x27, 0x70, 0x34, 0xd6, 0x0d, 0xfa, 0x33,
0xa0, 0x28, 0xc8, 0x7b, 0x38, 0xb0, 0x4c, 0xa4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0xab, 0x05, 0x9f, 0x4b, 0x35, 0xfb, 0x7c,
0x28, 0xad, 0x72, 0x20, 0xd5, 0x7e, 0x80, 0xa7, 0xa1, 0x76, 0xac, 0x93, 0x37, 0x85, 0x78, 0xfa,
0x31, 0x55, 0xce, 0x4b, 0xef, 0x27, 0xb6, 0xe1, 0xe8, 0xcb, 0xd5, 0x82, 0x89, 0x65, 0x60, 0x6d,
0x0e, 0x4a, 0xbb, 0x67, 0x8e, 0xc3, 0xee, 0x05, 0xb5, 0x97, 0x5a, 0xf4, 0xe4, 0xbb, 0x39, 0x43,
0xe1, 0x33, 0x2b, 0x10, 0x74, 0xae, 0x31, 0x4f, 0x50, 0xdf, 0x33, 0x1d, 0x2d, 0xd4, 0x69, 0x91,
0x6e, 0x65, 0x0d, 0xac, 0xc3, 0x70, 0xe1, 0xf2, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd8, 0x7b,
0x9a, 0xb9, 0x24, 0x08, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -4,11 +4,10 @@ package milvus.proto.milvus;
option go_package = "github.com/zilliztech/milvus-distributed/internal/proto/milvuspb";
import "common.proto";
import "internal.proto";
import "schema.proto";
message CreateCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collectionName = 3;
// `schema` is the serialized `schema.CollectionSchema`
@ -17,13 +16,13 @@ message CreateCollectionRequest {
message DropCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collectionName = 3;
}
message HasCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
@ -34,7 +33,7 @@ message BoolResponse {
}
message DescribeCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
@ -45,19 +44,19 @@ message DescribeCollectionResponse {
}
message LoadCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
message ReleaseCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
message CollectionStatsRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
@ -69,7 +68,7 @@ message CollectionStatsResponse {
message ShowCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
}
@ -80,7 +79,7 @@ message ShowCollectionResponse {
message CreatePartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string partition_name = 4;
@ -88,35 +87,35 @@ message CreatePartitionRequest {
message DropPartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string partition_name = 4;
}
message HasPartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string partition_name = 4;
}
message LoadPartitonRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
repeated string partition_names = 4;
}
message ReleasePartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
repeated string partition_names = 4;
}
message PartitionStatsRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string partition_name = 4;
@ -128,7 +127,7 @@ message PartitionStatsResponse {
}
message ShowPartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}
@ -140,7 +139,7 @@ message ShowPartitionResponse {
message CreateIndexRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string field_name = 4;
@ -148,7 +147,7 @@ message CreateIndexRequest {
}
message DescribeIndexRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string field_name = 4;
@ -165,7 +164,7 @@ message DescribeIndexResponse {
}
message InsertRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
string partition_name = 4;
@ -197,7 +196,7 @@ message PlaceholderGroup {
}
message SearchRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
repeated string partition_names = 4;
@ -218,7 +217,7 @@ message QueryResult {
}
message FlushRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}

View File

@ -8,7 +8,6 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
commonpb "github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalpb2 "github.com/zilliztech/milvus-distributed/internal/proto/internalpb2"
schemapb "github.com/zilliztech/milvus-distributed/internal/proto/schemapb"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
@ -56,9 +55,9 @@ func (PlaceholderType) EnumDescriptor() ([]byte, []int) {
}
type CreateCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
// `schema` is the serialized `schema.CollectionSchema`
Schema []byte `protobuf:"bytes,4,opt,name=schema,proto3" json:"schema,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -91,7 +90,7 @@ func (m *CreateCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateCollectionRequest proto.InternalMessageInfo
func (m *CreateCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *CreateCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -120,12 +119,12 @@ func (m *CreateCollectionRequest) GetSchema() []byte {
}
type DropCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collectionName,proto3" json:"collectionName,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropCollectionRequest) Reset() { *m = DropCollectionRequest{} }
@ -153,7 +152,7 @@ func (m *DropCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DropCollectionRequest proto.InternalMessageInfo
func (m *DropCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *DropCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -175,12 +174,12 @@ func (m *DropCollectionRequest) GetCollectionName() string {
}
type HasCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HasCollectionRequest) Reset() { *m = HasCollectionRequest{} }
@ -208,7 +207,7 @@ func (m *HasCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_HasCollectionRequest proto.InternalMessageInfo
func (m *HasCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *HasCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -277,12 +276,12 @@ func (m *BoolResponse) GetValue() bool {
}
type DescribeCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeCollectionRequest) Reset() { *m = DescribeCollectionRequest{} }
@ -310,7 +309,7 @@ func (m *DescribeCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribeCollectionRequest proto.InternalMessageInfo
func (m *DescribeCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *DescribeCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -379,12 +378,12 @@ func (m *DescribeCollectionResponse) GetSchema() *schemapb.CollectionSchema {
}
type LoadCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} }
@ -412,7 +411,7 @@ func (m *LoadCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadCollectionRequest proto.InternalMessageInfo
func (m *LoadCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -434,12 +433,12 @@ func (m *LoadCollectionRequest) GetCollectionName() string {
}
type ReleaseCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionRequest{} }
@ -467,7 +466,7 @@ func (m *ReleaseCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ReleaseCollectionRequest proto.InternalMessageInfo
func (m *ReleaseCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -489,12 +488,12 @@ func (m *ReleaseCollectionRequest) GetCollectionName() string {
}
type CollectionStatsRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CollectionStatsRequest) Reset() { *m = CollectionStatsRequest{} }
@ -522,7 +521,7 @@ func (m *CollectionStatsRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CollectionStatsRequest proto.InternalMessageInfo
func (m *CollectionStatsRequest) GetBase() *internalpb2.MsgBase {
func (m *CollectionStatsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -591,11 +590,11 @@ func (m *CollectionStatsResponse) GetStatus() *commonpb.Status {
}
type ShowCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowCollectionRequest) Reset() { *m = ShowCollectionRequest{} }
@ -623,7 +622,7 @@ func (m *ShowCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowCollectionRequest proto.InternalMessageInfo
func (m *ShowCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *ShowCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -685,13 +684,13 @@ func (m *ShowCollectionResponse) GetStatus() *commonpb.Status {
}
type CreatePartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreatePartitionRequest) Reset() { *m = CreatePartitionRequest{} }
@ -719,7 +718,7 @@ func (m *CreatePartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreatePartitionRequest proto.InternalMessageInfo
func (m *CreatePartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *CreatePartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -748,13 +747,13 @@ func (m *CreatePartitionRequest) GetPartitionName() string {
}
type DropPartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DropPartitionRequest) Reset() { *m = DropPartitionRequest{} }
@ -782,7 +781,7 @@ func (m *DropPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DropPartitionRequest proto.InternalMessageInfo
func (m *DropPartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *DropPartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -811,13 +810,13 @@ func (m *DropPartitionRequest) GetPartitionName() string {
}
type HasPartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *HasPartitionRequest) Reset() { *m = HasPartitionRequest{} }
@ -845,7 +844,7 @@ func (m *HasPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_HasPartitionRequest proto.InternalMessageInfo
func (m *HasPartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *HasPartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -874,13 +873,13 @@ func (m *HasPartitionRequest) GetPartitionName() string {
}
type LoadPartitonRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadPartitonRequest) Reset() { *m = LoadPartitonRequest{} }
@ -908,7 +907,7 @@ func (m *LoadPartitonRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadPartitonRequest proto.InternalMessageInfo
func (m *LoadPartitonRequest) GetBase() *internalpb2.MsgBase {
func (m *LoadPartitonRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -937,13 +936,13 @@ func (m *LoadPartitonRequest) GetPartitionNames() []string {
}
type ReleasePartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleasePartitionRequest) Reset() { *m = ReleasePartitionRequest{} }
@ -971,7 +970,7 @@ func (m *ReleasePartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ReleasePartitionRequest proto.InternalMessageInfo
func (m *ReleasePartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *ReleasePartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1000,13 +999,13 @@ func (m *ReleasePartitionRequest) GetPartitionNames() []string {
}
type PartitionStatsRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PartitionStatsRequest) Reset() { *m = PartitionStatsRequest{} }
@ -1034,7 +1033,7 @@ func (m *PartitionStatsRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_PartitionStatsRequest proto.InternalMessageInfo
func (m *PartitionStatsRequest) GetBase() *internalpb2.MsgBase {
func (m *PartitionStatsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1110,12 +1109,12 @@ func (m *PartitionStatsResponse) GetStatus() *commonpb.Status {
}
type ShowPartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowPartitionRequest) Reset() { *m = ShowPartitionRequest{} }
@ -1143,7 +1142,7 @@ func (m *ShowPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowPartitionRequest proto.InternalMessageInfo
func (m *ShowPartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *ShowPartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1212,7 +1211,7 @@ func (m *ShowPartitionResponse) GetStatus() *commonpb.Status {
}
type CreateIndexRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
@ -1247,7 +1246,7 @@ func (m *CreateIndexRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_CreateIndexRequest proto.InternalMessageInfo
func (m *CreateIndexRequest) GetBase() *internalpb2.MsgBase {
func (m *CreateIndexRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1283,13 +1282,13 @@ func (m *CreateIndexRequest) GetExtraParams() []*commonpb.KeyValuePair {
}
type DescribeIndexRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
FieldName string `protobuf:"bytes,4,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DescribeIndexRequest) Reset() { *m = DescribeIndexRequest{} }
@ -1317,7 +1316,7 @@ func (m *DescribeIndexRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_DescribeIndexRequest proto.InternalMessageInfo
func (m *DescribeIndexRequest) GetBase() *internalpb2.MsgBase {
func (m *DescribeIndexRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1440,15 +1439,15 @@ func (m *DescribeIndexResponse) GetStatus() *commonpb.Status {
}
type InsertRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
RowData []*commonpb.Blob `protobuf:"bytes,5,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
HashKeys []uint32 `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionName string `protobuf:"bytes,4,opt,name=partition_name,json=partitionName,proto3" json:"partition_name,omitempty"`
RowData []*commonpb.Blob `protobuf:"bytes,5,rep,name=row_data,json=rowData,proto3" json:"row_data,omitempty"`
HashKeys []uint32 `protobuf:"varint,6,rep,packed,name=hash_keys,json=hashKeys,proto3" json:"hash_keys,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InsertRequest) Reset() { *m = InsertRequest{} }
@ -1476,7 +1475,7 @@ func (m *InsertRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InsertRequest proto.InternalMessageInfo
func (m *InsertRequest) GetBase() *internalpb2.MsgBase {
func (m *InsertRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1669,11 +1668,11 @@ func (m *PlaceholderGroup) GetPlaceholders() []*PlaceholderValue {
}
type SearchRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
Dsl string `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
PartitionNames []string `protobuf:"bytes,4,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"`
Dsl string `protobuf:"bytes,5,opt,name=dsl,proto3" json:"dsl,omitempty"`
// serialized `PlaceholderGroup`
PlaceholderGroup []byte `protobuf:"bytes,6,opt,name=placeholder_group,json=placeholderGroup,proto3" json:"placeholder_group,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@ -1706,7 +1705,7 @@ func (m *SearchRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_SearchRequest proto.InternalMessageInfo
func (m *SearchRequest) GetBase() *internalpb2.MsgBase {
func (m *SearchRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1851,12 +1850,12 @@ func (m *QueryResult) GetHits() [][]byte {
}
type FlushRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FlushRequest) Reset() { *m = FlushRequest{} }
@ -1884,7 +1883,7 @@ func (m *FlushRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_FlushRequest proto.InternalMessageInfo
func (m *FlushRequest) GetBase() *internalpb2.MsgBase {
func (m *FlushRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1945,96 +1944,95 @@ func init() {
func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) }
var fileDescriptor_02345ba45cc0e303 = []byte{
// 1409 bytes of a gzipped FileDescriptorProto
// 1405 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xdd, 0x6f, 0x1b, 0x45,
0x10, 0xcf, 0xc5, 0x8e, 0x9b, 0x4c, 0xfc, 0x95, 0x6d, 0x93, 0xb8, 0xae, 0x80, 0xf4, 0xa0, 0xd4,
0xfd, 0x4a, 0xa4, 0x14, 0x09, 0x78, 0x40, 0x6a, 0xdd, 0xf4, 0xc3, 0x6a, 0x9b, 0x86, 0x4b, 0xa8,
0x14, 0x50, 0x65, 0xd6, 0xbe, 0x25, 0x3e, 0x71, 0xf6, 0x1d, 0xb7, 0xeb, 0xa4, 0xe9, 0x2b, 0x08,
0x5e, 0x00, 0xc1, 0xbf, 0xc0, 0x03, 0x2f, 0xbc, 0x41, 0x41, 0xfc, 0x53, 0x88, 0x3f, 0x01, 0xb4,
0x1f, 0xb9, 0xdc, 0x5d, 0xf6, 0x62, 0x13, 0x54, 0xd9, 0x79, 0xf3, 0x8e, 0x67, 0x67, 0x7e, 0x3b,
0xf3, 0xdb, 0xbd, 0x99, 0x81, 0x7c, 0xd7, 0x71, 0x77, 0xfb, 0x74, 0xd9, 0x0f, 0x3c, 0xe6, 0xa1,
0xb3, 0xd1, 0xd5, 0xb2, 0x5c, 0x54, 0xf3, 0x6d, 0xaf, 0xdb, 0xf5, 0x7a, 0x52, 0x58, 0x2d, 0x3a,
0x3d, 0x46, 0x82, 0x1e, 0x76, 0xd5, 0x3a, 0x4f, 0xdb, 0x1d, 0xd2, 0xc5, 0x72, 0x65, 0xfe, 0x6c,
0xc0, 0xe2, 0x9d, 0x80, 0x60, 0x46, 0xee, 0x78, 0xae, 0x4b, 0xda, 0xcc, 0xf1, 0x7a, 0x16, 0xf9,
0xa2, 0x4f, 0x28, 0x43, 0xab, 0x90, 0x6d, 0x61, 0x4a, 0x2a, 0xc6, 0x92, 0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x50, 0x16, 0x38, 0xad, 0x3e, 0x23, 0xf6, 0x9a, 0xd3,
0x63, 0x24, 0xe8, 0x61, 0x77, 0x4d, 0xb8, 0x52, 0x1a, 0x7e, 0xab, 0x95, 0x13, 0xeb, 0xab, 0xff,
0x06, 0x00, 0x00, 0xff, 0xff, 0xae, 0xb8, 0xc8, 0x82, 0xce, 0x1b, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -4,10 +4,10 @@ package milvus.proto.internal;
option go_package="github.com/zilliztech/milvus-distributed/internal/proto/internalpb";
import "internal_msg.proto";
import "common.proto";
import "google/protobuf/any.proto";
message MsgHeader {
MsgType msg_type = 1;
common.MsgType msg_type = 1;
google.protobuf.Any message = 2[lazy=true];
}

View File

@ -8,7 +8,7 @@ import "internal.proto";
message RegisterNodeRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
common.Address address = 2;
}
@ -21,7 +21,7 @@ message RegisterLinkResponse {
}
message InvalidateCollMetaCacheRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string db_name = 2;
string collection_name = 3;
}

View File

@ -27,11 +27,11 @@ var _ = math.Inf
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type RegisterNodeRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
@ -59,7 +59,7 @@ func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
func (m *RegisterNodeRequest) GetBase() *internalpb2.MsgBase {
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -152,12 +152,12 @@ func (m *RegisterLinkResponse) GetAddress() *commonpb.Address {
}
type InvalidateCollMetaCacheRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbName string `protobuf:"bytes,2,opt,name=db_name,json=dbName,proto3" json:"db_name,omitempty"`
CollectionName string `protobuf:"bytes,3,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *InvalidateCollMetaCacheRequest) Reset() { *m = InvalidateCollMetaCacheRequest{} }
@ -185,7 +185,7 @@ func (m *InvalidateCollMetaCacheRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_InvalidateCollMetaCacheRequest proto.InternalMessageInfo
func (m *InvalidateCollMetaCacheRequest) GetBase() *internalpb2.MsgBase {
func (m *InvalidateCollMetaCacheRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -216,34 +216,34 @@ func init() {
func init() { proto.RegisterFile("proxy_service.proto", fileDescriptor_34ca2fbc94d169de) }
var fileDescriptor_34ca2fbc94d169de = []byte{
// 432 bytes of a gzipped FileDescriptorProto
// 429 bytes of a gzipped FileDescriptorProto
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x79, 0xdb, 0x5b, 0xf1, 0xe3, 0xbe, 0xde, 0x8d, 0x38, 0xf5, 0x0f, 0xd9, 0x3c, 0x7b, 0x32, 0xe0,
0x96, 0xbd, 0xdc, 0xf6, 0x38, 0x6c, 0xba, 0x72, 0x9a, 0x8f, 0xba, 0xc8, 0xfa, 0xcf, 0x12, 0x3f,
0xef, 0x74, 0xe0, 0x8a, 0x04, 0x35, 0x2e, 0x19, 0x8c, 0x7e, 0x46, 0xec, 0x89, 0x77, 0xb0, 0xd5,
0xb2, 0x74, 0xf1, 0x1e, 0x84, 0x8c, 0x4f, 0xaf, 0x3f, 0xce, 0x90, 0xe6, 0x4d, 0xd1, 0xfe, 0xc9,
0x6e, 0x51, 0x29, 0xbc, 0x25, 0x28, 0xe7, 0x59, 0xe8, 0x7a, 0x2b, 0xd1, 0x91, 0xc5, 0xa2, 0x21,
0x90, 0xd9, 0x32, 0xfd, 0x99, 0xa7, 0xca, 0xfc, 0xf8, 0xba, 0x28, 0x76, 0x7d, 0xf9, 0xfe, 0x4f,
0x00, 0x00, 0x00, 0xff, 0xff, 0x25, 0x02, 0x4c, 0xbc, 0x21, 0x04, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -9,7 +9,7 @@ import "internal.proto";
message RegisterNodeRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
common.Address address = 2;
}
@ -18,7 +18,7 @@ message RegisterNodeResponse {
}
message ShowCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
}
@ -27,21 +27,21 @@ message ShowCollectionResponse {
}
message LoadCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
}
message ReleaseCollectionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
}
message ShowPartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
}
@ -67,7 +67,7 @@ message PartitionStates {
}
message PartitionStatesRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 partitionIDs = 4;
@ -79,14 +79,14 @@ message PartitionStatesResponse {
message LoadPartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 partitionIDs = 4;
}
message ReleasePartitionRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 partitionIDs = 4;
@ -99,26 +99,26 @@ message CreateQueryChannelResponse {
message AddQueryChannelsRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string request_channelID = 2;
string result_channelID = 3;
}
message RemoveQueryChannelsRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
string request_channelID = 2;
string result_channelID = 3;
}
message WatchDmChannelsRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
repeated string channelIDs = 2;
}
message LoadSegmentRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 partitionIDs = 4;
@ -127,7 +127,7 @@ message LoadSegmentRequest {
}
message ReleaseSegmentRequest {
internal.MsgBase base = 1;
common.MsgBase base = 1;
int64 dbID = 2;
int64 collectionID = 3;
repeated int64 partitionIDs = 4;

View File

@ -67,11 +67,11 @@ func (PartitionState) EnumDescriptor() ([]byte, []int) {
}
type RegisterNodeRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Address *commonpb.Address `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RegisterNodeRequest) Reset() { *m = RegisterNodeRequest{} }
@ -99,7 +99,7 @@ func (m *RegisterNodeRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_RegisterNodeRequest proto.InternalMessageInfo
func (m *RegisterNodeRequest) GetBase() *internalpb2.MsgBase {
func (m *RegisterNodeRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -153,11 +153,11 @@ func (m *RegisterNodeResponse) GetInitParams() *internalpb2.InitParams {
}
type ShowCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowCollectionRequest) Reset() { *m = ShowCollectionRequest{} }
@ -185,7 +185,7 @@ func (m *ShowCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowCollectionRequest proto.InternalMessageInfo
func (m *ShowCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *ShowCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -239,12 +239,12 @@ func (m *ShowCollectionResponse) GetCollectionIDs() []int64 {
}
type LoadCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadCollectionRequest) Reset() { *m = LoadCollectionRequest{} }
@ -272,7 +272,7 @@ func (m *LoadCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadCollectionRequest proto.InternalMessageInfo
func (m *LoadCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *LoadCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -294,12 +294,12 @@ func (m *LoadCollectionRequest) GetCollectionID() int64 {
}
type ReleaseCollectionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleaseCollectionRequest) Reset() { *m = ReleaseCollectionRequest{} }
@ -327,7 +327,7 @@ func (m *ReleaseCollectionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ReleaseCollectionRequest proto.InternalMessageInfo
func (m *ReleaseCollectionRequest) GetBase() *internalpb2.MsgBase {
func (m *ReleaseCollectionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -349,12 +349,12 @@ func (m *ReleaseCollectionRequest) GetCollectionID() int64 {
}
type ShowPartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ShowPartitionRequest) Reset() { *m = ShowPartitionRequest{} }
@ -382,7 +382,7 @@ func (m *ShowPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ShowPartitionRequest proto.InternalMessageInfo
func (m *ShowPartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *ShowPartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -490,13 +490,13 @@ func (m *PartitionStates) GetState() PartitionState {
}
type PartitionStatesRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *PartitionStatesRequest) Reset() { *m = PartitionStatesRequest{} }
@ -524,7 +524,7 @@ func (m *PartitionStatesRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_PartitionStatesRequest proto.InternalMessageInfo
func (m *PartitionStatesRequest) GetBase() *internalpb2.MsgBase {
func (m *PartitionStatesRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -592,13 +592,13 @@ func (m *PartitionStatesResponse) GetPartitionDescriptions() []*PartitionStates
}
type LoadPartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadPartitionRequest) Reset() { *m = LoadPartitionRequest{} }
@ -626,7 +626,7 @@ func (m *LoadPartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadPartitionRequest proto.InternalMessageInfo
func (m *LoadPartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *LoadPartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -655,13 +655,13 @@ func (m *LoadPartitionRequest) GetPartitionIDs() []int64 {
}
type ReleasePartitionRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleasePartitionRequest) Reset() { *m = ReleasePartitionRequest{} }
@ -689,7 +689,7 @@ func (m *ReleasePartitionRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ReleasePartitionRequest proto.InternalMessageInfo
func (m *ReleasePartitionRequest) GetBase() *internalpb2.MsgBase {
func (m *ReleasePartitionRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -765,12 +765,12 @@ func (m *CreateQueryChannelResponse) GetResultChannel() string {
}
type AddQueryChannelsRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
RequestChannelID string `protobuf:"bytes,2,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
ResultChannelID string `protobuf:"bytes,3,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
RequestChannelID string `protobuf:"bytes,2,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
ResultChannelID string `protobuf:"bytes,3,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddQueryChannelsRequest) Reset() { *m = AddQueryChannelsRequest{} }
@ -798,7 +798,7 @@ func (m *AddQueryChannelsRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_AddQueryChannelsRequest proto.InternalMessageInfo
func (m *AddQueryChannelsRequest) GetBase() *internalpb2.MsgBase {
func (m *AddQueryChannelsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -820,12 +820,12 @@ func (m *AddQueryChannelsRequest) GetResultChannelID() string {
}
type RemoveQueryChannelsRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
RequestChannelID string `protobuf:"bytes,2,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
ResultChannelID string `protobuf:"bytes,3,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
RequestChannelID string `protobuf:"bytes,2,opt,name=request_channelID,json=requestChannelID,proto3" json:"request_channelID,omitempty"`
ResultChannelID string `protobuf:"bytes,3,opt,name=result_channelID,json=resultChannelID,proto3" json:"result_channelID,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveQueryChannelsRequest) Reset() { *m = RemoveQueryChannelsRequest{} }
@ -853,7 +853,7 @@ func (m *RemoveQueryChannelsRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_RemoveQueryChannelsRequest proto.InternalMessageInfo
func (m *RemoveQueryChannelsRequest) GetBase() *internalpb2.MsgBase {
func (m *RemoveQueryChannelsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -875,11 +875,11 @@ func (m *RemoveQueryChannelsRequest) GetResultChannelID() string {
}
type WatchDmChannelsRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
ChannelIDs []string `protobuf:"bytes,2,rep,name=channelIDs,proto3" json:"channelIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *WatchDmChannelsRequest) Reset() { *m = WatchDmChannelsRequest{} }
@ -907,7 +907,7 @@ func (m *WatchDmChannelsRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_WatchDmChannelsRequest proto.InternalMessageInfo
func (m *WatchDmChannelsRequest) GetBase() *internalpb2.MsgBase {
func (m *WatchDmChannelsRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -922,15 +922,15 @@ func (m *WatchDmChannelsRequest) GetChannelIDs() []string {
}
type LoadSegmentRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *LoadSegmentRequest) Reset() { *m = LoadSegmentRequest{} }
@ -958,7 +958,7 @@ func (m *LoadSegmentRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_LoadSegmentRequest proto.InternalMessageInfo
func (m *LoadSegmentRequest) GetBase() *internalpb2.MsgBase {
func (m *LoadSegmentRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1001,15 +1001,15 @@ func (m *LoadSegmentRequest) GetFieldIDs() []int64 {
}
type ReleaseSegmentRequest struct {
Base *internalpb2.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"`
CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"`
PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"`
SegmentIDs []int64 `protobuf:"varint,5,rep,packed,name=segmentIDs,proto3" json:"segmentIDs,omitempty"`
FieldIDs []int64 `protobuf:"varint,6,rep,packed,name=fieldIDs,proto3" json:"fieldIDs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ReleaseSegmentRequest) Reset() { *m = ReleaseSegmentRequest{} }
@ -1037,7 +1037,7 @@ func (m *ReleaseSegmentRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_ReleaseSegmentRequest proto.InternalMessageInfo
func (m *ReleaseSegmentRequest) GetBase() *internalpb2.MsgBase {
func (m *ReleaseSegmentRequest) GetBase() *commonpb.MsgBase {
if m != nil {
return m.Base
}
@ -1249,79 +1249,79 @@ func init() {
func init() { proto.RegisterFile("query_service.proto", fileDescriptor_5fcb6756dc1afb8d) }
var fileDescriptor_5fcb6756dc1afb8d = []byte{
// 1142 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xed, 0x6e, 0x1b, 0x45,
0x17, 0xf6, 0xc6, 0x49, 0xde, 0xfa, 0xc4, 0xb1, 0x9d, 0xc9, 0xa7, 0xf6, 0x45, 0x55, 0x19, 0x0a,
0xf9, 0x02, 0x47, 0x72, 0x25, 0x84, 0x84, 0x04, 0x4a, 0xe2, 0x2a, 0xb2, 0x44, 0x43, 0x58, 0xb7,
0x42, 0xa4, 0x45, 0x66, 0xbd, 0x3b, 0xd8, 0x43, 0xf7, 0xc3, 0xdd, 0x19, 0xa7, 0x24, 0xff, 0x0a,
0x12, 0xb7, 0xc0, 0x15, 0x80, 0xe0, 0x06, 0xb8, 0x0f, 0xee, 0x00, 0x89, 0x1b, 0x41, 0x33, 0xbb,
0xde, 0xec, 0xae, 0x67, 0x63, 0x97, 0xb6, 0x4a, 0xc4, 0xbf, 0x9d, 0x33, 0x67, 0xce, 0xf3, 0xcc,
0x99, 0x73, 0x66, 0x9e, 0x85, 0xe5, 0x67, 0x43, 0x12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x32, 0x44, 0x75, 0x75, 0x0d, 0xe7, 0x29, 0xc8, 0x49, 0x20, 0x4f, 0xa0, 0x9a, 0x11, 0x75, 0xea,
0xc3, 0x51, 0x2b, 0xbf, 0x49, 0xd1, 0x1f, 0x41, 0x39, 0xa1, 0xe1, 0x18, 0x7a, 0x2f, 0xaf, 0xbf,
0xd3, 0xfa, 0x67, 0x52, 0xd8, 0xc7, 0x50, 0x4d, 0xeb, 0xa6, 0x9c, 0x9b, 0x5c, 0x29, 0xae, 0x26,
0x05, 0xf7, 0x60, 0x69, 0xac, 0x62, 0xdf, 0x60, 0xc1, 0x1e, 0xec, 0x9f, 0x7e, 0xda, 0xa3, 0xbc,
0x3f, 0xec, 0x0a, 0x26, 0x7b, 0x17, 0xd4, 0x71, 0xe8, 0x05, 0x27, 0x56, 0x7f, 0x2f, 0x8c, 0xf2,
0x81, 0x4d, 0x19, 0x0f, 0x68, 0x77, 0xc8, 0x89, 0xbd, 0x37, 0x7a, 0xd9, 0xf7, 0x64, 0xe8, 0x3d,
0x19, 0x7a, 0xd0, 0xed, 0xce, 0xcb, 0xe1, 0xbd, 0x7f, 0x02, 0x00, 0x00, 0xff, 0xff, 0x13, 0x6f,
0x8a, 0xde, 0xe2, 0x13, 0x00, 0x00,
// 1137 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x57, 0xeb, 0x6e, 0x1b, 0x45,
0x14, 0xf6, 0xc6, 0x49, 0xa8, 0x4f, 0x1c, 0xdb, 0x99, 0x5c, 0xb5, 0x20, 0x54, 0x86, 0x42, 0x6e,
0xe0, 0xa0, 0x54, 0x42, 0x48, 0x48, 0xa0, 0x24, 0xae, 0x22, 0x4b, 0x34, 0x84, 0x4d, 0x2b, 0x44,
0xda, 0xca, 0xac, 0x77, 0x07, 0x7b, 0xda, 0xbd, 0xb8, 0x3b, 0xe3, 0x94, 0xe4, 0x0f, 0x54, 0xe2,
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0x3e, 0xea, 0xd3, 0xa6, 0xba, 0xb2,
0x71, 0x61, 0xf7, 0xcf, 0x69, 0x28, 0xc9, 0xa5, 0x92, 0xb7, 0xd4, 0x23, 0xa8, 0x66, 0x8c, 0xa5,
0xfa, 0x78, 0xe4, 0xb8, 0xcf, 0x71, 0x1b, 0xcc, 0x02, 0x34, 0xec, 0x08, 0x51, 0x5d, 0xbd, 0x87,
0xf3, 0x9c, 0xe3, 0x38, 0x92, 0x87, 0x50, 0xcd, 0xd8, 0x39, 0xf5, 0xe2, 0xa8, 0x3d, 0xdf, 0xb8,
0xec, 0xf7, 0xa1, 0x9c, 0xf0, 0x6f, 0x0c, 0xbd, 0x9f, 0x77, 0xbe, 0xd3, 0xee, 0x67, 0x5c, 0xda,
0x07, 0x50, 0x4d, 0xbb, 0xa6, 0x9c, 0x9b, 0x5c, 0x69, 0xad, 0xc6, 0x25, 0xf7, 0x60, 0x61, 0x68,
0xc7, 0xbe, 0xc6, 0x0d, 0xbb, 0xbf, 0x77, 0xfa, 0x79, 0x87, 0xf2, 0x6e, 0xbf, 0x2d, 0x94, 0xec,
0x5c, 0x50, 0xc7, 0xa1, 0x17, 0x9c, 0x58, 0xdd, 0x9d, 0x30, 0xcb, 0x87, 0x36, 0x65, 0x3c, 0xa0,
0xed, 0x3e, 0x27, 0xf6, 0xce, 0xe0, 0x65, 0xdf, 0x91, 0xa9, 0x77, 0x64, 0xea, 0x5e, 0xbb, 0x3d,
0x2b, 0x9b, 0xb7, 0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x84, 0x5b, 0x26, 0x0a, 0xc7, 0x13, 0x00,
0x00,
}
// Reference imports to suppress errors if they are not otherwise used.

View File

@ -32,7 +32,7 @@ func (p *Proxy) Insert(ctx context.Context, in *servicepb.RowBatch) (*servicepb.
HashValues: in.HashKeys,
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
CollectionName: in.CollectionName,
PartitionTag: in.PartitionTag,
RowData: in.RowData,
@ -87,7 +87,7 @@ func (p *Proxy) CreateCollection(ctx context.Context, req *schemapb.CollectionSc
cct := &CreateCollectionTask{
Condition: NewTaskCondition(ctx),
CreateCollectionRequest: internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
Schema: &commonpb.Blob{},
},
masterClient: p.masterClient,
@ -183,7 +183,7 @@ func (p *Proxy) DropCollection(ctx context.Context, req *servicepb.CollectionNam
dct := &DropCollectionTask{
Condition: NewTaskCondition(ctx),
DropCollectionRequest: internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
CollectionName: req,
},
masterClient: p.masterClient,
@ -224,7 +224,7 @@ func (p *Proxy) HasCollection(ctx context.Context, req *servicepb.CollectionName
hct := &HasCollectionTask{
Condition: NewTaskCondition(ctx),
HasCollectionRequest: internalpb.HasCollectionRequest{
MsgType: internalpb.MsgType_kHasCollection,
MsgType: commonpb.MsgType_kHasCollection,
CollectionName: req,
},
masterClient: p.masterClient,
@ -269,7 +269,7 @@ func (p *Proxy) DescribeCollection(ctx context.Context, req *servicepb.Collectio
dct := &DescribeCollectionTask{
Condition: NewTaskCondition(ctx),
DescribeCollectionRequest: internalpb.DescribeCollectionRequest{
MsgType: internalpb.MsgType_kDescribeCollection,
MsgType: commonpb.MsgType_kDescribeCollection,
CollectionName: req,
},
masterClient: p.masterClient,
@ -314,7 +314,7 @@ func (p *Proxy) ShowCollections(ctx context.Context, req *commonpb.Empty) (*serv
sct := &ShowCollectionsTask{
Condition: NewTaskCondition(ctx),
ShowCollectionRequest: internalpb.ShowCollectionRequest{
MsgType: internalpb.MsgType_kDescribeCollection,
MsgType: commonpb.MsgType_kDescribeCollection,
},
masterClient: p.masterClient,
}
@ -358,7 +358,7 @@ func (p *Proxy) CreatePartition(ctx context.Context, in *servicepb.PartitionName
cpt := &CreatePartitionTask{
Condition: NewTaskCondition(ctx),
CreatePartitionRequest: internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
ReqID: 0,
Timestamp: 0,
ProxyID: 0,
@ -404,7 +404,7 @@ func (p *Proxy) DropPartition(ctx context.Context, in *servicepb.PartitionName)
dpt := &DropPartitionTask{
Condition: NewTaskCondition(ctx),
DropPartitionRequest: internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
ReqID: 0,
Timestamp: 0,
ProxyID: 0,
@ -451,7 +451,7 @@ func (p *Proxy) HasPartition(ctx context.Context, in *servicepb.PartitionName) (
hpt := &HasPartitionTask{
Condition: NewTaskCondition(ctx),
HasPartitionRequest: internalpb.HasPartitionRequest{
MsgType: internalpb.MsgType_kHasPartition,
MsgType: commonpb.MsgType_kHasPartition,
ReqID: 0,
Timestamp: 0,
ProxyID: 0,
@ -504,7 +504,7 @@ func (p *Proxy) DescribePartition(ctx context.Context, in *servicepb.PartitionNa
dpt := &DescribePartitionTask{
Condition: NewTaskCondition(ctx),
DescribePartitionRequest: internalpb.DescribePartitionRequest{
MsgType: internalpb.MsgType_kDescribePartition,
MsgType: commonpb.MsgType_kDescribePartition,
ReqID: 0,
Timestamp: 0,
ProxyID: 0,
@ -559,7 +559,7 @@ func (p *Proxy) ShowPartitions(ctx context.Context, req *servicepb.CollectionNam
spt := &ShowPartitionsTask{
Condition: NewTaskCondition(ctx),
ShowPartitionRequest: internalpb.ShowPartitionRequest{
MsgType: internalpb.MsgType_kShowPartitions,
MsgType: commonpb.MsgType_kShowPartitions,
ReqID: 0,
Timestamp: 0,
ProxyID: 0,
@ -611,7 +611,7 @@ func (p *Proxy) CreateIndex(ctx context.Context, indexParam *servicepb.IndexPara
cit := &CreateIndexTask{
Condition: NewTaskCondition(ctx),
CreateIndexRequest: internalpb.CreateIndexRequest{
MsgType: internalpb.MsgType_kCreateIndex,
MsgType: commonpb.MsgType_kCreateIndex,
CollectionName: indexParam.CollectionName,
FieldName: indexParam.FieldName,
ExtraParams: indexParam.ExtraParams,
@ -655,7 +655,7 @@ func (p *Proxy) DescribeIndex(ctx context.Context, req *servicepb.DescribeIndexR
dit := &DescribeIndexTask{
Condition: NewTaskCondition(ctx),
DescribeIndexRequest: internalpb.DescribeIndexRequest{
MsgType: internalpb.MsgType_kDescribeIndex,
MsgType: commonpb.MsgType_kDescribeIndex,
CollectionName: req.CollectionName,
FieldName: req.FieldName,
},
@ -708,7 +708,7 @@ func (p *Proxy) DescribeIndexProgress(ctx context.Context, req *servicepb.Descri
dipt := &DescribeIndexProgressTask{
Condition: NewTaskCondition(ctx),
DescribeIndexProgressRequest: internalpb.DescribeIndexProgressRequest{
MsgType: internalpb.MsgType_kDescribeIndexProgress,
MsgType: commonpb.MsgType_kDescribeIndexProgress,
CollectionName: req.CollectionName,
FieldName: req.FieldName,
},

View File

@ -4,6 +4,8 @@ import (
"context"
"sync"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/errors"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/servicepb"
@ -47,7 +49,7 @@ func (metaCache *SimpleMetaCache) Sync(collectionName string) error {
dct := &DescribeCollectionTask{
Condition: NewTaskCondition(metaCache.ctx),
DescribeCollectionRequest: internalpb.DescribeCollectionRequest{
MsgType: internalpb.MsgType_kDescribeCollection,
MsgType: commonpb.MsgType_kDescribeCollection,
CollectionName: &servicepb.CollectionName{
CollectionName: collectionName,
},

View File

@ -352,7 +352,7 @@ func TestProxy_Search(t *testing.T) {
HashValues: []uint32{1},
},
SearchResult: internalpb.SearchResult{
MsgType: internalpb.MsgType_kSearchResult,
MsgType: commonpb.MsgType_kSearchResult,
ReqID: int64(i % testNum),
},
}

View File

@ -25,7 +25,7 @@ func insertRepackFunc(tsMsgs []msgstream.TsMsg,
reqSchemaMap := make(map[UniqueID][]string)
for i, request := range tsMsgs {
if request.Type() != internalpb.MsgType_kInsert {
if request.Type() != commonpb.MsgType_kInsert {
return nil, errors.New(string("msg's must be Insert"))
}
insertRequest, ok := request.(*msgstream.InsertMsg)
@ -168,7 +168,7 @@ func insertRepackFunc(tsMsgs []msgstream.TsMsg,
}
segmentID := getSegmentID(reqID, key)
sliceRequest := internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: reqID,
CollectionName: collectionName,
PartitionTag: partitionTag,

View File

@ -24,7 +24,7 @@ import (
type task interface {
ID() UniqueID // return ReqID
SetID(uid UniqueID) // set ReqID
Type() internalpb.MsgType
Type() commonpb.MsgType
BeginTs() Timestamp
EndTs() Timestamp
SetTs(ts Timestamp)
@ -72,7 +72,7 @@ func (it *InsertTask) ID() UniqueID {
return it.ReqID
}
func (it *InsertTask) Type() internalpb.MsgType {
func (it *InsertTask) Type() commonpb.MsgType {
return it.MsgType
}
@ -194,7 +194,7 @@ func (cct *CreateCollectionTask) SetID(uid UniqueID) {
cct.ReqID = uid
}
func (cct *CreateCollectionTask) Type() internalpb.MsgType {
func (cct *CreateCollectionTask) Type() commonpb.MsgType {
return cct.MsgType
}
@ -304,7 +304,7 @@ func (dct *DropCollectionTask) SetID(uid UniqueID) {
dct.ReqID = uid
}
func (dct *DropCollectionTask) Type() internalpb.MsgType {
func (dct *DropCollectionTask) Type() commonpb.MsgType {
return dct.MsgType
}
@ -366,7 +366,7 @@ func (qt *QueryTask) SetID(uid UniqueID) {
qt.ReqID = uid
}
func (qt *QueryTask) Type() internalpb.MsgType {
func (qt *QueryTask) Type() commonpb.MsgType {
return qt.MsgType
}
@ -418,7 +418,7 @@ func (qt *QueryTask) PreExecute() error {
return err
}
}
qt.MsgType = internalpb.MsgType_kSearch
qt.MsgType = commonpb.MsgType_kSearch
queryBytes, err := proto.Marshal(qt.query)
if err != nil {
span.LogFields(oplog.Error(err))
@ -628,7 +628,7 @@ func (hct *HasCollectionTask) SetID(uid UniqueID) {
hct.ReqID = uid
}
func (hct *HasCollectionTask) Type() internalpb.MsgType {
func (hct *HasCollectionTask) Type() commonpb.MsgType {
return hct.MsgType
}
@ -688,7 +688,7 @@ func (dct *DescribeCollectionTask) SetID(uid UniqueID) {
dct.ReqID = uid
}
func (dct *DescribeCollectionTask) Type() internalpb.MsgType {
func (dct *DescribeCollectionTask) Type() commonpb.MsgType {
return dct.MsgType
}
@ -741,7 +741,7 @@ func (sct *ShowCollectionsTask) SetID(uid UniqueID) {
sct.ReqID = uid
}
func (sct *ShowCollectionsTask) Type() internalpb.MsgType {
func (sct *ShowCollectionsTask) Type() commonpb.MsgType {
return sct.MsgType
}
@ -797,7 +797,7 @@ func (cpt *CreatePartitionTask) SetID(uid UniqueID) {
cpt.ReqID = uid
}
func (cpt *CreatePartitionTask) Type() internalpb.MsgType {
func (cpt *CreatePartitionTask) Type() commonpb.MsgType {
return cpt.MsgType
}
@ -852,7 +852,7 @@ func (dpt *DropPartitionTask) SetID(uid UniqueID) {
dpt.ReqID = uid
}
func (dpt *DropPartitionTask) Type() internalpb.MsgType {
func (dpt *DropPartitionTask) Type() commonpb.MsgType {
return dpt.MsgType
}
@ -907,7 +907,7 @@ func (hpt *HasPartitionTask) SetID(uid UniqueID) {
hpt.ReqID = uid
}
func (hpt *HasPartitionTask) Type() internalpb.MsgType {
func (hpt *HasPartitionTask) Type() commonpb.MsgType {
return hpt.MsgType
}
@ -961,7 +961,7 @@ func (dpt *DescribePartitionTask) SetID(uid UniqueID) {
dpt.ReqID = uid
}
func (dpt *DescribePartitionTask) Type() internalpb.MsgType {
func (dpt *DescribePartitionTask) Type() commonpb.MsgType {
return dpt.MsgType
}
@ -1015,7 +1015,7 @@ func (spt *ShowPartitionsTask) SetID(uid UniqueID) {
spt.ReqID = uid
}
func (spt *ShowPartitionsTask) Type() internalpb.MsgType {
func (spt *ShowPartitionsTask) Type() commonpb.MsgType {
return spt.MsgType
}
@ -1063,7 +1063,7 @@ func (cit *CreateIndexTask) SetID(uid UniqueID) {
cit.ReqID = uid
}
func (cit *CreateIndexTask) Type() internalpb.MsgType {
func (cit *CreateIndexTask) Type() commonpb.MsgType {
return cit.MsgType
}
@ -1118,7 +1118,7 @@ func (dit *DescribeIndexTask) SetID(uid UniqueID) {
dit.ReqID = uid
}
func (dit *DescribeIndexTask) Type() internalpb.MsgType {
func (dit *DescribeIndexTask) Type() commonpb.MsgType {
return dit.MsgType
}
@ -1173,7 +1173,7 @@ func (dipt *DescribeIndexProgressTask) SetID(uid UniqueID) {
dipt.ReqID = uid
}
func (dipt *DescribeIndexProgressTask) Type() internalpb.MsgType {
func (dipt *DescribeIndexProgressTask) Type() commonpb.MsgType {
return dipt.MsgType
}

View File

@ -6,6 +6,8 @@ import (
"sync"
"time"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/apache/pulsar-client-go/pulsar"
"github.com/zilliztech/milvus-distributed/internal/allocator"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
@ -73,7 +75,7 @@ func (tt *timeTick) tick() error {
HashValues: []uint32{uint32(Params.ProxyID())},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: tt.peerID,
Timestamp: tt.currentTick,
},

View File

@ -146,21 +146,7 @@ func (node *QueryNode) WatchDmChannels(in *queryPb.WatchDmChannelsRequest) (*com
}
func (node *QueryNode) LoadSegments(in *queryPb.LoadSegmentRequest) (*commonpb.Status, error) {
// TODO: support db
for _, segmentID := range in.SegmentIDs {
hasBeenBuiltIndex := segmentID > 0 // TODO: ???
indexID := UniqueID(0) // TODO: ???
err := node.segManager.loadSegment(segmentID, hasBeenBuiltIndex, indexID, in.FieldIDs)
if err != nil {
// TODO: return or continue
status := &commonpb.Status{
ErrorCode: commonpb.ErrorCode_UNEXPECTED_ERROR,
Reason: err.Error(),
}
return status, err
}
}
// TODO: implement
return nil, nil
}

View File

@ -46,7 +46,7 @@ func (c *Client) LoadIndex(indexPaths []string,
}
loadIndexRequest := internalPb.LoadIndex{
MsgType: internalPb.MsgType_kLoadIndex,
MsgType: commonpb.MsgType_kLoadIndex,
SegmentID: segmentID,
FieldName: fieldName,
FieldID: fieldID,

View File

@ -54,7 +54,7 @@ func TestDataSyncService_Start(t *testing.T) {
},
},
InsertRequest: internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: int64(0),
CollectionName: "collection0",
PartitionTag: "default",
@ -86,7 +86,7 @@ func TestDataSyncService_Start(t *testing.T) {
HashValues: []uint32{0},
}
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
}

View File

@ -4,10 +4,11 @@ import (
"log"
"sort"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/golang/protobuf/proto"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/schemapb"
)
@ -60,13 +61,13 @@ func (ddNode *ddNode) Operate(in []*Msg) []*Msg {
// do dd tasks
for _, msg := range tsMessages {
switch msg.Type() {
case internalPb.MsgType_kCreateCollection:
case commonpb.MsgType_kCreateCollection:
ddNode.createCollection(msg.(*msgstream.CreateCollectionMsg))
case internalPb.MsgType_kDropCollection:
case commonpb.MsgType_kDropCollection:
ddNode.dropCollection(msg.(*msgstream.DropCollectionMsg))
case internalPb.MsgType_kCreatePartition:
case commonpb.MsgType_kCreatePartition:
ddNode.createPartition(msg.(*msgstream.CreatePartitionMsg))
case internalPb.MsgType_kDropPartition:
case commonpb.MsgType_kDropPartition:
ddNode.dropPartition(msg.(*msgstream.DropPartitionMsg))
default:
log.Println("Non supporting message type:", msg.Type())

View File

@ -8,7 +8,6 @@ import (
"github.com/opentracing/opentracing-go"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
type filterDmNode struct {
@ -38,7 +37,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
tracer := opentracing.GlobalTracer()
if tracer != nil && msgStreamMsg != nil {
for _, msg := range msgStreamMsg.TsMessages() {
if msg.Type() == internalPb.MsgType_kInsert || msg.Type() == internalPb.MsgType_kSearch {
if msg.Type() == commonpb.MsgType_kInsert || msg.Type() == commonpb.MsgType_kSearch {
var child opentracing.Span
ctx := msg.GetMsgContext()
if parent := opentracing.SpanFromContext(ctx); parent != nil {
@ -72,7 +71,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
}
for key, msg := range msgStreamMsg.TsMessages() {
switch msg.Type() {
case internalPb.MsgType_kInsert:
case commonpb.MsgType_kInsert:
var ctx2 context.Context
if childs != nil {
if childs[key] != nil {
@ -86,7 +85,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
resMsg.SetMsgContext(ctx2)
iMsg.insertMessages = append(iMsg.insertMessages, resMsg)
}
// case internalPb.MsgType_kDelete:
// case commonpb.MsgType_kDelete:
// dmMsg.deleteMessages = append(dmMsg.deleteMessages, (*msg).(*msgstream.DeleteTask))
default:
log.Println("Non supporting message type:", msg.Type())

View File

@ -9,7 +9,6 @@ import (
"github.com/opentracing/opentracing-go"
oplog "github.com/opentracing/opentracing-go/log"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
type insertNode struct {
@ -47,7 +46,7 @@ func (iNode *insertNode) Operate(in []*Msg) []*Msg {
tracer := opentracing.GlobalTracer()
if tracer != nil && iMsg != nil {
for _, msg := range iMsg.insertMessages {
if msg.Type() == internalPb.MsgType_kInsert || msg.Type() == internalPb.MsgType_kSearch {
if msg.Type() == commonpb.MsgType_kInsert || msg.Type() == commonpb.MsgType_kSearch {
var child opentracing.Span
ctx := msg.GetMsgContext()
if parent := opentracing.SpanFromContext(ctx); parent != nil {

View File

@ -79,7 +79,7 @@ func TestLoadIndexService_FloatVector(t *testing.T) {
HashValues: hashValues,
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: 0,
CollectionName: "collection0",
PartitionTag: "default",
@ -105,7 +105,7 @@ func TestLoadIndexService_FloatVector(t *testing.T) {
HashValues: []uint32{0},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
},
@ -182,7 +182,7 @@ func TestLoadIndexService_FloatVector(t *testing.T) {
HashValues: []uint32{0},
},
SearchRequest: internalpb.SearchRequest{
MsgType: internalpb.MsgType_kSearch,
MsgType: commonpb.MsgType_kSearch,
ReqID: n,
ProxyID: int64(1),
Timestamp: uint64(msgLength),
@ -404,7 +404,7 @@ func TestLoadIndexService_BinaryVector(t *testing.T) {
HashValues: hashValues,
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: 0,
CollectionName: "collection0",
PartitionTag: "default",
@ -430,7 +430,7 @@ func TestLoadIndexService_BinaryVector(t *testing.T) {
HashValues: []uint32{0},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
},
@ -496,7 +496,7 @@ func TestLoadIndexService_BinaryVector(t *testing.T) {
HashValues: []uint32{0},
},
SearchRequest: internalpb.SearchRequest{
MsgType: internalpb.MsgType_kSearch,
MsgType: commonpb.MsgType_kSearch,
ReqID: n,
ProxyID: int64(1),
Timestamp: uint64(msgLength),

View File

@ -53,8 +53,6 @@ type QueryNode struct {
loadIndexService *loadIndexService
statsService *statsService
segManager *segmentManager
//opentracing
tracer opentracing.Tracer
closer io.Closer

View File

@ -5,12 +5,13 @@ import (
"context"
"errors"
"fmt"
"github.com/opentracing/opentracing-go"
oplog "github.com/opentracing/opentracing-go/log"
"log"
"regexp"
"sync"
"github.com/opentracing/opentracing-go"
oplog "github.com/opentracing/opentracing-go/log"
"github.com/golang/protobuf/proto"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
@ -312,7 +313,7 @@ func (ss *searchService) search(msg msgstream.TsMsg) error {
nilHits[i] = bs
}
var results = internalpb.SearchResult{
MsgType: internalpb.MsgType_kSearchResult,
MsgType: commonpb.MsgType_kSearchResult,
Status: &commonpb.Status{ErrorCode: commonpb.ErrorCode_SUCCESS},
ReqID: searchMsg.ReqID,
ProxyID: searchMsg.ProxyID,
@ -377,7 +378,7 @@ func (ss *searchService) search(msg msgstream.TsMsg) error {
offset += len
}
var results = internalpb.SearchResult{
MsgType: internalpb.MsgType_kSearchResult,
MsgType: commonpb.MsgType_kSearchResult,
Status: &commonpb.Status{ErrorCode: commonpb.ErrorCode_SUCCESS},
ReqID: searchMsg.ReqID,
ProxyID: searchMsg.ProxyID,
@ -429,7 +430,7 @@ func (ss *searchService) publishFailedSearchResult(msg msgstream.TsMsg, errMsg s
return errors.New("invalid request type = " + string(msg.Type()))
}
var results = internalpb.SearchResult{
MsgType: internalpb.MsgType_kSearchResult,
MsgType: commonpb.MsgType_kSearchResult,
Status: &commonpb.Status{ErrorCode: commonpb.ErrorCode_UNEXPECTED_ERROR, Reason: errMsg},
ReqID: searchMsg.ReqID,
ProxyID: searchMsg.ProxyID,

View File

@ -80,7 +80,7 @@ func TestSearch_Search(t *testing.T) {
HashValues: []uint32{0},
},
SearchRequest: internalpb.SearchRequest{
MsgType: internalpb.MsgType_kSearch,
MsgType: commonpb.MsgType_kSearch,
ReqID: int64(1),
ProxyID: int64(1),
Timestamp: uint64(10 + 1000),
@ -127,7 +127,7 @@ func TestSearch_Search(t *testing.T) {
},
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: int64(i),
CollectionName: "collection0",
PartitionTag: "default",
@ -158,7 +158,7 @@ func TestSearch_Search(t *testing.T) {
HashValues: []uint32{0},
}
timeTickResult := internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
}
@ -266,7 +266,7 @@ func TestSearch_SearchMultiSegments(t *testing.T) {
HashValues: []uint32{0},
},
SearchRequest: internalpb.SearchRequest{
MsgType: internalpb.MsgType_kSearch,
MsgType: commonpb.MsgType_kSearch,
ReqID: int64(1),
ProxyID: int64(1),
Timestamp: uint64(10 + 1000),
@ -317,7 +317,7 @@ func TestSearch_SearchMultiSegments(t *testing.T) {
},
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: int64(i),
CollectionName: "collection0",
PartitionTag: "default",
@ -348,7 +348,7 @@ func TestSearch_SearchMultiSegments(t *testing.T) {
HashValues: []uint32{0},
}
timeTickResult := internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
}

View File

@ -1,126 +0,0 @@
package querynode
import (
"context"
"errors"
"fmt"
"github.com/zilliztech/milvus-distributed/internal/kv"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/proto/datapb"
"github.com/zilliztech/milvus-distributed/internal/proto/indexpb"
queryPb "github.com/zilliztech/milvus-distributed/internal/proto/querypb"
"github.com/zilliztech/milvus-distributed/internal/querynode/client"
"github.com/zilliztech/milvus-distributed/internal/storage"
)
type segmentManager struct {
replica collectionReplica
// TODO: replace by client instead of grpc client
dataClient datapb.DataServiceClient
indexBuilderClient indexpb.IndexServiceClient
queryNodeClient *client.Client
kv kv.Base // minio kv
iCodec storage.InsertCodec
}
func (s *segmentManager) loadSegment(segmentID UniqueID, hasBeenBuiltIndex bool, indexID UniqueID, vecFieldIDs []int64) error {
// 1. load segment
req := &datapb.InsertBinlogPathRequest{
SegmentID: segmentID,
}
pathResponse, err := s.dataClient.GetInsertBinlogPaths(context.TODO(), req)
if err != nil {
return err
}
if len(pathResponse.FieldIDs) != len(pathResponse.Paths) {
return errors.New("illegal InsertBinlogPathsResponse")
}
for fieldID, i := range pathResponse.FieldIDs {
paths := pathResponse.Paths[i].Values
blobs := make([]*storage.Blob, 0)
for _, path := range paths {
binLog, err := s.kv.Load(path)
if err != nil {
// TODO: return or continue?
return err
}
blobs = append(blobs, &storage.Blob{
Key: "", // TODO: key???
Value: []byte(binLog),
})
}
_, _, insertData, err := s.iCodec.Deserialize(blobs)
if err != nil {
// TODO: return or continue
return err
}
if len(insertData.Data) != 1 {
return errors.New("we expect only one field in deserialized insert data")
}
for _, value := range insertData.Data {
switch fieldData := value.(type) {
case storage.BoolFieldData:
numRows := fieldData.NumRows
data := fieldData.Data
fmt.Println(numRows, data, fieldID)
// TODO: s.replica.addSegment()
case storage.Int8FieldData:
// TODO: s.replica.addSegment()
case storage.Int16FieldData:
// TODO: s.replica.addSegment()
case storage.Int32FieldData:
// TODO: s.replica.addSegment()
case storage.Int64FieldData:
// TODO: s.replica.addSegment()
case storage.FloatFieldData:
// TODO: s.replica.addSegment()
case storage.DoubleFieldData:
// TODO: s.replica.addSegment()
default:
// TODO: what if the index has not been built ?
// does the info from hasBeenBuiltIndex is synced with the dataService?
return errors.New("unsupported field data type")
}
}
}
// 2. load index
// does the info from hasBeenBuiltIndex is synced with the dataService?
if !hasBeenBuiltIndex {
req := &indexpb.IndexFilePathRequest{
IndexID: indexID,
}
pathResponse, err := s.indexBuilderClient.GetIndexFilePaths(context.TODO(), req)
if err != nil || pathResponse.Status.ErrorCode != commonpb.ErrorCode_SUCCESS {
return err
}
targetSegment, err := s.replica.getSegmentByID(segmentID)
if err != nil {
return err
}
for _, vecFieldID := range vecFieldIDs {
targetIndexParam, ok := targetSegment.indexParam[vecFieldID]
if !ok {
return errors.New(fmt.Sprint("cannot found index params in segment ", segmentID, " with field = ", vecFieldID))
}
err := s.queryNodeClient.LoadIndex(pathResponse.IndexFilePaths, segmentID, vecFieldID, "", targetIndexParam)
if err != nil {
return err
}
}
}
return nil
}
func (s *segmentManager) releaseSegment(in *queryPb.ReleaseSegmentRequest) error {
// TODO: implement
// TODO: release specific field, we need segCore supply relevant interface
return nil
}

View File

@ -7,6 +7,8 @@ import (
"strconv"
"time"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
@ -73,7 +75,7 @@ func (sService *statsService) publicStatistic(fieldStats []*internalpb.FieldStat
segStats := sService.replica.getSegmentStatistics()
queryNodeStats := internalpb.QueryNodeStats{
MsgType: internalpb.MsgType_kQueryNodeStats,
MsgType: commonpb.MsgType_kQueryNodeStats,
PeerID: Params.QueryNodeID,
SegStats: segStats,
FieldStats: fieldStats,

View File

@ -6,6 +6,7 @@ import (
"github.com/zilliztech/milvus-distributed/internal/errors"
ms "github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
@ -78,7 +79,7 @@ func (syncMsgProducer *timeSyncMsgProducer) broadcastMsg(barrier TimeTickBarrier
HashValues: []uint32{0},
}
timeTickResult := internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: 0,
Timestamp: timetick,
}

View File

@ -4,9 +4,9 @@ import (
"fmt"
"log"
"github.com/opentracing/opentracing-go"
"github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/opentracing/opentracing-go"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
)
@ -38,7 +38,7 @@ func (inNode *InputNode) Operate([]*Msg) []*Msg {
tracer := opentracing.GlobalTracer()
if tracer != nil && msgPack != nil {
for _, msg := range msgPack.Msgs {
if msg.Type() == internalpb.MsgType_kInsert {
if msg.Type() == commonpb.MsgType_kInsert {
var child opentracing.Span
ctx := msg.GetMsgContext()
if parent := opentracing.SpanFromContext(ctx); parent != nil {

View File

@ -3,6 +3,8 @@ package writerclient
import (
"strconv"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/golang/protobuf/proto"
"go.etcd.io/etcd/clientv3"
@ -56,7 +58,7 @@ func (c *Client) FlushSegment(segmentID UniqueID, collectionID UniqueID, partiti
}
flushMsg := internalPb.FlushMsg{
MsgType: internalPb.MsgType_kFlush,
MsgType: commonpb.MsgType_kFlush,
SegmentID: segmentID,
CollectionID: collectionID,
PartitionTag: partitionTag,

View File

@ -128,9 +128,9 @@ func TestDataSyncService_Start(t *testing.T) {
},
},
InsertRequest: internalPb.InsertRequest{
MsgType: internalPb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: UniqueID(0),
CollectionName: "coll1",
CollectionName: "col1",
PartitionTag: "default",
SegmentID: UniqueID(1),
ChannelID: UniqueID(0),
@ -162,7 +162,7 @@ func TestDataSyncService_Start(t *testing.T) {
HashValues: []uint32{0},
},
TimeTickMsg: internalPb.TimeTickMsg{
MsgType: internalPb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: UniqueID(0),
Timestamp: math.MaxUint64,
},
@ -206,7 +206,7 @@ func TestDataSyncService_Start(t *testing.T) {
<-ctx.Done()
}
func newMeta() {
func newMeta() *etcdpb.CollectionMeta {
ETCDAddr := Params.EtcdAddress
MetaRootPath := Params.MetaRootPath
@ -375,4 +375,6 @@ func newMeta() {
segBytes := proto.MarshalTextString(&segSch)
kvClient.Save("/segment/"+strconv.FormatInt(segSch.SegmentID, 10), segBytes)
return &collection
}

View File

@ -8,12 +8,13 @@ import (
"sort"
"strconv"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/golang/protobuf/proto"
"github.com/zilliztech/milvus-distributed/internal/allocator"
"github.com/zilliztech/milvus-distributed/internal/kv"
miniokv "github.com/zilliztech/milvus-distributed/internal/kv/minio"
"github.com/zilliztech/milvus-distributed/internal/msgstream"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
"github.com/zilliztech/milvus-distributed/internal/proto/schemapb"
"github.com/zilliztech/milvus-distributed/internal/storage"
)
@ -106,15 +107,15 @@ func (ddNode *ddNode) Operate(in []*Msg) []*Msg {
// do dd tasks
for _, msg := range tsMessages {
switch msg.Type() {
case internalPb.MsgType_kCreateCollection:
case commonpb.MsgType_kCreateCollection:
ddNode.createCollection(msg.(*msgstream.CreateCollectionMsg))
case internalPb.MsgType_kDropCollection:
case commonpb.MsgType_kDropCollection:
ddNode.dropCollection(msg.(*msgstream.DropCollectionMsg))
case internalPb.MsgType_kCreatePartition:
case commonpb.MsgType_kCreatePartition:
ddNode.createPartition(msg.(*msgstream.CreatePartitionMsg))
case internalPb.MsgType_kDropPartition:
case commonpb.MsgType_kDropPartition:
ddNode.dropPartition(msg.(*msgstream.DropPartitionMsg))
case internalPb.MsgType_kFlush:
case commonpb.MsgType_kFlush:
fMsg := msg.(*msgstream.FlushMsg)
flushSegID := fMsg.SegmentID
ddMsg.flushMessages = append(ddMsg.flushMessages, fMsg)

View File

@ -52,7 +52,7 @@ func TestFlowGraphDDNode_Operate(t *testing.T) {
colName := "col-test-0"
// create collection
createColReq := internalpb.CreateCollectionRequest{
MsgType: internalpb.MsgType_kCreateCollection,
MsgType: commonpb.MsgType_kCreateCollection,
CollectionID: colID,
ReqID: 1,
Timestamp: 1,
@ -70,7 +70,7 @@ func TestFlowGraphDDNode_Operate(t *testing.T) {
// drop collection
dropColReq := internalpb.DropCollectionRequest{
MsgType: internalpb.MsgType_kDropCollection,
MsgType: commonpb.MsgType_kDropCollection,
CollectionID: colID,
ReqID: 2,
Timestamp: 2,
@ -90,7 +90,7 @@ func TestFlowGraphDDNode_Operate(t *testing.T) {
partitionTag := "partition-test-0"
// create partition
createPartitionReq := internalpb.CreatePartitionRequest{
MsgType: internalpb.MsgType_kCreatePartition,
MsgType: commonpb.MsgType_kCreatePartition,
CollectionID: colID,
PartitionID: partitionID,
ReqID: 3,
@ -112,7 +112,7 @@ func TestFlowGraphDDNode_Operate(t *testing.T) {
// drop partition
dropPartitionReq := internalpb.DropPartitionRequest{
MsgType: internalpb.MsgType_kDropPartition,
MsgType: commonpb.MsgType_kDropPartition,
CollectionID: colID,
PartitionID: partitionID,
ReqID: 4,
@ -139,7 +139,7 @@ func TestFlowGraphDDNode_Operate(t *testing.T) {
HashValues: []uint32{uint32(0)},
},
FlushMsg: internalpb.FlushMsg{
MsgType: internalpb.MsgType_kFlush,
MsgType: commonpb.MsgType_kFlush,
SegmentID: 1,
Timestamp: Timestamp(6),
},

View File

@ -9,7 +9,6 @@ import (
"github.com/zilliztech/milvus-distributed/internal/msgstream"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
internalPb "github.com/zilliztech/milvus-distributed/internal/proto/internalpb"
)
type filterDmNode struct {
@ -39,7 +38,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
tracer := opentracing.GlobalTracer()
if tracer != nil {
for _, msg := range msgStreamMsg.TsMessages() {
if msg.Type() == internalPb.MsgType_kInsert {
if msg.Type() == commonpb.MsgType_kInsert {
var child opentracing.Span
ctx := msg.GetMsgContext()
if parent := opentracing.SpanFromContext(ctx); parent != nil {
@ -76,7 +75,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
for _, fmsg := range ddMsg.flushMessages {
switch fmsg.Type() {
case internalPb.MsgType_kFlush:
case commonpb.MsgType_kFlush:
iMsg.flushMessages = append(iMsg.flushMessages, fmsg)
default:
log.Println("Non supporting message type:", fmsg.Type())
@ -85,7 +84,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
for key, msg := range msgStreamMsg.TsMessages() {
switch msg.Type() {
case internalPb.MsgType_kInsert:
case commonpb.MsgType_kInsert:
var ctx2 context.Context
if childs != nil {
if childs[key] != nil {
@ -99,7 +98,7 @@ func (fdmNode *filterDmNode) Operate(in []*Msg) []*Msg {
resMsg.SetMsgContext(ctx2)
iMsg.insertMessages = append(iMsg.insertMessages, resMsg)
}
// case internalPb.MsgType_kDelete:
// case commonpb.MsgType_kDelete:
// dmMsg.deleteMessages = append(dmMsg.deleteMessages, (*msg).(*msgstream.DeleteTask))
default:
log.Println("Non supporting message type:", msg.Type())

View File

@ -10,6 +10,8 @@ import (
"strconv"
"unsafe"
"github.com/zilliztech/milvus-distributed/internal/proto/commonpb"
"github.com/opentracing/opentracing-go"
oplog "github.com/opentracing/opentracing-go/log"
@ -125,24 +127,8 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
}
// Timestamps
_, ok = idata.Data[1].(*storage.Int64FieldData)
if !ok {
idata.Data[1] = &storage.Int64FieldData{
Data: []int64{},
NumRows: 0,
}
}
tsData := idata.Data[1].(*storage.Int64FieldData)
for _, ts := range msg.Timestamps {
tsData.Data = append(tsData.Data, int64(ts))
}
tsData.NumRows += len(msg.Timestamps)
span.LogFields(oplog.Int("tsData numRows", tsData.NumRows))
// 1.1 Get CollectionMeta from etcd
collection, err := ibNode.replica.getCollectionByName(collectionName)
//collSchema, err := ibNode.getCollectionSchemaByName(collectionName)
if err != nil {
// GOOSE TODO add error handler
log.Println("bbb, Get meta wrong:", err)
@ -181,18 +167,20 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
fieldData := idata.Data[field.FieldID].(*storage.FloatVectorFieldData)
var offset int
for _, blob := range msg.RowData {
offset = 0
for j := 0; j < dim; j++ {
var v float32
buf := bytes.NewBuffer(blob.GetValue()[pos:])
buf := bytes.NewBuffer(blob.GetValue()[pos+offset:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.read float32 err:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
offset += int(unsafe.Sizeof(*(&v)))
}
}
pos += offset
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_VECTOR_BINARY:
@ -220,13 +208,15 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.BinaryVectorFieldData)
var offset int
for _, blob := range msg.RowData {
bv := blob.GetValue()[pos : pos+(dim/8)]
bv := blob.GetValue()[pos+offset : pos+(dim/8)]
fieldData.Data = append(fieldData.Data, bv...)
pos += len(bv)
offset = len(bv)
}
pos += offset
fieldData.NumRows += len(msg.RowData)
case schemapb.DataType_BOOL:
if _, ok := idata.Data[field.FieldID]; !ok {
idata.Data[field.FieldID] = &storage.BoolFieldData{
@ -236,17 +226,18 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.BoolFieldData)
var v bool
for _, blob := range msg.RowData {
var v bool
buf := bytes.NewReader(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read bool failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_INT8:
if _, ok := idata.Data[field.FieldID]; !ok {
idata.Data[field.FieldID] = &storage.Int8FieldData{
@ -256,15 +247,15 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.Int8FieldData)
var v int8
for _, blob := range msg.RowData {
var v int8
buf := bytes.NewReader(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read int8 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_INT16:
@ -276,16 +267,15 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.Int16FieldData)
var v int16
for _, blob := range msg.RowData {
var v int16
buf := bytes.NewReader(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read int16 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_INT32:
@ -297,15 +287,15 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.Int32FieldData)
var v int32
for _, blob := range msg.RowData {
var v int32
buf := bytes.NewReader(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read int32 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_INT64:
@ -318,27 +308,24 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
fieldData := idata.Data[field.FieldID].(*storage.Int64FieldData)
switch field.FieldID {
case 0:
case 0: // rowIDs
fieldData.Data = append(fieldData.Data, msg.RowIDs...)
fieldData.NumRows += len(msg.RowIDs)
case 1:
// Timestamps
case 1: // Timestamps
for _, ts := range msg.Timestamps {
fieldData.Data = append(fieldData.Data, int64(ts))
}
fieldData.NumRows += len(msg.Timestamps)
default:
var v int64
for _, blob := range msg.RowData {
var v int64
buf := bytes.NewBuffer(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read int64 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
}
@ -351,16 +338,15 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.FloatFieldData)
var v float32
for _, blob := range msg.RowData {
var v float32
buf := bytes.NewBuffer(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read float32 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
case schemapb.DataType_DOUBLE:
@ -372,16 +358,16 @@ func (ibNode *insertBufferNode) Operate(in []*Msg) []*Msg {
}
fieldData := idata.Data[field.FieldID].(*storage.DoubleFieldData)
var v float64
for _, blob := range msg.RowData {
var v float64
buf := bytes.NewBuffer(blob.GetValue()[pos:])
if err := binary.Read(buf, binary.LittleEndian, &v); err != nil {
log.Println("binary.Read float64 failed:", err)
}
fieldData.Data = append(fieldData.Data, v)
pos += int(unsafe.Sizeof(*(&v)))
}
pos += int(unsafe.Sizeof(*(&v)))
fieldData.NumRows += len(msg.RowIDs)
}
}
@ -605,7 +591,7 @@ func (ibNode *insertBufferNode) writeHardTimeTick(ts Timestamp) error {
HashValues: []uint32{0},
},
TimeTickMsg: internalpb.TimeTickMsg{
MsgType: internalpb.MsgType_kTimeTick,
MsgType: commonpb.MsgType_kTimeTick,
PeerID: Params.WriteNodeID,
Timestamp: ts,
},

View File

@ -9,6 +9,7 @@ import (
"testing"
"time"
"github.com/golang/protobuf/proto"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
etcdkv "github.com/zilliztech/milvus-distributed/internal/kv/etcd"
@ -46,11 +47,16 @@ func TestFlowGraphInputBufferNode_Operate(t *testing.T) {
assert.Equal(t, testPath, fService.metaTable.client.(*etcdkv.EtcdKV).GetPath("."))
go fService.start()
// Params.FlushInsertBufSize = 2
replica := newReplica()
iBNode := newInsertBufferNode(ctx, insertChan, replica)
collMeta := newMeta()
schemaBlob := proto.MarshalTextString(collMeta.Schema)
require.NotEqual(t, "", schemaBlob)
newMeta()
replica := newReplica()
err = replica.addCollection(collMeta.ID, schemaBlob)
require.NoError(t, err)
// Params.FlushInsertBufSize = 2
iBNode := newInsertBufferNode(ctx, insertChan, replica)
inMsg := genInsertMsg()
var iMsg flowgraph.Msg = &inMsg
iBNode.Operate([]*flowgraph.Msg{&iMsg})
@ -70,14 +76,12 @@ func genInsertMsg() insertMsg {
binary.LittleEndian.PutUint32(buf, math.Float32bits(ele))
rawData = append(rawData, buf...)
}
log.Println(len(rawData))
// Binary vector
// Dimension of binary vector is 32
// size := 4, = 32 / 8
var bvector = []byte{255, 255, 255, 0}
rawData = append(rawData, bvector...)
log.Println(len(rawData))
// Bool
var fieldBool = true
@ -87,7 +91,6 @@ func genInsertMsg() insertMsg {
}
rawData = append(rawData, buf.Bytes()...)
log.Println(len(rawData))
// int8
var dataInt8 int8 = 100
@ -96,7 +99,6 @@ func genInsertMsg() insertMsg {
panic(err)
}
rawData = append(rawData, bint8.Bytes()...)
log.Println(len(rawData))
// int16
var dataInt16 int16 = 200
@ -105,7 +107,6 @@ func genInsertMsg() insertMsg {
panic(err)
}
rawData = append(rawData, bint16.Bytes()...)
log.Println(len(rawData))
// int32
var dataInt32 int32 = 300
@ -114,16 +115,14 @@ func genInsertMsg() insertMsg {
panic(err)
}
rawData = append(rawData, bint32.Bytes()...)
log.Println(len(rawData))
// int64
var dataInt64 int64 = 300
var dataInt64 int64 = 400
bint64 := new(bytes.Buffer)
if err := binary.Write(bint64, binary.LittleEndian, dataInt64); err != nil {
panic(err)
}
rawData = append(rawData, bint64.Bytes()...)
log.Println(len(rawData))
// float32
var datafloat float32 = 1.1
@ -132,7 +131,6 @@ func genInsertMsg() insertMsg {
panic(err)
}
rawData = append(rawData, bfloat32.Bytes()...)
log.Println(len(rawData))
// float64
var datafloat64 float64 = 2.2
@ -141,7 +139,7 @@ func genInsertMsg() insertMsg {
panic(err)
}
rawData = append(rawData, bfloat64.Bytes()...)
log.Println(len(rawData))
log.Println("Test rawdata length:", len(rawData))
timeRange := TimeRange{
timestampMin: 0,
@ -168,18 +166,34 @@ func genInsertMsg() insertMsg {
},
},
InsertRequest: internalpb.InsertRequest{
MsgType: internalpb.MsgType_kInsert,
MsgType: commonpb.MsgType_kInsert,
ReqID: UniqueID(0),
CollectionName: "coll1",
CollectionName: "col1",
PartitionTag: "default",
SegmentID: UniqueID(1),
ChannelID: UniqueID(0),
ProxyID: UniqueID(0),
Timestamps: []Timestamp{Timestamp(i + 1000)},
RowIDs: []UniqueID{UniqueID(i)},
Timestamps: []Timestamp{
Timestamp(i + 1000),
Timestamp(i + 1000),
Timestamp(i + 1000),
Timestamp(i + 1000),
Timestamp(i + 1000),
},
RowIDs: []UniqueID{
UniqueID(i),
UniqueID(i),
UniqueID(i),
UniqueID(i),
UniqueID(i),
},
RowData: []*commonpb.Blob{
{Value: rawData},
{Value: rawData},
{Value: rawData},
{Value: rawData},
{Value: rawData},
},
},
}
@ -193,9 +207,11 @@ func genInsertMsg() insertMsg {
},
},
FlushMsg: internalpb.FlushMsg{
MsgType: internalpb.MsgType_kFlush,
SegmentID: UniqueID(1),
Timestamp: Timestamp(2000),
MsgType: commonpb.MsgType_kFlush,
SegmentID: UniqueID(1),
Timestamp: Timestamp(2000),
CollectionID: UniqueID(1),
PartitionTag: "default",
},
}
iMsg.flushMessages = append(iMsg.flushMessages, &fmsg)