diff --git a/internal/core/src/pb/etcd_meta.pb.cc b/internal/core/src/pb/etcd_meta.pb.cc index 852a5028f6f8aca66fd5758d2b7befc091236407..35ede240a6a1532c11f35dac8e7517abb485e1bb 100644 --- a/internal/core/src/pb/etcd_meta.pb.cc +++ b/internal/core/src/pb/etcd_meta.pb.cc @@ -206,6 +206,7 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_etcd_5fmeta_2eproto::offsets[] PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::CollectionInfo, field_indexes_), PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::CollectionInfo, virtual_channel_names_), PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::CollectionInfo, physical_channel_names_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::CollectionInfo, partition_created_timestamps_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::etcd::SegmentIndexInfo, _internal_metadata_), ~0u, // no _extensions_ @@ -236,8 +237,8 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 17, -1, sizeof(::milvus::proto::etcd::IndexInfo)}, { 25, -1, sizeof(::milvus::proto::etcd::FieldIndexInfo)}, { 32, -1, sizeof(::milvus::proto::etcd::CollectionInfo)}, - { 45, -1, sizeof(::milvus::proto::etcd::SegmentIndexInfo)}, - { 57, -1, sizeof(::milvus::proto::etcd::CollectionMeta)}, + { 46, -1, sizeof(::milvus::proto::etcd::SegmentIndexInfo)}, + { 58, -1, sizeof(::milvus::proto::etcd::CollectionMeta)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -261,24 +262,25 @@ const char descriptor_table_protodef_etcd_5fmeta_2eproto[] PROTOBUF_SECTION_VARI "\022\n\nindex_name\030\001 \001(\t\022\017\n\007indexID\030\002 \001(\003\0227\n\014" "index_params\030\003 \003(\0132!.milvus.proto.common" ".KeyValuePair\"2\n\016FieldIndexInfo\022\017\n\007filed" - "ID\030\001 \001(\003\022\017\n\007indexID\030\002 \001(\003\"\217\002\n\016Collection" + "ID\030\001 \001(\003\022\017\n\007indexID\030\002 \001(\003\"\265\002\n\016Collection" "Info\022\n\n\002ID\030\001 \001(\003\0225\n\006schema\030\002 \001(\0132%.milvu" "s.proto.schema.CollectionSchema\022\023\n\013creat" "e_time\030\003 \001(\004\022\024\n\014partitionIDs\030\004 \003(\003\022\026\n\016pa" "rtitionNames\030\005 \003(\t\0228\n\rfield_indexes\030\006 \003(" "\0132!.milvus.proto.etcd.FieldIndexInfo\022\035\n\025" "virtual_channel_names\030\007 \003(\t\022\036\n\026physical_" - "channel_names\030\010 \003(\t\"\231\001\n\020SegmentIndexInfo" - "\022\024\n\014collectionID\030\001 \001(\003\022\023\n\013partitionID\030\002 " - "\001(\003\022\021\n\tsegmentID\030\003 \001(\003\022\017\n\007fieldID\030\004 \001(\003\022" - "\017\n\007indexID\030\005 \001(\003\022\017\n\007buildID\030\006 \001(\003\022\024\n\014ena" - "ble_index\030\007 \001(\010\"\252\001\n\016CollectionMeta\022\n\n\002ID" - "\030\001 \001(\003\0225\n\006schema\030\002 \001(\0132%.milvus.proto.sc" - "hema.CollectionSchema\022\023\n\013create_time\030\003 \001" - "(\004\022\022\n\nsegmentIDs\030\004 \003(\003\022\026\n\016partition_tags" - "\030\005 \003(\t\022\024\n\014partitionIDs\030\006 \003(\003B3Z1github.c" - "om/milvus-io/milvus/internal/proto/etcdp" - "bb\006proto3" + "channel_names\030\010 \003(\t\022$\n\034partition_created" + "_timestamps\030\t \003(\004\"\231\001\n\020SegmentIndexInfo\022\024" + "\n\014collectionID\030\001 \001(\003\022\023\n\013partitionID\030\002 \001(" + "\003\022\021\n\tsegmentID\030\003 \001(\003\022\017\n\007fieldID\030\004 \001(\003\022\017\n" + "\007indexID\030\005 \001(\003\022\017\n\007buildID\030\006 \001(\003\022\024\n\014enabl" + "e_index\030\007 \001(\010\"\252\001\n\016CollectionMeta\022\n\n\002ID\030\001" + " \001(\003\0225\n\006schema\030\002 \001(\0132%.milvus.proto.sche" + "ma.CollectionSchema\022\023\n\013create_time\030\003 \001(\004" + "\022\022\n\nsegmentIDs\030\004 \003(\003\022\026\n\016partition_tags\030\005" + " \003(\t\022\024\n\014partitionIDs\030\006 \003(\003B3Z1github.com" + "/milvus-io/milvus/internal/proto/etcdpbb" + "\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_etcd_5fmeta_2eproto_deps[2] = { &::descriptor_table_common_2eproto, @@ -296,7 +298,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_etc static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_etcd_5fmeta_2eproto_once; static bool descriptor_table_etcd_5fmeta_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_etcd_5fmeta_2eproto = { - &descriptor_table_etcd_5fmeta_2eproto_initialized, descriptor_table_protodef_etcd_5fmeta_2eproto, "etcd_meta.proto", 1089, + &descriptor_table_etcd_5fmeta_2eproto_initialized, descriptor_table_protodef_etcd_5fmeta_2eproto, "etcd_meta.proto", 1127, &descriptor_table_etcd_5fmeta_2eproto_once, descriptor_table_etcd_5fmeta_2eproto_sccs, descriptor_table_etcd_5fmeta_2eproto_deps, 7, 2, schemas, file_default_instances, TableStruct_etcd_5fmeta_2eproto::offsets, file_level_metadata_etcd_5fmeta_2eproto, 7, file_level_enum_descriptors_etcd_5fmeta_2eproto, file_level_service_descriptors_etcd_5fmeta_2eproto, @@ -1805,7 +1807,8 @@ CollectionInfo::CollectionInfo(const CollectionInfo& from) partitionnames_(from.partitionnames_), field_indexes_(from.field_indexes_), virtual_channel_names_(from.virtual_channel_names_), - physical_channel_names_(from.physical_channel_names_) { + physical_channel_names_(from.physical_channel_names_), + partition_created_timestamps_(from.partition_created_timestamps_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_schema()) { schema_ = new ::milvus::proto::schema::CollectionSchema(*from.schema_); @@ -1854,6 +1857,7 @@ void CollectionInfo::Clear() { field_indexes_.Clear(); virtual_channel_names_.Clear(); physical_channel_names_.Clear(); + partition_created_timestamps_.Clear(); if (GetArenaNoVirtual() == nullptr && schema_ != nullptr) { delete schema_; } @@ -1951,6 +1955,16 @@ const char* CollectionInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 66); } else goto handle_unusual; continue; + // repeated uint64 partition_created_timestamps = 9; + case 9: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 74)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(mutable_partition_created_timestamps(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 72) { + add_partition_created_timestamps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -2093,6 +2107,22 @@ bool CollectionInfo::MergePartialFromCodedStream( break; } + // repeated uint64 partition_created_timestamps = 9; + case 9: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (74 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, this->mutable_partition_created_timestamps()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (72 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + 1, 74u, input, this->mutable_partition_created_timestamps()))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -2186,6 +2216,17 @@ void CollectionInfo::SerializeWithCachedSizes( 8, this->physical_channel_names(i), output); } + // repeated uint64 partition_created_timestamps = 9; + if (this->partition_created_timestamps_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(9, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_partition_created_timestamps_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->partition_created_timestamps_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64NoTag( + this->partition_created_timestamps(i), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -2267,6 +2308,19 @@ void CollectionInfo::SerializeWithCachedSizes( WriteStringToArray(8, this->physical_channel_names(i), target); } + // repeated uint64 partition_created_timestamps = 9; + if (this->partition_created_timestamps_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 9, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _partition_created_timestamps_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteUInt64NoTagToArray(this->partition_created_timestamps_, target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -2338,6 +2392,21 @@ size_t CollectionInfo::ByteSizeLong() const { this->physical_channel_names(i)); } + // repeated uint64 partition_created_timestamps = 9; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt64Size(this->partition_created_timestamps_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _partition_created_timestamps_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + // .milvus.proto.schema.CollectionSchema schema = 2; if (this->has_schema()) { total_size += 1 + @@ -2391,6 +2460,7 @@ void CollectionInfo::MergeFrom(const CollectionInfo& from) { field_indexes_.MergeFrom(from.field_indexes_); virtual_channel_names_.MergeFrom(from.virtual_channel_names_); physical_channel_names_.MergeFrom(from.physical_channel_names_); + partition_created_timestamps_.MergeFrom(from.partition_created_timestamps_); if (from.has_schema()) { mutable_schema()->::milvus::proto::schema::CollectionSchema::MergeFrom(from.schema()); } @@ -2428,6 +2498,7 @@ void CollectionInfo::InternalSwap(CollectionInfo* other) { CastToBase(&field_indexes_)->InternalSwap(CastToBase(&other->field_indexes_)); virtual_channel_names_.InternalSwap(CastToBase(&other->virtual_channel_names_)); physical_channel_names_.InternalSwap(CastToBase(&other->physical_channel_names_)); + partition_created_timestamps_.InternalSwap(&other->partition_created_timestamps_); swap(schema_, other->schema_); swap(id_, other->id_); swap(create_time_, other->create_time_); diff --git a/internal/core/src/pb/etcd_meta.pb.h b/internal/core/src/pb/etcd_meta.pb.h index 008117d24cc2a67f22329a20e25f9bd35808729c..2f54b162d348178a18b20ed5a5845dce0412659b 100644 --- a/internal/core/src/pb/etcd_meta.pb.h +++ b/internal/core/src/pb/etcd_meta.pb.h @@ -841,6 +841,7 @@ class CollectionInfo : kFieldIndexesFieldNumber = 6, kVirtualChannelNamesFieldNumber = 7, kPhysicalChannelNamesFieldNumber = 8, + kPartitionCreatedTimestampsFieldNumber = 9, kSchemaFieldNumber = 2, kIDFieldNumber = 1, kCreateTimeFieldNumber = 3, @@ -918,6 +919,17 @@ class CollectionInfo : const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField& physical_channel_names() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField* mutable_physical_channel_names(); + // repeated uint64 partition_created_timestamps = 9; + int partition_created_timestamps_size() const; + void clear_partition_created_timestamps(); + ::PROTOBUF_NAMESPACE_ID::uint64 partition_created_timestamps(int index) const; + void set_partition_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); + void add_partition_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& + partition_created_timestamps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* + mutable_partition_created_timestamps(); + // .milvus.proto.schema.CollectionSchema schema = 2; bool has_schema() const; void clear_schema(); @@ -947,6 +959,8 @@ class CollectionInfo : ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::etcd::FieldIndexInfo > field_indexes_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField virtual_channel_names_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField physical_channel_names_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > partition_created_timestamps_; + mutable std::atomic _partition_created_timestamps_cached_byte_size_; ::milvus::proto::schema::CollectionSchema* schema_; ::PROTOBUF_NAMESPACE_ID::int64 id_; ::PROTOBUF_NAMESPACE_ID::uint64 create_time_; @@ -2064,6 +2078,36 @@ CollectionInfo::mutable_physical_channel_names() { return &physical_channel_names_; } +// repeated uint64 partition_created_timestamps = 9; +inline int CollectionInfo::partition_created_timestamps_size() const { + return partition_created_timestamps_.size(); +} +inline void CollectionInfo::clear_partition_created_timestamps() { + partition_created_timestamps_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 CollectionInfo::partition_created_timestamps(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.etcd.CollectionInfo.partition_created_timestamps) + return partition_created_timestamps_.Get(index); +} +inline void CollectionInfo::set_partition_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { + partition_created_timestamps_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.etcd.CollectionInfo.partition_created_timestamps) +} +inline void CollectionInfo::add_partition_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value) { + partition_created_timestamps_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.etcd.CollectionInfo.partition_created_timestamps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& +CollectionInfo::partition_created_timestamps() const { + // @@protoc_insertion_point(field_list:milvus.proto.etcd.CollectionInfo.partition_created_timestamps) + return partition_created_timestamps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* +CollectionInfo::mutable_partition_created_timestamps() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.etcd.CollectionInfo.partition_created_timestamps) + return &partition_created_timestamps_; +} + // ------------------------------------------------------------------- // SegmentIndexInfo diff --git a/internal/core/src/pb/milvus.pb.cc b/internal/core/src/pb/milvus.pb.cc index a2e5ca65d61cf96f2e37293dd9a40247be9914a1..3ae87b2e16de8b9592b9482ee8f34ddb4381598c 100644 --- a/internal/core/src/pb/milvus.pb.cc +++ b/internal/core/src/pb/milvus.pb.cc @@ -1321,6 +1321,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, collectionid_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, virtual_channel_names_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, physical_channel_names_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, created_timestamp_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeCollectionResponse, created_utc_timestamp_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::LoadCollectionRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1369,6 +1371,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowCollectionsResponse, status_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowCollectionsResponse, collection_names_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowCollectionsResponse, collection_ids_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowCollectionsResponse, created_timestamps_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowCollectionsResponse, created_utc_timestamps_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CreatePartitionRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1447,6 +1451,8 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowPartitionsResponse, status_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowPartitionsResponse, partition_names_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowPartitionsResponse, partitionids_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowPartitionsResponse, created_timestamps_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ShowPartitionsResponse, created_utc_timestamps_), ~0u, // no _has_bits_ PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::DescribeSegmentRequest, _internal_metadata_), ~0u, // no _extensions_ @@ -1815,62 +1821,62 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 34, -1, sizeof(::milvus::proto::milvus::StringResponse)}, { 41, -1, sizeof(::milvus::proto::milvus::DescribeCollectionRequest)}, { 51, -1, sizeof(::milvus::proto::milvus::DescribeCollectionResponse)}, - { 61, -1, sizeof(::milvus::proto::milvus::LoadCollectionRequest)}, - { 69, -1, sizeof(::milvus::proto::milvus::ReleaseCollectionRequest)}, - { 77, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsRequest)}, - { 85, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsResponse)}, - { 92, -1, sizeof(::milvus::proto::milvus::ShowCollectionsRequest)}, - { 101, -1, sizeof(::milvus::proto::milvus::ShowCollectionsResponse)}, - { 109, -1, sizeof(::milvus::proto::milvus::CreatePartitionRequest)}, - { 118, -1, sizeof(::milvus::proto::milvus::DropPartitionRequest)}, - { 127, -1, sizeof(::milvus::proto::milvus::HasPartitionRequest)}, - { 136, -1, sizeof(::milvus::proto::milvus::LoadPartitionsRequest)}, - { 145, -1, sizeof(::milvus::proto::milvus::ReleasePartitionsRequest)}, - { 154, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsRequest)}, - { 163, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsResponse)}, - { 170, -1, sizeof(::milvus::proto::milvus::ShowPartitionsRequest)}, - { 179, -1, sizeof(::milvus::proto::milvus::ShowPartitionsResponse)}, - { 187, -1, sizeof(::milvus::proto::milvus::DescribeSegmentRequest)}, - { 195, -1, sizeof(::milvus::proto::milvus::DescribeSegmentResponse)}, - { 204, -1, sizeof(::milvus::proto::milvus::ShowSegmentsRequest)}, - { 212, -1, sizeof(::milvus::proto::milvus::ShowSegmentsResponse)}, - { 219, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)}, - { 229, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)}, - { 239, -1, sizeof(::milvus::proto::milvus::IndexDescription)}, - { 248, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)}, - { 255, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressRequest)}, - { 265, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressResponse)}, - { 273, -1, sizeof(::milvus::proto::milvus::GetIndexStateRequest)}, - { 283, -1, sizeof(::milvus::proto::milvus::GetIndexStateResponse)}, - { 290, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)}, - { 300, -1, sizeof(::milvus::proto::milvus::InsertRequest)}, - { 312, -1, sizeof(::milvus::proto::milvus::MutationResult)}, - { 326, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)}, - { 334, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)}, - { 340, -1, sizeof(::milvus::proto::milvus::SearchRequest)}, - { 356, -1, sizeof(::milvus::proto::milvus::RetrieveRequest)}, - { 369, -1, sizeof(::milvus::proto::milvus::RetrieveResults)}, - { 377, -1, sizeof(::milvus::proto::milvus::Hits)}, - { 385, -1, sizeof(::milvus::proto::milvus::SearchResults)}, - { 392, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, - { 400, 407, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, - { 409, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, - { 417, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, - { 428, -1, sizeof(::milvus::proto::milvus::QueryResults)}, - { 435, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, - { 444, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, - { 452, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, - { 461, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, - { 470, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, - { 480, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, - { 488, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, - { 495, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, - { 507, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, - { 515, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, - { 522, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, - { 528, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, - { 534, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, - { 539, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, + { 63, -1, sizeof(::milvus::proto::milvus::LoadCollectionRequest)}, + { 71, -1, sizeof(::milvus::proto::milvus::ReleaseCollectionRequest)}, + { 79, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsRequest)}, + { 87, -1, sizeof(::milvus::proto::milvus::GetCollectionStatisticsResponse)}, + { 94, -1, sizeof(::milvus::proto::milvus::ShowCollectionsRequest)}, + { 103, -1, sizeof(::milvus::proto::milvus::ShowCollectionsResponse)}, + { 113, -1, sizeof(::milvus::proto::milvus::CreatePartitionRequest)}, + { 122, -1, sizeof(::milvus::proto::milvus::DropPartitionRequest)}, + { 131, -1, sizeof(::milvus::proto::milvus::HasPartitionRequest)}, + { 140, -1, sizeof(::milvus::proto::milvus::LoadPartitionsRequest)}, + { 149, -1, sizeof(::milvus::proto::milvus::ReleasePartitionsRequest)}, + { 158, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsRequest)}, + { 167, -1, sizeof(::milvus::proto::milvus::GetPartitionStatisticsResponse)}, + { 174, -1, sizeof(::milvus::proto::milvus::ShowPartitionsRequest)}, + { 183, -1, sizeof(::milvus::proto::milvus::ShowPartitionsResponse)}, + { 193, -1, sizeof(::milvus::proto::milvus::DescribeSegmentRequest)}, + { 201, -1, sizeof(::milvus::proto::milvus::DescribeSegmentResponse)}, + { 210, -1, sizeof(::milvus::proto::milvus::ShowSegmentsRequest)}, + { 218, -1, sizeof(::milvus::proto::milvus::ShowSegmentsResponse)}, + { 225, -1, sizeof(::milvus::proto::milvus::CreateIndexRequest)}, + { 235, -1, sizeof(::milvus::proto::milvus::DescribeIndexRequest)}, + { 245, -1, sizeof(::milvus::proto::milvus::IndexDescription)}, + { 254, -1, sizeof(::milvus::proto::milvus::DescribeIndexResponse)}, + { 261, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressRequest)}, + { 271, -1, sizeof(::milvus::proto::milvus::GetIndexBuildProgressResponse)}, + { 279, -1, sizeof(::milvus::proto::milvus::GetIndexStateRequest)}, + { 289, -1, sizeof(::milvus::proto::milvus::GetIndexStateResponse)}, + { 296, -1, sizeof(::milvus::proto::milvus::DropIndexRequest)}, + { 306, -1, sizeof(::milvus::proto::milvus::InsertRequest)}, + { 318, -1, sizeof(::milvus::proto::milvus::MutationResult)}, + { 332, -1, sizeof(::milvus::proto::milvus::PlaceholderValue)}, + { 340, -1, sizeof(::milvus::proto::milvus::PlaceholderGroup)}, + { 346, -1, sizeof(::milvus::proto::milvus::SearchRequest)}, + { 362, -1, sizeof(::milvus::proto::milvus::RetrieveRequest)}, + { 375, -1, sizeof(::milvus::proto::milvus::RetrieveResults)}, + { 383, -1, sizeof(::milvus::proto::milvus::Hits)}, + { 391, -1, sizeof(::milvus::proto::milvus::SearchResults)}, + { 398, -1, sizeof(::milvus::proto::milvus::FlushRequest)}, + { 406, 413, sizeof(::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse)}, + { 415, -1, sizeof(::milvus::proto::milvus::FlushResponse)}, + { 423, -1, sizeof(::milvus::proto::milvus::QueryRequest)}, + { 434, -1, sizeof(::milvus::proto::milvus::QueryResults)}, + { 441, -1, sizeof(::milvus::proto::milvus::VectorIDs)}, + { 450, -1, sizeof(::milvus::proto::milvus::VectorsArray)}, + { 458, -1, sizeof(::milvus::proto::milvus::CalcDistanceRequest)}, + { 467, -1, sizeof(::milvus::proto::milvus::CalcDistanceResults)}, + { 476, -1, sizeof(::milvus::proto::milvus::PersistentSegmentInfo)}, + { 486, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoRequest)}, + { 494, -1, sizeof(::milvus::proto::milvus::GetPersistentSegmentInfoResponse)}, + { 501, -1, sizeof(::milvus::proto::milvus::QuerySegmentInfo)}, + { 513, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoRequest)}, + { 521, -1, sizeof(::milvus::proto::milvus::GetQuerySegmentInfoResponse)}, + { 528, -1, sizeof(::milvus::proto::milvus::DummyRequest)}, + { 534, -1, sizeof(::milvus::proto::milvus::DummyResponse)}, + { 540, -1, sizeof(::milvus::proto::milvus::RegisterLinkRequest)}, + { 545, -1, sizeof(::milvus::proto::milvus::RegisterLinkResponse)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -1959,286 +1965,290 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE( "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" "\003 \001(\t\022\024\n\014collectionID\030\004 \001(\003\022\022\n\ntime_stam" - "p\030\005 \001(\004\"\325\001\n\032DescribeCollectionResponse\022+" + "p\030\005 \001(\004\"\217\002\n\032DescribeCollectionResponse\022+" "\n\006status\030\001 \001(\0132\033.milvus.proto.common.Sta" "tus\0225\n\006schema\030\002 \001(\0132%.milvus.proto.schem" "a.CollectionSchema\022\024\n\014collectionID\030\003 \001(\003" "\022\035\n\025virtual_channel_names\030\004 \003(\t\022\036\n\026physi" - "cal_channel_names\030\005 \003(\t\"m\n\025LoadCollectio" - "nRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.co" - "mmon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collect" - "ion_name\030\003 \001(\t\"p\n\030ReleaseCollectionReque" - "st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M" - "sgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_na" - "me\030\003 \001(\t\"v\n\036GetCollectionStatisticsReque" - "st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M" - "sgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_na" - "me\030\003 \001(\t\"\200\001\n\037GetCollectionStatisticsResp" - "onse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.comm" - "on.Status\0220\n\005stats\030\002 \003(\0132!.milvus.proto." - "common.KeyValuePair\"\241\001\n\026ShowCollectionsR" + "cal_channel_names\030\005 \003(\t\022\031\n\021created_times" + "tamp\030\006 \001(\004\022\035\n\025created_utc_timestamp\030\007 \001(" + "\004\"m\n\025LoadCollectionRequest\022*\n\004base\030\001 \001(\013" + "2\034.milvus.proto.common.MsgBase\022\017\n\007db_nam" + "e\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\"p\n\030Rele" + "aseCollectionRequest\022*\n\004base\030\001 \001(\0132\034.mil" + "vus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(" + "\t\022\027\n\017collection_name\030\003 \001(\t\"v\n\036GetCollect" + "ionStatisticsRequest\022*\n\004base\030\001 \001(\0132\034.mil" + "vus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(" + "\t\022\027\n\017collection_name\030\003 \001(\t\"\200\001\n\037GetCollec" + "tionStatisticsResponse\022+\n\006status\030\001 \001(\0132\033" + ".milvus.proto.common.Status\0220\n\005stats\030\002 \003" + "(\0132!.milvus.proto.common.KeyValuePair\"\241\001" + "\n\026ShowCollectionsRequest\022*\n\004base\030\001 \001(\0132\034" + ".milvus.proto.common.MsgBase\022\017\n\007db_name\030" + "\002 \001(\t\022\022\n\ntime_stamp\030\003 \001(\004\0226\n\004type\030\004 \001(\0162" + "(.milvus.proto.milvus.ShowCollectionsTyp" + "e\"\264\001\n\027ShowCollectionsResponse\022+\n\006status\030" + "\001 \001(\0132\033.milvus.proto.common.Status\022\030\n\020co" + "llection_names\030\002 \003(\t\022\026\n\016collection_ids\030\003" + " \003(\003\022\032\n\022created_timestamps\030\004 \003(\004\022\036\n\026crea" + "ted_utc_timestamps\030\005 \003(\004\"\206\001\n\026CreateParti" + "tionRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto" + ".common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017coll" + "ection_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(" + "\t\"\204\001\n\024DropPartitionRequest\022*\n\004base\030\001 \001(\013" + "2\034.milvus.proto.common.MsgBase\022\017\n\007db_nam" + "e\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016part" + "ition_name\030\004 \001(\t\"\203\001\n\023HasPartitionRequest" + "\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Msg" + "Base\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name" + "\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\"\206\001\n\025LoadP" + "artitionsRequest\022*\n\004base\030\001 \001(\0132\034.milvus." + "proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n" + "\017collection_name\030\003 \001(\t\022\027\n\017partition_name" + "s\030\004 \003(\t\"\211\001\n\030ReleasePartitionsRequest\022*\n\004" + "base\030\001 \001(\0132\034.milvus.proto.common.MsgBase" + "\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001" + "(\t\022\027\n\017partition_names\030\004 \003(\t\"\215\001\n\035GetParti" + "tionStatisticsRequest\022*\n\004base\030\001 \001(\0132\034.mi" + "lvus.proto.common.MsgBase\022\017\n\007db_name\030\002 \001" + "(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016partition" + "_name\030\004 \001(\t\"\177\n\036GetPartitionStatisticsRes" + "ponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.com" + "mon.Status\0220\n\005stats\030\002 \003(\0132!.milvus.proto" + ".common.KeyValuePair\"\203\001\n\025ShowPartitionsR" "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" - "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\022\n\ntime_stam" - "p\030\003 \001(\004\0226\n\004type\030\004 \001(\0162(.milvus.proto.mil" - "vus.ShowCollectionsType\"x\n\027ShowCollectio" - "nsResponse\022+\n\006status\030\001 \001(\0132\033.milvus.prot" - "o.common.Status\022\030\n\020collection_names\030\002 \003(" - "\t\022\026\n\016collection_ids\030\003 \003(\003\"\206\001\n\026CreatePart" - "itionRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot" - "o.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017col" - "lection_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001" - "(\t\"\204\001\n\024DropPartitionRequest\022*\n\004base\030\001 \001(" - "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" - "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016par" - "tition_name\030\004 \001(\t\"\203\001\n\023HasPartitionReques" - "t\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Ms" - "gBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_nam" - "e\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\"\206\001\n\025Load" - "PartitionsRequest\022*\n\004base\030\001 \001(\0132\034.milvus" - ".proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027" - "\n\017collection_name\030\003 \001(\t\022\027\n\017partition_nam" - "es\030\004 \003(\t\"\211\001\n\030ReleasePartitionsRequest\022*\n" - "\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBas" - "e\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 " - "\001(\t\022\027\n\017partition_names\030\004 \003(\t\"\215\001\n\035GetPart" - "itionStatisticsRequest\022*\n\004base\030\001 \001(\0132\034.m" + "on.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collectio" + "n_name\030\003 \001(\t\022\024\n\014collectionID\030\004 \001(\003\"\260\001\n\026S" + "howPartitionsResponse\022+\n\006status\030\001 \001(\0132\033." + "milvus.proto.common.Status\022\027\n\017partition_" + "names\030\002 \003(\t\022\024\n\014partitionIDs\030\003 \003(\003\022\032\n\022cre" + "ated_timestamps\030\004 \003(\004\022\036\n\026created_utc_tim" + "estamps\030\005 \003(\004\"m\n\026DescribeSegmentRequest\022" + "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" + "ase\022\024\n\014collectionID\030\002 \001(\003\022\021\n\tsegmentID\030\003" + " \001(\003\"~\n\027DescribeSegmentResponse\022+\n\006statu" + "s\030\001 \001(\0132\033.milvus.proto.common.Status\022\017\n\007" + "indexID\030\002 \001(\003\022\017\n\007buildID\030\003 \001(\003\022\024\n\014enable" + "_index\030\004 \001(\010\"l\n\023ShowSegmentsRequest\022*\n\004b" + "ase\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022" + "\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001" + "(\003\"W\n\024ShowSegmentsResponse\022+\n\006status\030\001 \001" + "(\0132\033.milvus.proto.common.Status\022\022\n\nsegme" + "ntIDs\030\002 \003(\003\"\267\001\n\022CreateIndexRequest\022*\n\004ba" + "se\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\017" + "\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t" + "\022\022\n\nfield_name\030\004 \001(\t\0227\n\014extra_params\030\005 \003" + "(\0132!.milvus.proto.common.KeyValuePair\"\224\001" + "\n\024DescribeIndexRequest\022*\n\004base\030\001 \001(\0132\034.m" "ilvus.proto.common.MsgBase\022\017\n\007db_name\030\002 " - "\001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016partitio" - "n_name\030\004 \001(\t\"\177\n\036GetPartitionStatisticsRe" - "sponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.co" - "mmon.Status\0220\n\005stats\030\002 \003(\0132!.milvus.prot" - "o.common.KeyValuePair\"\203\001\n\025ShowPartitions" + "\001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield_na" + "me\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"~\n\020IndexDes" + "cription\022\022\n\nindex_name\030\001 \001(\t\022\017\n\007indexID\030" + "\002 \001(\003\0221\n\006params\030\003 \003(\0132!.milvus.proto.com" + "mon.KeyValuePair\022\022\n\nfield_name\030\004 \001(\t\"\207\001\n" + "\025DescribeIndexResponse\022+\n\006status\030\001 \001(\0132\033" + ".milvus.proto.common.Status\022A\n\022index_des" + "criptions\030\002 \003(\0132%.milvus.proto.milvus.In" + "dexDescription\"\234\001\n\034GetIndexBuildProgress" "Request\022*\n\004base\030\001 \001(\0132\034.milvus.proto.com" "mon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collecti" - "on_name\030\003 \001(\t\022\024\n\014collectionID\030\004 \001(\003\"t\n\026S" - "howPartitionsResponse\022+\n\006status\030\001 \001(\0132\033." - "milvus.proto.common.Status\022\027\n\017partition_" - "names\030\002 \003(\t\022\024\n\014partitionIDs\030\003 \003(\003\"m\n\026Des" - "cribeSegmentRequest\022*\n\004base\030\001 \001(\0132\034.milv" - "us.proto.common.MsgBase\022\024\n\014collectionID\030" - "\002 \001(\003\022\021\n\tsegmentID\030\003 \001(\003\"~\n\027DescribeSegm" - "entResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pro" - "to.common.Status\022\017\n\007indexID\030\002 \001(\003\022\017\n\007bui" - "ldID\030\003 \001(\003\022\024\n\014enable_index\030\004 \001(\010\"l\n\023Show" - "SegmentsRequest\022*\n\004base\030\001 \001(\0132\034.milvus.p" - "roto.common.MsgBase\022\024\n\014collectionID\030\002 \001(" - "\003\022\023\n\013partitionID\030\003 \001(\003\"W\n\024ShowSegmentsRe" + "on_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nind" + "ex_name\030\005 \001(\t\"v\n\035GetIndexBuildProgressRe" "sponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.co" - "mmon.Status\022\022\n\nsegmentIDs\030\002 \003(\003\"\267\001\n\022Crea" - "teIndexRequest\022*\n\004base\030\001 \001(\0132\034.milvus.pr" - "oto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017c" - "ollection_name\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t" - "\0227\n\014extra_params\030\005 \003(\0132!.milvus.proto.co" - "mmon.KeyValuePair\"\224\001\n\024DescribeIndexReque" - "st\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.M" - "sgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_na" - "me\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_na" - "me\030\005 \001(\t\"~\n\020IndexDescription\022\022\n\nindex_na" - "me\030\001 \001(\t\022\017\n\007indexID\030\002 \001(\003\0221\n\006params\030\003 \003(" - "\0132!.milvus.proto.common.KeyValuePair\022\022\n\n" - "field_name\030\004 \001(\t\"\207\001\n\025DescribeIndexRespon" - "se\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common" - ".Status\022A\n\022index_descriptions\030\002 \003(\0132%.mi" - "lvus.proto.milvus.IndexDescription\"\234\001\n\034G" - "etIndexBuildProgressRequest\022*\n\004base\030\001 \001(" - "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" - "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfie" - "ld_name\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"v\n\035Get" - "IndexBuildProgressResponse\022+\n\006status\030\001 \001" - "(\0132\033.milvus.proto.common.Status\022\024\n\014index" - "ed_rows\030\002 \001(\003\022\022\n\ntotal_rows\030\003 \001(\003\"\224\001\n\024Ge" - "tIndexStateRequest\022*\n\004base\030\001 \001(\0132\034.milvu" - "s.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022" - "\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield_name\030\004" - " \001(\t\022\022\n\nindex_name\030\005 \001(\t\"t\n\025GetIndexStat" - "eResponse\022+\n\006status\030\001 \001(\0132\033.milvus.proto" - ".common.Status\022.\n\005state\030\002 \001(\0162\037.milvus.p" - "roto.common.IndexState\"\220\001\n\020DropIndexRequ" - "est\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common." - "MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_n" - "ame\030\003 \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_n" - "ame\030\005 \001(\t\"\327\001\n\rInsertRequest\022*\n\004base\030\001 \001(" - "\0132\034.milvus.proto.common.MsgBase\022\017\n\007db_na" - "me\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\026\n\016par" - "tition_name\030\004 \001(\t\0223\n\013fields_data\030\005 \003(\0132\036" - ".milvus.proto.schema.FieldData\022\021\n\thash_k" - "eys\030\006 \003(\r\022\020\n\010num_rows\030\007 \001(\r\"\360\001\n\016Mutation" - "Result\022+\n\006status\030\001 \001(\0132\033.milvus.proto.co" - "mmon.Status\022%\n\003IDs\030\002 \001(\0132\030.milvus.proto." - "schema.IDs\022\022\n\nsucc_index\030\003 \003(\r\022\021\n\terr_in" - "dex\030\004 \003(\r\022\024\n\014acknowledged\030\005 \001(\010\022\022\n\ninser" - "t_cnt\030\006 \001(\003\022\022\n\ndelete_cnt\030\007 \001(\003\022\022\n\nupser" - "t_cnt\030\010 \001(\003\022\021\n\ttimestamp\030\t \001(\004\"c\n\020Placeh" - "olderValue\022\013\n\003tag\030\001 \001(\t\0222\n\004type\030\002 \001(\0162$." - "milvus.proto.milvus.PlaceholderType\022\016\n\006v" - "alues\030\003 \003(\014\"O\n\020PlaceholderGroup\022;\n\014place" - "holders\030\001 \003(\0132%.milvus.proto.milvus.Plac" - "eholderValue\"\336\002\n\rSearchRequest\022*\n\004base\030\001" - " \001(\0132\034.milvus.proto.common.MsgBase\022\017\n\007db" - "_name\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017" - "partition_names\030\004 \003(\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021pl" - "aceholder_group\030\006 \001(\014\022.\n\010dsl_type\030\007 \001(\0162" - "\034.milvus.proto.common.DslType\022\025\n\routput_" - "fields\030\010 \003(\t\0228\n\rsearch_params\030\t \003(\0132!.mi" - "lvus.proto.common.KeyValuePair\022\030\n\020travel" - "_timestamp\030\n \001(\004\022\033\n\023guarantee_timestamp\030" - "\013 \001(\004\"\365\001\n\017RetrieveRequest\022*\n\004base\030\001 \001(\0132" - "\034.milvus.proto.common.MsgBase\022\017\n\007db_name" - "\030\002 \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\027\n\017parti" - "tion_names\030\004 \003(\t\022%\n\003ids\030\005 \001(\0132\030.milvus.p" - "roto.schema.IDs\022\025\n\routput_fields\030\006 \003(\t\022\030" - "\n\020travel_timestamp\030\007 \001(\004\022\033\n\023guarantee_ti" - "mestamp\030\010 \001(\004\"\232\001\n\017RetrieveResults\022+\n\006sta" - "tus\030\001 \001(\0132\033.milvus.proto.common.Status\022%" - "\n\003ids\030\002 \001(\0132\030.milvus.proto.schema.IDs\0223\n" - "\013fields_data\030\003 \003(\0132\036.milvus.proto.schema" - ".FieldData\"5\n\004Hits\022\013\n\003IDs\030\001 \003(\003\022\020\n\010row_d" - "ata\030\002 \003(\014\022\016\n\006scores\030\003 \003(\002\"t\n\rSearchResul" - "ts\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common" - ".Status\0226\n\007results\030\002 \001(\0132%.milvus.proto." - "schema.SearchResultData\"e\n\014FlushRequest\022" - "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" - "ase\022\017\n\007db_name\030\002 \001(\t\022\030\n\020collection_names" - "\030\003 \003(\t\"\351\001\n\rFlushResponse\022+\n\006status\030\001 \001(\013" - "2\033.milvus.proto.common.Status\022\017\n\007db_name" - "\030\002 \001(\t\022G\n\013coll_segIDs\030\003 \003(\01322.milvus.pro" - "to.milvus.FlushResponse.CollSegIDsEntry\032" - "Q\n\017CollSegIDsEntry\022\013\n\003key\030\001 \001(\t\022-\n\005value" - "\030\002 \001(\0132\036.milvus.proto.schema.LongArray:\002" - "8\001\"\242\001\n\014QueryRequest\022*\n\004base\030\001 \001(\0132\034.milv" + "mmon.Status\022\024\n\014indexed_rows\030\002 \001(\003\022\022\n\ntot" + "al_rows\030\003 \001(\003\"\224\001\n\024GetIndexStateRequest\022*" + "\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgBa" + "se\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030\003" + " \001(\t\022\022\n\nfield_name\030\004 \001(\t\022\022\n\nindex_name\030\005" + " \001(\t\"t\n\025GetIndexStateResponse\022+\n\006status\030" + "\001 \001(\0132\033.milvus.proto.common.Status\022.\n\005st" + "ate\030\002 \001(\0162\037.milvus.proto.common.IndexSta" + "te\"\220\001\n\020DropIndexRequest\022*\n\004base\030\001 \001(\0132\034." + "milvus.proto.common.MsgBase\022\017\n\007db_name\030\002" + " \001(\t\022\027\n\017collection_name\030\003 \001(\t\022\022\n\nfield_n" + "ame\030\004 \001(\t\022\022\n\nindex_name\030\005 \001(\t\"\327\001\n\rInsert" + "Request\022*\n\004base\030\001 \001(\0132\034.milvus.proto.com" + "mon.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collecti" + "on_name\030\003 \001(\t\022\026\n\016partition_name\030\004 \001(\t\0223\n" + "\013fields_data\030\005 \003(\0132\036.milvus.proto.schema" + ".FieldData\022\021\n\thash_keys\030\006 \003(\r\022\020\n\010num_row" + "s\030\007 \001(\r\"\360\001\n\016MutationResult\022+\n\006status\030\001 \001" + "(\0132\033.milvus.proto.common.Status\022%\n\003IDs\030\002" + " \001(\0132\030.milvus.proto.schema.IDs\022\022\n\nsucc_i" + "ndex\030\003 \003(\r\022\021\n\terr_index\030\004 \003(\r\022\024\n\014acknowl" + "edged\030\005 \001(\010\022\022\n\ninsert_cnt\030\006 \001(\003\022\022\n\ndelet" + "e_cnt\030\007 \001(\003\022\022\n\nupsert_cnt\030\010 \001(\003\022\021\n\ttimes" + "tamp\030\t \001(\004\"c\n\020PlaceholderValue\022\013\n\003tag\030\001 " + "\001(\t\0222\n\004type\030\002 \001(\0162$.milvus.proto.milvus." + "PlaceholderType\022\016\n\006values\030\003 \003(\014\"O\n\020Place" + "holderGroup\022;\n\014placeholders\030\001 \003(\0132%.milv" + "us.proto.milvus.PlaceholderValue\"\336\002\n\rSea" + "rchRequest\022*\n\004base\030\001 \001(\0132\034.milvus.proto." + "common.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017colle" + "ction_name\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(" + "\t\022\013\n\003dsl\030\005 \001(\t\022\031\n\021placeholder_group\030\006 \001(" + "\014\022.\n\010dsl_type\030\007 \001(\0162\034.milvus.proto.commo" + "n.DslType\022\025\n\routput_fields\030\010 \003(\t\0228\n\rsear" + "ch_params\030\t \003(\0132!.milvus.proto.common.Ke" + "yValuePair\022\030\n\020travel_timestamp\030\n \001(\004\022\033\n\023" + "guarantee_timestamp\030\013 \001(\004\"\365\001\n\017RetrieveRe" + "quest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.commo" + "n.MsgBase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection" + "_name\030\003 \001(\t\022\027\n\017partition_names\030\004 \003(\t\022%\n\003" + "ids\030\005 \001(\0132\030.milvus.proto.schema.IDs\022\025\n\ro" + "utput_fields\030\006 \003(\t\022\030\n\020travel_timestamp\030\007" + " \001(\004\022\033\n\023guarantee_timestamp\030\010 \001(\004\"\232\001\n\017Re" + "trieveResults\022+\n\006status\030\001 \001(\0132\033.milvus.p" + "roto.common.Status\022%\n\003ids\030\002 \001(\0132\030.milvus" + ".proto.schema.IDs\0223\n\013fields_data\030\003 \003(\0132\036" + ".milvus.proto.schema.FieldData\"5\n\004Hits\022\013" + "\n\003IDs\030\001 \003(\003\022\020\n\010row_data\030\002 \003(\014\022\016\n\006scores\030" + "\003 \003(\002\"t\n\rSearchResults\022+\n\006status\030\001 \001(\0132\033" + ".milvus.proto.common.Status\0226\n\007results\030\002" + " \001(\0132%.milvus.proto.schema.SearchResultD" + "ata\"e\n\014FlushRequest\022*\n\004base\030\001 \001(\0132\034.milv" "us.proto.common.MsgBase\022\017\n\007db_name\030\002 \001(\t" - "\022\027\n\017collection_name\030\003 \001(\t\022\014\n\004expr\030\004 \001(\t\022" - "\025\n\routput_fields\030\005 \003(\t\022\027\n\017partition_name" - "s\030\006 \003(\t\"p\n\014QueryResults\022+\n\006status\030\001 \001(\0132" - "\033.milvus.proto.common.Status\0223\n\013fields_d" - "ata\030\002 \003(\0132\036.milvus.proto.schema.FieldDat" - "a\"}\n\tVectorIDs\022\027\n\017collection_name\030\001 \001(\t\022" - "\022\n\nfield_name\030\002 \001(\t\022*\n\010id_array\030\003 \001(\0132\030." - "milvus.proto.schema.IDs\022\027\n\017partition_nam" - "es\030\004 \003(\t\"\203\001\n\014VectorsArray\0222\n\010id_array\030\001 " - "\001(\0132\036.milvus.proto.milvus.VectorIDsH\000\0226\n" - "\ndata_array\030\002 \001(\0132 .milvus.proto.schema." - "VectorFieldH\000B\007\n\005array\"\335\001\n\023CalcDistanceR" - "equest\022*\n\004base\030\001 \001(\0132\034.milvus.proto.comm" - "on.MsgBase\0222\n\007op_left\030\002 \001(\0132!.milvus.pro" - "to.milvus.VectorsArray\0223\n\010op_right\030\003 \001(\013" - "2!.milvus.proto.milvus.VectorsArray\0221\n\006p" - "arams\030\004 \003(\0132!.milvus.proto.common.KeyVal" - "uePair\"\265\001\n\023CalcDistanceResults\022+\n\006status" - "\030\001 \001(\0132\033.milvus.proto.common.Status\0221\n\010i" - "nt_dist\030\002 \001(\0132\035.milvus.proto.schema.IntA" - "rrayH\000\0225\n\nfloat_dist\030\003 \001(\0132\037.milvus.prot" - "o.schema.FloatArrayH\000B\007\n\005array\"\231\001\n\025Persi" - "stentSegmentInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014c" - "ollectionID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020" - "\n\010num_rows\030\004 \001(\003\0220\n\005state\030\005 \001(\0162!.milvus" - ".proto.common.SegmentState\"u\n\037GetPersist" - "entSegmentInfoRequest\022*\n\004base\030\001 \001(\0132\034.mi" - "lvus.proto.common.MsgBase\022\016\n\006dbName\030\002 \001(" - "\t\022\026\n\016collectionName\030\003 \001(\t\"\212\001\n GetPersist" - "entSegmentInfoResponse\022+\n\006status\030\001 \001(\0132\033" - ".milvus.proto.common.Status\0229\n\005infos\030\002 \003" - "(\0132*.milvus.proto.milvus.PersistentSegme" - "ntInfo\"\231\001\n\020QuerySegmentInfo\022\021\n\tsegmentID" - "\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n\013partitio" - "nID\030\003 \001(\003\022\020\n\010mem_size\030\004 \001(\003\022\020\n\010num_rows\030" - "\005 \001(\003\022\022\n\nindex_name\030\006 \001(\t\022\017\n\007indexID\030\007 \001" - "(\003\"p\n\032GetQuerySegmentInfoRequest\022*\n\004base" - "\030\001 \001(\0132\034.milvus.proto.common.MsgBase\022\016\n\006" - "dbName\030\002 \001(\t\022\026\n\016collectionName\030\003 \001(\t\"\200\001\n" - "\033GetQuerySegmentInfoResponse\022+\n\006status\030\001" - " \001(\0132\033.milvus.proto.common.Status\0224\n\005inf" - "os\030\002 \003(\0132%.milvus.proto.milvus.QuerySegm" - "entInfo\"$\n\014DummyRequest\022\024\n\014request_type\030" - "\001 \001(\t\"!\n\rDummyResponse\022\020\n\010response\030\001 \001(\t" - "\"\025\n\023RegisterLinkRequest\"r\n\024RegisterLinkR" - "esponse\022-\n\007address\030\001 \001(\0132\034.milvus.proto." - "common.Address\022+\n\006status\030\002 \001(\0132\033.milvus." - "proto.common.Status*,\n\023ShowCollectionsTy" - "pe\022\007\n\003All\020\000\022\014\n\010InMemory\020\001*>\n\017Placeholder" - "Type\022\010\n\004None\020\000\022\020\n\014BinaryVector\020d\022\017\n\013Floa" - "tVector\020e2\372\027\n\rMilvusService\022_\n\020CreateCol" - "lection\022,.milvus.proto.milvus.CreateColl" - "ectionRequest\032\033.milvus.proto.common.Stat" - "us\"\000\022[\n\016DropCollection\022*.milvus.proto.mi" - "lvus.DropCollectionRequest\032\033.milvus.prot" - "o.common.Status\"\000\022_\n\rHasCollection\022).mil" - "vus.proto.milvus.HasCollectionRequest\032!." - "milvus.proto.milvus.BoolResponse\"\000\022[\n\016Lo" - "adCollection\022*.milvus.proto.milvus.LoadC" - "ollectionRequest\032\033.milvus.proto.common.S" - "tatus\"\000\022a\n\021ReleaseCollection\022-.milvus.pr" - "oto.milvus.ReleaseCollectionRequest\032\033.mi" - "lvus.proto.common.Status\"\000\022w\n\022DescribeCo" - "llection\022..milvus.proto.milvus.DescribeC" - "ollectionRequest\032/.milvus.proto.milvus.D" - "escribeCollectionResponse\"\000\022\206\001\n\027GetColle" - "ctionStatistics\0223.milvus.proto.milvus.Ge" - "tCollectionStatisticsRequest\0324.milvus.pr" - "oto.milvus.GetCollectionStatisticsRespon" - "se\"\000\022n\n\017ShowCollections\022+.milvus.proto.m" - "ilvus.ShowCollectionsRequest\032,.milvus.pr" - "oto.milvus.ShowCollectionsResponse\"\000\022]\n\017" - "CreatePartition\022+.milvus.proto.milvus.Cr" - "eatePartitionRequest\032\033.milvus.proto.comm" - "on.Status\"\000\022Y\n\rDropPartition\022).milvus.pr" - "oto.milvus.DropPartitionRequest\032\033.milvus" - ".proto.common.Status\"\000\022]\n\014HasPartition\022(" - ".milvus.proto.milvus.HasPartitionRequest" - "\032!.milvus.proto.milvus.BoolResponse\"\000\022[\n" - "\016LoadPartitions\022*.milvus.proto.milvus.Lo" - "adPartitionsRequest\032\033.milvus.proto.commo" - "n.Status\"\000\022a\n\021ReleasePartitions\022-.milvus" - ".proto.milvus.ReleasePartitionsRequest\032\033" - ".milvus.proto.common.Status\"\000\022\203\001\n\026GetPar" - "titionStatistics\0222.milvus.proto.milvus.G" - "etPartitionStatisticsRequest\0323.milvus.pr" - "oto.milvus.GetPartitionStatisticsRespons" - "e\"\000\022k\n\016ShowPartitions\022*.milvus.proto.mil" - "vus.ShowPartitionsRequest\032+.milvus.proto" - ".milvus.ShowPartitionsResponse\"\000\022U\n\013Crea" - "teIndex\022\'.milvus.proto.milvus.CreateInde" - "xRequest\032\033.milvus.proto.common.Status\"\000\022" - "h\n\rDescribeIndex\022).milvus.proto.milvus.D" - "escribeIndexRequest\032*.milvus.proto.milvu" - "s.DescribeIndexResponse\"\000\022h\n\rGetIndexSta" - "te\022).milvus.proto.milvus.GetIndexStateRe" - "quest\032*.milvus.proto.milvus.GetIndexStat" - "eResponse\"\000\022\200\001\n\025GetIndexBuildProgress\0221." - "milvus.proto.milvus.GetIndexBuildProgres" - "sRequest\0322.milvus.proto.milvus.GetIndexB" - "uildProgressResponse\"\000\022Q\n\tDropIndex\022%.mi" - "lvus.proto.milvus.DropIndexRequest\032\033.mil" - "vus.proto.common.Status\"\000\022S\n\006Insert\022\".mi" - "lvus.proto.milvus.InsertRequest\032#.milvus" - ".proto.milvus.MutationResult\"\000\022R\n\006Search" - "\022\".milvus.proto.milvus.SearchRequest\032\".m" - "ilvus.proto.milvus.SearchResults\"\000\022X\n\010Re" - "trieve\022$.milvus.proto.milvus.RetrieveReq" - "uest\032$.milvus.proto.milvus.RetrieveResul" - "ts\"\000\022P\n\005Flush\022!.milvus.proto.milvus.Flus" - "hRequest\032\".milvus.proto.milvus.FlushResp" - "onse\"\000\022O\n\005Query\022!.milvus.proto.milvus.Qu" - "eryRequest\032!.milvus.proto.milvus.QueryRe" - "sults\"\000\022d\n\014CalcDistance\022(.milvus.proto.m" - "ilvus.CalcDistanceRequest\032(.milvus.proto" - ".milvus.CalcDistanceResults\"\000\022\211\001\n\030GetPer" - "sistentSegmentInfo\0224.milvus.proto.milvus" - ".GetPersistentSegmentInfoRequest\0325.milvu" - "s.proto.milvus.GetPersistentSegmentInfoR" - "esponse\"\000\022z\n\023GetQuerySegmentInfo\022/.milvu" - "s.proto.milvus.GetQuerySegmentInfoReques" - "t\0320.milvus.proto.milvus.GetQuerySegmentI" - "nfoResponse\"\000\022P\n\005Dummy\022!.milvus.proto.mi" - "lvus.DummyRequest\032\".milvus.proto.milvus." - "DummyResponse\"\000\022e\n\014RegisterLink\022(.milvus" - ".proto.milvus.RegisterLinkRequest\032).milv" - "us.proto.milvus.RegisterLinkResponse\"\0002u" - "\n\014ProxyService\022e\n\014RegisterLink\022(.milvus." - "proto.milvus.RegisterLinkRequest\032).milvu" - "s.proto.milvus.RegisterLinkResponse\"\000B5Z" - "3github.com/milvus-io/milvus/internal/pr" - "oto/milvuspbb\006proto3" + "\022\030\n\020collection_names\030\003 \003(\t\"\351\001\n\rFlushResp" + "onse\022+\n\006status\030\001 \001(\0132\033.milvus.proto.comm" + "on.Status\022\017\n\007db_name\030\002 \001(\t\022G\n\013coll_segID" + "s\030\003 \003(\01322.milvus.proto.milvus.FlushRespo" + "nse.CollSegIDsEntry\032Q\n\017CollSegIDsEntry\022\013" + "\n\003key\030\001 \001(\t\022-\n\005value\030\002 \001(\0132\036.milvus.prot" + "o.schema.LongArray:\0028\001\"\242\001\n\014QueryRequest\022" + "*\n\004base\030\001 \001(\0132\034.milvus.proto.common.MsgB" + "ase\022\017\n\007db_name\030\002 \001(\t\022\027\n\017collection_name\030" + "\003 \001(\t\022\014\n\004expr\030\004 \001(\t\022\025\n\routput_fields\030\005 \003" + "(\t\022\027\n\017partition_names\030\006 \003(\t\"p\n\014QueryResu" + "lts\022+\n\006status\030\001 \001(\0132\033.milvus.proto.commo" + "n.Status\0223\n\013fields_data\030\002 \003(\0132\036.milvus.p" + "roto.schema.FieldData\"}\n\tVectorIDs\022\027\n\017co" + "llection_name\030\001 \001(\t\022\022\n\nfield_name\030\002 \001(\t\022" + "*\n\010id_array\030\003 \001(\0132\030.milvus.proto.schema." + "IDs\022\027\n\017partition_names\030\004 \003(\t\"\203\001\n\014Vectors" + "Array\0222\n\010id_array\030\001 \001(\0132\036.milvus.proto.m" + "ilvus.VectorIDsH\000\0226\n\ndata_array\030\002 \001(\0132 ." + "milvus.proto.schema.VectorFieldH\000B\007\n\005arr" + "ay\"\335\001\n\023CalcDistanceRequest\022*\n\004base\030\001 \001(\013" + "2\034.milvus.proto.common.MsgBase\0222\n\007op_lef" + "t\030\002 \001(\0132!.milvus.proto.milvus.VectorsArr" + "ay\0223\n\010op_right\030\003 \001(\0132!.milvus.proto.milv" + "us.VectorsArray\0221\n\006params\030\004 \003(\0132!.milvus" + ".proto.common.KeyValuePair\"\265\001\n\023CalcDista" + "nceResults\022+\n\006status\030\001 \001(\0132\033.milvus.prot" + "o.common.Status\0221\n\010int_dist\030\002 \001(\0132\035.milv" + "us.proto.schema.IntArrayH\000\0225\n\nfloat_dist" + "\030\003 \001(\0132\037.milvus.proto.schema.FloatArrayH" + "\000B\007\n\005array\"\231\001\n\025PersistentSegmentInfo\022\021\n\t" + "segmentID\030\001 \001(\003\022\024\n\014collectionID\030\002 \001(\003\022\023\n" + "\013partitionID\030\003 \001(\003\022\020\n\010num_rows\030\004 \001(\003\0220\n\005" + "state\030\005 \001(\0162!.milvus.proto.common.Segmen" + "tState\"u\n\037GetPersistentSegmentInfoReques" + "t\022*\n\004base\030\001 \001(\0132\034.milvus.proto.common.Ms" + "gBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016collectionName\030" + "\003 \001(\t\"\212\001\n GetPersistentSegmentInfoRespon" + "se\022+\n\006status\030\001 \001(\0132\033.milvus.proto.common" + ".Status\0229\n\005infos\030\002 \003(\0132*.milvus.proto.mi" + "lvus.PersistentSegmentInfo\"\231\001\n\020QuerySegm" + "entInfo\022\021\n\tsegmentID\030\001 \001(\003\022\024\n\014collection" + "ID\030\002 \001(\003\022\023\n\013partitionID\030\003 \001(\003\022\020\n\010mem_siz" + "e\030\004 \001(\003\022\020\n\010num_rows\030\005 \001(\003\022\022\n\nindex_name\030" + "\006 \001(\t\022\017\n\007indexID\030\007 \001(\003\"p\n\032GetQuerySegmen" + "tInfoRequest\022*\n\004base\030\001 \001(\0132\034.milvus.prot" + "o.common.MsgBase\022\016\n\006dbName\030\002 \001(\t\022\026\n\016coll" + "ectionName\030\003 \001(\t\"\200\001\n\033GetQuerySegmentInfo" + "Response\022+\n\006status\030\001 \001(\0132\033.milvus.proto." + "common.Status\0224\n\005infos\030\002 \003(\0132%.milvus.pr" + "oto.milvus.QuerySegmentInfo\"$\n\014DummyRequ" + "est\022\024\n\014request_type\030\001 \001(\t\"!\n\rDummyRespon" + "se\022\020\n\010response\030\001 \001(\t\"\025\n\023RegisterLinkRequ" + "est\"r\n\024RegisterLinkResponse\022-\n\007address\030\001" + " \001(\0132\034.milvus.proto.common.Address\022+\n\006st" + "atus\030\002 \001(\0132\033.milvus.proto.common.Status*" + ",\n\023ShowCollectionsType\022\007\n\003All\020\000\022\014\n\010InMem" + "ory\020\001*>\n\017PlaceholderType\022\010\n\004None\020\000\022\020\n\014Bi" + "naryVector\020d\022\017\n\013FloatVector\020e2\372\027\n\rMilvus" + "Service\022_\n\020CreateCollection\022,.milvus.pro" + "to.milvus.CreateCollectionRequest\032\033.milv" + "us.proto.common.Status\"\000\022[\n\016DropCollecti" + "on\022*.milvus.proto.milvus.DropCollectionR" + "equest\032\033.milvus.proto.common.Status\"\000\022_\n" + "\rHasCollection\022).milvus.proto.milvus.Has" + "CollectionRequest\032!.milvus.proto.milvus." + "BoolResponse\"\000\022[\n\016LoadCollection\022*.milvu" + "s.proto.milvus.LoadCollectionRequest\032\033.m" + "ilvus.proto.common.Status\"\000\022a\n\021ReleaseCo" + "llection\022-.milvus.proto.milvus.ReleaseCo" + "llectionRequest\032\033.milvus.proto.common.St" + "atus\"\000\022w\n\022DescribeCollection\022..milvus.pr" + "oto.milvus.DescribeCollectionRequest\032/.m" + "ilvus.proto.milvus.DescribeCollectionRes" + "ponse\"\000\022\206\001\n\027GetCollectionStatistics\0223.mi" + "lvus.proto.milvus.GetCollectionStatistic" + "sRequest\0324.milvus.proto.milvus.GetCollec" + "tionStatisticsResponse\"\000\022n\n\017ShowCollecti" + "ons\022+.milvus.proto.milvus.ShowCollection" + "sRequest\032,.milvus.proto.milvus.ShowColle" + "ctionsResponse\"\000\022]\n\017CreatePartition\022+.mi" + "lvus.proto.milvus.CreatePartitionRequest" + "\032\033.milvus.proto.common.Status\"\000\022Y\n\rDropP" + "artition\022).milvus.proto.milvus.DropParti" + "tionRequest\032\033.milvus.proto.common.Status" + "\"\000\022]\n\014HasPartition\022(.milvus.proto.milvus" + ".HasPartitionRequest\032!.milvus.proto.milv" + "us.BoolResponse\"\000\022[\n\016LoadPartitions\022*.mi" + "lvus.proto.milvus.LoadPartitionsRequest\032" + "\033.milvus.proto.common.Status\"\000\022a\n\021Releas" + "ePartitions\022-.milvus.proto.milvus.Releas" + "ePartitionsRequest\032\033.milvus.proto.common" + ".Status\"\000\022\203\001\n\026GetPartitionStatistics\0222.m" + "ilvus.proto.milvus.GetPartitionStatistic" + "sRequest\0323.milvus.proto.milvus.GetPartit" + "ionStatisticsResponse\"\000\022k\n\016ShowPartition" + "s\022*.milvus.proto.milvus.ShowPartitionsRe" + "quest\032+.milvus.proto.milvus.ShowPartitio" + "nsResponse\"\000\022U\n\013CreateIndex\022\'.milvus.pro" + "to.milvus.CreateIndexRequest\032\033.milvus.pr" + "oto.common.Status\"\000\022h\n\rDescribeIndex\022).m" + "ilvus.proto.milvus.DescribeIndexRequest\032" + "*.milvus.proto.milvus.DescribeIndexRespo" + "nse\"\000\022h\n\rGetIndexState\022).milvus.proto.mi" + "lvus.GetIndexStateRequest\032*.milvus.proto" + ".milvus.GetIndexStateResponse\"\000\022\200\001\n\025GetI" + "ndexBuildProgress\0221.milvus.proto.milvus." + "GetIndexBuildProgressRequest\0322.milvus.pr" + "oto.milvus.GetIndexBuildProgressResponse" + "\"\000\022Q\n\tDropIndex\022%.milvus.proto.milvus.Dr" + "opIndexRequest\032\033.milvus.proto.common.Sta" + "tus\"\000\022S\n\006Insert\022\".milvus.proto.milvus.In" + "sertRequest\032#.milvus.proto.milvus.Mutati" + "onResult\"\000\022R\n\006Search\022\".milvus.proto.milv" + "us.SearchRequest\032\".milvus.proto.milvus.S" + "earchResults\"\000\022X\n\010Retrieve\022$.milvus.prot" + "o.milvus.RetrieveRequest\032$.milvus.proto." + "milvus.RetrieveResults\"\000\022P\n\005Flush\022!.milv" + "us.proto.milvus.FlushRequest\032\".milvus.pr" + "oto.milvus.FlushResponse\"\000\022O\n\005Query\022!.mi" + "lvus.proto.milvus.QueryRequest\032!.milvus." + "proto.milvus.QueryResults\"\000\022d\n\014CalcDista" + "nce\022(.milvus.proto.milvus.CalcDistanceRe" + "quest\032(.milvus.proto.milvus.CalcDistance" + "Results\"\000\022\211\001\n\030GetPersistentSegmentInfo\0224" + ".milvus.proto.milvus.GetPersistentSegmen" + "tInfoRequest\0325.milvus.proto.milvus.GetPe" + "rsistentSegmentInfoResponse\"\000\022z\n\023GetQuer" + "ySegmentInfo\022/.milvus.proto.milvus.GetQu" + "erySegmentInfoRequest\0320.milvus.proto.mil" + "vus.GetQuerySegmentInfoResponse\"\000\022P\n\005Dum" + "my\022!.milvus.proto.milvus.DummyRequest\032\"." + "milvus.proto.milvus.DummyResponse\"\000\022e\n\014R" + "egisterLink\022(.milvus.proto.milvus.Regist" + "erLinkRequest\032).milvus.proto.milvus.Regi" + "sterLinkResponse\"\0002u\n\014ProxyService\022e\n\014Re" + "gisterLink\022(.milvus.proto.milvus.Registe" + "rLinkRequest\032).milvus.proto.milvus.Regis" + "terLinkResponse\"\000B5Z3github.com/milvus-i" + "o/milvus/internal/proto/milvuspbb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = { &::descriptor_table_common_2eproto, @@ -2312,7 +2322,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_milvus_2eproto_once; static bool descriptor_table_milvus_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_milvus_2eproto = { - &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 11940, + &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 12120, &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 63, 2, schemas, file_default_instances, TableStruct_milvus_2eproto::offsets, file_level_metadata_milvus_2eproto, 63, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, @@ -4881,15 +4891,17 @@ DescribeCollectionResponse::DescribeCollectionResponse(const DescribeCollectionR } else { schema_ = nullptr; } - collectionid_ = from.collectionid_; + ::memcpy(&collectionid_, &from.collectionid_, + static_cast(reinterpret_cast(&created_utc_timestamp_) - + reinterpret_cast(&collectionid_)) + sizeof(created_utc_timestamp_)); // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.DescribeCollectionResponse) } void DescribeCollectionResponse::SharedCtor() { ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_DescribeCollectionResponse_milvus_2eproto.base); ::memset(&status_, 0, static_cast( - reinterpret_cast(&collectionid_) - - reinterpret_cast(&status_)) + sizeof(collectionid_)); + reinterpret_cast(&created_utc_timestamp_) - + reinterpret_cast(&status_)) + sizeof(created_utc_timestamp_)); } DescribeCollectionResponse::~DescribeCollectionResponse() { @@ -4927,7 +4939,9 @@ void DescribeCollectionResponse::Clear() { delete schema_; } schema_ = nullptr; - collectionid_ = PROTOBUF_LONGLONG(0); + ::memset(&collectionid_, 0, static_cast( + reinterpret_cast(&created_utc_timestamp_) - + reinterpret_cast(&collectionid_)) + sizeof(created_utc_timestamp_)); _internal_metadata_.Clear(); } @@ -4984,6 +4998,20 @@ const char* DescribeCollectionResponse::_InternalParse(const char* ptr, ::PROTOB } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 42); } else goto handle_unusual; continue; + // uint64 created_timestamp = 6; + case 6: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 48)) { + created_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint64 created_utc_timestamp = 7; + case 7: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 56)) { + created_utc_timestamp_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -5081,6 +5109,32 @@ bool DescribeCollectionResponse::MergePartialFromCodedStream( break; } + // uint64 created_timestamp = 6; + case 6: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (48 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, &created_timestamp_))); + } else { + goto handle_unusual; + } + break; + } + + // uint64 created_utc_timestamp = 7; + case 7: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (56 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, &created_utc_timestamp_))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -5145,6 +5199,16 @@ void DescribeCollectionResponse::SerializeWithCachedSizes( 5, this->physical_channel_names(i), output); } + // uint64 created_timestamp = 6; + if (this->created_timestamp() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(6, this->created_timestamp(), output); + } + + // uint64 created_utc_timestamp = 7; + if (this->created_utc_timestamp() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(7, this->created_utc_timestamp(), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -5197,6 +5261,16 @@ void DescribeCollectionResponse::SerializeWithCachedSizes( WriteStringToArray(5, this->physical_channel_names(i), target); } + // uint64 created_timestamp = 6; + if (this->created_timestamp() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(6, this->created_timestamp(), target); + } + + // uint64 created_utc_timestamp = 7; + if (this->created_utc_timestamp() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(7, this->created_utc_timestamp(), target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -5255,6 +5329,20 @@ size_t DescribeCollectionResponse::ByteSizeLong() const { this->collectionid()); } + // uint64 created_timestamp = 6; + if (this->created_timestamp() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->created_timestamp()); + } + + // uint64 created_utc_timestamp = 7; + if (this->created_utc_timestamp() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->created_utc_timestamp()); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); SetCachedSize(cached_size); return total_size; @@ -5293,6 +5381,12 @@ void DescribeCollectionResponse::MergeFrom(const DescribeCollectionResponse& fro if (from.collectionid() != 0) { set_collectionid(from.collectionid()); } + if (from.created_timestamp() != 0) { + set_created_timestamp(from.created_timestamp()); + } + if (from.created_utc_timestamp() != 0) { + set_created_utc_timestamp(from.created_utc_timestamp()); + } } void DescribeCollectionResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { @@ -5321,6 +5415,8 @@ void DescribeCollectionResponse::InternalSwap(DescribeCollectionResponse* other) swap(status_, other->status_); swap(schema_, other->schema_); swap(collectionid_, other->collectionid_); + swap(created_timestamp_, other->created_timestamp_); + swap(created_utc_timestamp_, other->created_utc_timestamp_); } ::PROTOBUF_NAMESPACE_ID::Metadata DescribeCollectionResponse::GetMetadata() const { @@ -7310,7 +7406,9 @@ ShowCollectionsResponse::ShowCollectionsResponse(const ShowCollectionsResponse& : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), collection_names_(from.collection_names_), - collection_ids_(from.collection_ids_) { + collection_ids_(from.collection_ids_), + created_timestamps_(from.created_timestamps_), + created_utc_timestamps_(from.created_utc_timestamps_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_status()) { status_ = new ::milvus::proto::common::Status(*from.status_); @@ -7351,6 +7449,8 @@ void ShowCollectionsResponse::Clear() { collection_names_.Clear(); collection_ids_.Clear(); + created_timestamps_.Clear(); + created_utc_timestamps_.Clear(); if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { delete status_; } @@ -7395,6 +7495,26 @@ const char* ShowCollectionsResponse::_InternalParse(const char* ptr, ::PROTOBUF_ CHK_(ptr); } else goto handle_unusual; continue; + // repeated uint64 created_timestamps = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(mutable_created_timestamps(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32) { + add_created_timestamps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated uint64 created_utc_timestamps = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(mutable_created_utc_timestamps(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40) { + add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -7468,6 +7588,38 @@ bool ShowCollectionsResponse::MergePartialFromCodedStream( break; } + // repeated uint64 created_timestamps = 4; + case 4: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, this->mutable_created_timestamps()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (32 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + 1, 34u, input, this->mutable_created_timestamps()))); + } else { + goto handle_unusual; + } + break; + } + + // repeated uint64 created_utc_timestamps = 5; + case 5: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, this->mutable_created_utc_timestamps()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (40 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + 1, 42u, input, this->mutable_created_utc_timestamps()))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -7522,6 +7674,28 @@ void ShowCollectionsResponse::SerializeWithCachedSizes( this->collection_ids(i), output); } + // repeated uint64 created_timestamps = 4; + if (this->created_timestamps_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(4, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_created_timestamps_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->created_timestamps_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64NoTag( + this->created_timestamps(i), output); + } + + // repeated uint64 created_utc_timestamps = 5; + if (this->created_utc_timestamps_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(5, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_created_utc_timestamps_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->created_utc_timestamps_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64NoTag( + this->created_utc_timestamps(i), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -7565,6 +7739,32 @@ void ShowCollectionsResponse::SerializeWithCachedSizes( WriteInt64NoTagToArray(this->collection_ids_, target); } + // repeated uint64 created_timestamps = 4; + if (this->created_timestamps_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 4, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _created_timestamps_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteUInt64NoTagToArray(this->created_timestamps_, target); + } + + // repeated uint64 created_utc_timestamps = 5; + if (this->created_utc_timestamps_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 5, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _created_utc_timestamps_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteUInt64NoTagToArray(this->created_utc_timestamps_, target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -7609,6 +7809,36 @@ size_t ShowCollectionsResponse::ByteSizeLong() const { total_size += data_size; } + // repeated uint64 created_timestamps = 4; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt64Size(this->created_timestamps_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _created_timestamps_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated uint64 created_utc_timestamps = 5; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt64Size(this->created_utc_timestamps_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _created_utc_timestamps_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + // .milvus.proto.common.Status status = 1; if (this->has_status()) { total_size += 1 + @@ -7645,6 +7875,8 @@ void ShowCollectionsResponse::MergeFrom(const ShowCollectionsResponse& from) { collection_names_.MergeFrom(from.collection_names_); collection_ids_.MergeFrom(from.collection_ids_); + created_timestamps_.MergeFrom(from.created_timestamps_); + created_utc_timestamps_.MergeFrom(from.created_utc_timestamps_); if (from.has_status()) { mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); } @@ -7673,6 +7905,8 @@ void ShowCollectionsResponse::InternalSwap(ShowCollectionsResponse* other) { _internal_metadata_.Swap(&other->_internal_metadata_); collection_names_.InternalSwap(CastToBase(&other->collection_names_)); collection_ids_.InternalSwap(&other->collection_ids_); + created_timestamps_.InternalSwap(&other->created_timestamps_); + created_utc_timestamps_.InternalSwap(&other->created_utc_timestamps_); swap(status_, other->status_); } @@ -11244,7 +11478,9 @@ ShowPartitionsResponse::ShowPartitionsResponse(const ShowPartitionsResponse& fro : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr), partition_names_(from.partition_names_), - partitionids_(from.partitionids_) { + partitionids_(from.partitionids_), + created_timestamps_(from.created_timestamps_), + created_utc_timestamps_(from.created_utc_timestamps_) { _internal_metadata_.MergeFrom(from._internal_metadata_); if (from.has_status()) { status_ = new ::milvus::proto::common::Status(*from.status_); @@ -11285,6 +11521,8 @@ void ShowPartitionsResponse::Clear() { partition_names_.Clear(); partitionids_.Clear(); + created_timestamps_.Clear(); + created_utc_timestamps_.Clear(); if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { delete status_; } @@ -11329,6 +11567,26 @@ const char* ShowPartitionsResponse::_InternalParse(const char* ptr, ::PROTOBUF_N CHK_(ptr); } else goto handle_unusual; continue; + // repeated uint64 created_timestamps = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 34)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(mutable_created_timestamps(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32) { + add_created_timestamps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; + // repeated uint64 created_utc_timestamps = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 42)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedUInt64Parser(mutable_created_utc_timestamps(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40) { + add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; default: { handle_unusual: if ((tag & 7) == 4 || tag == 0) { @@ -11402,6 +11660,38 @@ bool ShowPartitionsResponse::MergePartialFromCodedStream( break; } + // repeated uint64 created_timestamps = 4; + case 4: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (34 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, this->mutable_created_timestamps()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (32 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + 1, 34u, input, this->mutable_created_timestamps()))); + } else { + goto handle_unusual; + } + break; + } + + // repeated uint64 created_utc_timestamps = 5; + case 5: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (42 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, this->mutable_created_utc_timestamps()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (40 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + 1, 42u, input, this->mutable_created_utc_timestamps()))); + } else { + goto handle_unusual; + } + break; + } + default: { handle_unusual: if (tag == 0) { @@ -11456,6 +11746,28 @@ void ShowPartitionsResponse::SerializeWithCachedSizes( this->partitionids(i), output); } + // repeated uint64 created_timestamps = 4; + if (this->created_timestamps_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(4, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_created_timestamps_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->created_timestamps_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64NoTag( + this->created_timestamps(i), output); + } + + // repeated uint64 created_utc_timestamps = 5; + if (this->created_utc_timestamps_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(5, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_created_utc_timestamps_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->created_utc_timestamps_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64NoTag( + this->created_utc_timestamps(i), output); + } + if (_internal_metadata_.have_unknown_fields()) { ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( _internal_metadata_.unknown_fields(), output); @@ -11499,6 +11811,32 @@ void ShowPartitionsResponse::SerializeWithCachedSizes( WriteInt64NoTagToArray(this->partitionids_, target); } + // repeated uint64 created_timestamps = 4; + if (this->created_timestamps_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 4, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _created_timestamps_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteUInt64NoTagToArray(this->created_timestamps_, target); + } + + // repeated uint64 created_utc_timestamps = 5; + if (this->created_utc_timestamps_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 5, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _created_utc_timestamps_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteUInt64NoTagToArray(this->created_utc_timestamps_, target); + } + if (_internal_metadata_.have_unknown_fields()) { target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( _internal_metadata_.unknown_fields(), target); @@ -11543,6 +11881,36 @@ size_t ShowPartitionsResponse::ByteSizeLong() const { total_size += data_size; } + // repeated uint64 created_timestamps = 4; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt64Size(this->created_timestamps_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _created_timestamps_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // repeated uint64 created_utc_timestamps = 5; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + UInt64Size(this->created_utc_timestamps_); + if (data_size > 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int32Size( + static_cast<::PROTOBUF_NAMESPACE_ID::int32>(data_size)); + } + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(data_size); + _created_utc_timestamps_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + // .milvus.proto.common.Status status = 1; if (this->has_status()) { total_size += 1 + @@ -11579,6 +11947,8 @@ void ShowPartitionsResponse::MergeFrom(const ShowPartitionsResponse& from) { partition_names_.MergeFrom(from.partition_names_); partitionids_.MergeFrom(from.partitionids_); + created_timestamps_.MergeFrom(from.created_timestamps_); + created_utc_timestamps_.MergeFrom(from.created_utc_timestamps_); if (from.has_status()) { mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); } @@ -11607,6 +11977,8 @@ void ShowPartitionsResponse::InternalSwap(ShowPartitionsResponse* other) { _internal_metadata_.Swap(&other->_internal_metadata_); partition_names_.InternalSwap(CastToBase(&other->partition_names_)); partitionids_.InternalSwap(&other->partitionids_); + created_timestamps_.InternalSwap(&other->created_timestamps_); + created_utc_timestamps_.InternalSwap(&other->created_utc_timestamps_); swap(status_, other->status_); } diff --git a/internal/core/src/pb/milvus.pb.h b/internal/core/src/pb/milvus.pb.h index 7e1a4adc0315305bc0bdcd2e3d85690b89f0e896..58397710c5ed3800b7ecbe8f465b0f24968a3495 100644 --- a/internal/core/src/pb/milvus.pb.h +++ b/internal/core/src/pb/milvus.pb.h @@ -1464,6 +1464,8 @@ class DescribeCollectionResponse : kStatusFieldNumber = 1, kSchemaFieldNumber = 2, kCollectionIDFieldNumber = 3, + kCreatedTimestampFieldNumber = 6, + kCreatedUtcTimestampFieldNumber = 7, }; // repeated string virtual_channel_names = 4; int virtual_channel_names_size() const; @@ -1520,6 +1522,16 @@ class DescribeCollectionResponse : ::PROTOBUF_NAMESPACE_ID::int64 collectionid() const; void set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value); + // uint64 created_timestamp = 6; + void clear_created_timestamp(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_timestamp() const; + void set_created_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + + // uint64 created_utc_timestamp = 7; + void clear_created_utc_timestamp(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_utc_timestamp() const; + void set_created_utc_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value); + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.DescribeCollectionResponse) private: class _Internal; @@ -1530,6 +1542,8 @@ class DescribeCollectionResponse : ::milvus::proto::common::Status* status_; ::milvus::proto::schema::CollectionSchema* schema_; ::PROTOBUF_NAMESPACE_ID::int64 collectionid_; + ::PROTOBUF_NAMESPACE_ID::uint64 created_timestamp_; + ::PROTOBUF_NAMESPACE_ID::uint64 created_utc_timestamp_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_milvus_2eproto; }; @@ -2438,6 +2452,8 @@ class ShowCollectionsResponse : enum : int { kCollectionNamesFieldNumber = 2, kCollectionIdsFieldNumber = 3, + kCreatedTimestampsFieldNumber = 4, + kCreatedUtcTimestampsFieldNumber = 5, kStatusFieldNumber = 1, }; // repeated string collection_names = 2; @@ -2468,6 +2484,28 @@ class ShowCollectionsResponse : ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* mutable_collection_ids(); + // repeated uint64 created_timestamps = 4; + int created_timestamps_size() const; + void clear_created_timestamps(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_timestamps(int index) const; + void set_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); + void add_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& + created_timestamps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* + mutable_created_timestamps(); + + // repeated uint64 created_utc_timestamps = 5; + int created_utc_timestamps_size() const; + void clear_created_utc_timestamps(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_utc_timestamps(int index) const; + void set_created_utc_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); + void add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& + created_utc_timestamps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* + mutable_created_utc_timestamps(); + // .milvus.proto.common.Status status = 1; bool has_status() const; void clear_status(); @@ -2484,6 +2522,10 @@ class ShowCollectionsResponse : ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField collection_names_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > collection_ids_; mutable std::atomic _collection_ids_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > created_timestamps_; + mutable std::atomic _created_timestamps_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > created_utc_timestamps_; + mutable std::atomic _created_utc_timestamps_cached_byte_size_; ::milvus::proto::common::Status* status_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_milvus_2eproto; @@ -3969,6 +4011,8 @@ class ShowPartitionsResponse : enum : int { kPartitionNamesFieldNumber = 2, kPartitionIDsFieldNumber = 3, + kCreatedTimestampsFieldNumber = 4, + kCreatedUtcTimestampsFieldNumber = 5, kStatusFieldNumber = 1, }; // repeated string partition_names = 2; @@ -3999,6 +4043,28 @@ class ShowPartitionsResponse : ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* mutable_partitionids(); + // repeated uint64 created_timestamps = 4; + int created_timestamps_size() const; + void clear_created_timestamps(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_timestamps(int index) const; + void set_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); + void add_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& + created_timestamps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* + mutable_created_timestamps(); + + // repeated uint64 created_utc_timestamps = 5; + int created_utc_timestamps_size() const; + void clear_created_utc_timestamps(); + ::PROTOBUF_NAMESPACE_ID::uint64 created_utc_timestamps(int index) const; + void set_created_utc_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value); + void add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& + created_utc_timestamps() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* + mutable_created_utc_timestamps(); + // .milvus.proto.common.Status status = 1; bool has_status() const; void clear_status(); @@ -4015,6 +4081,10 @@ class ShowPartitionsResponse : ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField partition_names_; ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > partitionids_; mutable std::atomic _partitionids_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > created_timestamps_; + mutable std::atomic _created_timestamps_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 > created_utc_timestamps_; + mutable std::atomic _created_utc_timestamps_cached_byte_size_; ::milvus::proto::common::Status* status_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_milvus_2eproto; @@ -11830,6 +11900,34 @@ DescribeCollectionResponse::mutable_physical_channel_names() { return &physical_channel_names_; } +// uint64 created_timestamp = 6; +inline void DescribeCollectionResponse::clear_created_timestamp() { + created_timestamp_ = PROTOBUF_ULONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 DescribeCollectionResponse::created_timestamp() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionResponse.created_timestamp) + return created_timestamp_; +} +inline void DescribeCollectionResponse::set_created_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { + + created_timestamp_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionResponse.created_timestamp) +} + +// uint64 created_utc_timestamp = 7; +inline void DescribeCollectionResponse::clear_created_utc_timestamp() { + created_utc_timestamp_ = PROTOBUF_ULONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 DescribeCollectionResponse::created_utc_timestamp() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.DescribeCollectionResponse.created_utc_timestamp) + return created_utc_timestamp_; +} +inline void DescribeCollectionResponse::set_created_utc_timestamp(::PROTOBUF_NAMESPACE_ID::uint64 value) { + + created_utc_timestamp_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.DescribeCollectionResponse.created_utc_timestamp) +} + // ------------------------------------------------------------------- // LoadCollectionRequest @@ -12631,6 +12729,66 @@ ShowCollectionsResponse::mutable_collection_ids() { return &collection_ids_; } +// repeated uint64 created_timestamps = 4; +inline int ShowCollectionsResponse::created_timestamps_size() const { + return created_timestamps_.size(); +} +inline void ShowCollectionsResponse::clear_created_timestamps() { + created_timestamps_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 ShowCollectionsResponse::created_timestamps(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionsResponse.created_timestamps) + return created_timestamps_.Get(index); +} +inline void ShowCollectionsResponse::set_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_timestamps_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowCollectionsResponse.created_timestamps) +} +inline void ShowCollectionsResponse::add_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_timestamps_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowCollectionsResponse.created_timestamps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& +ShowCollectionsResponse::created_timestamps() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowCollectionsResponse.created_timestamps) + return created_timestamps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* +ShowCollectionsResponse::mutable_created_timestamps() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowCollectionsResponse.created_timestamps) + return &created_timestamps_; +} + +// repeated uint64 created_utc_timestamps = 5; +inline int ShowCollectionsResponse::created_utc_timestamps_size() const { + return created_utc_timestamps_.size(); +} +inline void ShowCollectionsResponse::clear_created_utc_timestamps() { + created_utc_timestamps_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 ShowCollectionsResponse::created_utc_timestamps(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowCollectionsResponse.created_utc_timestamps) + return created_utc_timestamps_.Get(index); +} +inline void ShowCollectionsResponse::set_created_utc_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_utc_timestamps_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowCollectionsResponse.created_utc_timestamps) +} +inline void ShowCollectionsResponse::add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_utc_timestamps_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowCollectionsResponse.created_utc_timestamps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& +ShowCollectionsResponse::created_utc_timestamps() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowCollectionsResponse.created_utc_timestamps) + return created_utc_timestamps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* +ShowCollectionsResponse::mutable_created_utc_timestamps() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowCollectionsResponse.created_utc_timestamps) + return &created_utc_timestamps_; +} + // ------------------------------------------------------------------- // CreatePartitionRequest @@ -14256,6 +14414,66 @@ ShowPartitionsResponse::mutable_partitionids() { return &partitionids_; } +// repeated uint64 created_timestamps = 4; +inline int ShowPartitionsResponse::created_timestamps_size() const { + return created_timestamps_.size(); +} +inline void ShowPartitionsResponse::clear_created_timestamps() { + created_timestamps_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 ShowPartitionsResponse::created_timestamps(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionsResponse.created_timestamps) + return created_timestamps_.Get(index); +} +inline void ShowPartitionsResponse::set_created_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_timestamps_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionsResponse.created_timestamps) +} +inline void ShowPartitionsResponse::add_created_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_timestamps_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowPartitionsResponse.created_timestamps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& +ShowPartitionsResponse::created_timestamps() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowPartitionsResponse.created_timestamps) + return created_timestamps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* +ShowPartitionsResponse::mutable_created_timestamps() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowPartitionsResponse.created_timestamps) + return &created_timestamps_; +} + +// repeated uint64 created_utc_timestamps = 5; +inline int ShowPartitionsResponse::created_utc_timestamps_size() const { + return created_utc_timestamps_.size(); +} +inline void ShowPartitionsResponse::clear_created_utc_timestamps() { + created_utc_timestamps_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 ShowPartitionsResponse::created_utc_timestamps(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ShowPartitionsResponse.created_utc_timestamps) + return created_utc_timestamps_.Get(index); +} +inline void ShowPartitionsResponse::set_created_utc_timestamps(int index, ::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_utc_timestamps_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ShowPartitionsResponse.created_utc_timestamps) +} +inline void ShowPartitionsResponse::add_created_utc_timestamps(::PROTOBUF_NAMESPACE_ID::uint64 value) { + created_utc_timestamps_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.ShowPartitionsResponse.created_utc_timestamps) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >& +ShowPartitionsResponse::created_utc_timestamps() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.ShowPartitionsResponse.created_utc_timestamps) + return created_utc_timestamps_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::uint64 >* +ShowPartitionsResponse::mutable_created_utc_timestamps() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.ShowPartitionsResponse.created_utc_timestamps) + return &created_utc_timestamps_; +} + // ------------------------------------------------------------------- // DescribeSegmentRequest diff --git a/internal/proto/etcd_meta.proto b/internal/proto/etcd_meta.proto index c7bda7ffc5f741930491b4522abf434b43c53865..0bf2a823888d169ee58a13725d01e761f88b3de9 100644 --- a/internal/proto/etcd_meta.proto +++ b/internal/proto/etcd_meta.proto @@ -38,6 +38,7 @@ message CollectionInfo { repeated FieldIndexInfo field_indexes = 6; repeated string virtual_channel_names = 7; repeated string physical_channel_names = 8; + repeated uint64 partition_created_timestamps = 9; } message SegmentIndexInfo { diff --git a/internal/proto/etcdpb/etcd_meta.pb.go b/internal/proto/etcdpb/etcd_meta.pb.go index 38b3f109628339ea2b7a8dad2f49c2b4bfb820a3..3a9a1bb1071c3b0d708fcf0f96939bf8121c44d6 100644 --- a/internal/proto/etcdpb/etcd_meta.pb.go +++ b/internal/proto/etcdpb/etcd_meta.pb.go @@ -243,17 +243,18 @@ func (m *FieldIndexInfo) GetIndexID() int64 { } type CollectionInfo struct { - ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` - Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` - CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` - PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` - PartitionNames []string `protobuf:"bytes,5,rep,name=partitionNames,proto3" json:"partitionNames,omitempty"` - FieldIndexes []*FieldIndexInfo `protobuf:"bytes,6,rep,name=field_indexes,json=fieldIndexes,proto3" json:"field_indexes,omitempty"` - VirtualChannelNames []string `protobuf:"bytes,7,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"` - PhysicalChannelNames []string `protobuf:"bytes,8,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ID int64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"` + Schema *schemapb.CollectionSchema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` + CreateTime uint64 `protobuf:"varint,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` + PartitionIDs []int64 `protobuf:"varint,4,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` + PartitionNames []string `protobuf:"bytes,5,rep,name=partitionNames,proto3" json:"partitionNames,omitempty"` + FieldIndexes []*FieldIndexInfo `protobuf:"bytes,6,rep,name=field_indexes,json=fieldIndexes,proto3" json:"field_indexes,omitempty"` + VirtualChannelNames []string `protobuf:"bytes,7,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"` + PhysicalChannelNames []string `protobuf:"bytes,8,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"` + PartitionCreatedTimestamps []uint64 `protobuf:"varint,9,rep,packed,name=partition_created_timestamps,json=partitionCreatedTimestamps,proto3" json:"partition_created_timestamps,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CollectionInfo) Reset() { *m = CollectionInfo{} } @@ -337,6 +338,13 @@ func (m *CollectionInfo) GetPhysicalChannelNames() []string { return nil } +func (m *CollectionInfo) GetPartitionCreatedTimestamps() []uint64 { + if m != nil { + return m.PartitionCreatedTimestamps + } + return nil +} + type SegmentIndexInfo struct { CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` PartitionID int64 `protobuf:"varint,2,opt,name=partitionID,proto3" json:"partitionID,omitempty"` @@ -516,47 +524,49 @@ func init() { func init() { proto.RegisterFile("etcd_meta.proto", fileDescriptor_975d306d62b73e88) } var fileDescriptor_975d306d62b73e88 = []byte{ - // 664 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0xcd, 0x6e, 0xd3, 0x4c, - 0x14, 0x95, 0x93, 0x36, 0xa9, 0x6f, 0xdc, 0xb4, 0x9d, 0xef, 0x47, 0x56, 0xd5, 0xef, 0xc3, 0xb5, - 0xd4, 0x12, 0x09, 0x91, 0x88, 0x16, 0xb1, 0x63, 0x01, 0xb5, 0x2a, 0x45, 0x88, 0xaa, 0xb8, 0x15, - 0x0b, 0x36, 0xd6, 0xc4, 0xbe, 0x49, 0x46, 0xb2, 0xc7, 0xc1, 0x33, 0xae, 0x9a, 0x1d, 0x6b, 0x1e, - 0x81, 0x17, 0x64, 0xc1, 0x3b, 0x20, 0xe4, 0x19, 0xdb, 0x71, 0xda, 0xb0, 0x64, 0xe7, 0x73, 0xee, - 0xdc, 0xf1, 0xb9, 0xe7, 0x9e, 0x81, 0x3d, 0x94, 0x61, 0x14, 0x24, 0x28, 0xe9, 0x70, 0x91, 0xa5, - 0x32, 0x25, 0x07, 0x09, 0x8b, 0xef, 0x72, 0xa1, 0xd1, 0xb0, 0xa8, 0x1e, 0x5a, 0x61, 0x9a, 0x24, - 0x29, 0xd7, 0xd4, 0xa1, 0x25, 0xc2, 0x39, 0x26, 0xe5, 0x71, 0xf7, 0x9b, 0x01, 0x70, 0x8b, 0x9c, - 0x72, 0xf9, 0x1e, 0x25, 0x25, 0x7d, 0x68, 0x8d, 0x3d, 0xdb, 0x70, 0x8c, 0x41, 0xdb, 0x6f,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0x15, 0xae, 0x96, 0x52, 0x2d, 0x63, 0x8d, 0x23, - 0x0e, 0xf4, 0x1a, 0x16, 0x95, 0x7b, 0x6d, 0x52, 0xe4, 0x08, 0x4c, 0x51, 0xde, 0xec, 0x29, 0xdf, - 0xdb, 0xfe, 0x8a, 0xd0, 0x69, 0x29, 0x46, 0xd6, 0x0f, 0x4e, 0xa5, 0x45, 0xc1, 0x66, 0x5a, 0xb6, - 0xd7, 0x93, 0x6b, 0x43, 0x77, 0x92, 0x33, 0xd5, 0xd3, 0xd1, 0x95, 0x12, 0x92, 0x63, 0xb0, 0x90, - 0xd3, 0x49, 0x8c, 0xda, 0x79, 0xbb, 0xeb, 0x18, 0x83, 0x1d, 0xbf, 0xa7, 0x39, 0x35, 0x98, 0xfb, - 0xc3, 0x68, 0x46, 0x6d, 0xe3, 0x2b, 0xfe, 0xd3, 0x51, 0xfb, 0x1f, 0xa0, 0x36, 0xa0, 0x0a, 0x5a, - 0x83, 0x21, 0x27, 0x8d, 0x98, 0x05, 0x92, 0xce, 0xaa, 0x98, 0xed, 0xd6, 0xec, 0x2d, 0x9d, 0x89, - 0x47, 0x89, 0xed, 0x3c, 0x4e, 0xec, 0xdb, 0xf3, 0x4f, 0x2f, 0x66, 0x4c, 0xce, 0xf3, 0x49, 0xf1, - 0x92, 0x47, 0x7a, 0x8c, 0xe7, 0x2c, 0x2d, 0xbf, 0x46, 0x8c, 0x4b, 0xcc, 0x38, 0x8d, 0x47, 0x6a, - 0xb2, 0x51, 0x91, 0xc8, 0xc5, 0x64, 0xd2, 0x51, 0xe8, 0xfc, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, - 0x06, 0xbe, 0x60, 0xc9, 0xc9, 0x05, 0x00, 0x00, + // 693 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x54, 0xcf, 0x6e, 0xd3, 0x4e, + 0x10, 0x96, 0xeb, 0x34, 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0x9b, 0x0a, 0x57, 0xfd, 0xb6, 0xbd, 0xee, 0x7d, 0x1b, + 0x5a, 0xe3, 0x9c, 0xa9, 0x9e, 0xa6, 0xce, 0x94, 0x21, 0x39, 0x86, 0x0e, 0x72, 0x3a, 0x8e, 0x51, + 0xef, 0xce, 0x6e, 0x39, 0x46, 0x6f, 0xc7, 0x6f, 0x6b, 0x4c, 0x0d, 0xe6, 0xfe, 0x32, 0x56, 0xcd, + 0xba, 0xf1, 0x1d, 0xf8, 0xdb, 0x66, 0x7d, 0x0c, 0x50, 0x0b, 0x50, 0x59, 0x75, 0x05, 0x21, 0x27, + 0x2b, 0x46, 0x0d, 0x24, 0x9d, 0x56, 0x46, 0xdd, 0xad, 0xd1, 0x11, 0x9d, 0x8a, 0x07, 0x9e, 0x6f, + 0x3e, 0xf4, 0xfc, 0xbb, 0xf3, 0xcf, 0x2f, 0xa6, 0x4c, 0xce, 0xf2, 0x71, 0xf1, 0x16, 0x0c, 0xf4, + 0x18, 0xcf, 0x59, 0x5a, 0x7e, 0x0d, 0x18, 0x97, 0x98, 0x71, 0x1a, 0x0f, 0xd4, 0x64, 0x83, 0xc2, + 0xd3, 0xf3, 0xf1, 0xb8, 0xa9, 0xa2, 0xf3, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xbd, 0xeb, 0x22, + 0x81, 0x0b, 0x06, 0x00, 0x00, } diff --git a/internal/proto/milvus.proto b/internal/proto/milvus.proto index 15da42c05e0948e67fc95421f2aa612ff57eb52b..6a896acca623c0950f56a101ee7c00e6f2f9e0ab 100644 --- a/internal/proto/milvus.proto +++ b/internal/proto/milvus.proto @@ -92,6 +92,8 @@ message DescribeCollectionResponse { int64 collectionID = 3; repeated string virtual_channel_names = 4; repeated string physical_channel_names = 5; + uint64 created_timestamp = 6; // hybrid timestamp + uint64 created_utc_timestamp = 7; // physical timestamp } message LoadCollectionRequest { @@ -133,6 +135,8 @@ message ShowCollectionsResponse { common.Status status = 1; repeated string collection_names = 2; repeated int64 collection_ids = 3; + repeated uint64 created_timestamps = 4; // hybrid timestamps + repeated uint64 created_utc_timestamps = 5; // physical timestamps } message CreatePartitionRequest { @@ -193,6 +197,8 @@ message ShowPartitionsResponse { common.Status status = 1; repeated string partition_names = 2; repeated int64 partitionIDs = 3; + repeated uint64 created_timestamps = 4; // hybrid timestamps + repeated uint64 created_utc_timestamps = 5; // physical timestamps } message DescribeSegmentRequest { diff --git a/internal/proto/milvuspb/milvus.pb.go b/internal/proto/milvuspb/milvus.pb.go index 9ae828e838f714c4131a07cd502fae2a7d81f013..ac3f73f7d2bbffe0c61f106fcf2c756e76ab1104 100644 --- a/internal/proto/milvuspb/milvus.pb.go +++ b/internal/proto/milvuspb/milvus.pb.go @@ -440,6 +440,8 @@ type DescribeCollectionResponse struct { CollectionID int64 `protobuf:"varint,3,opt,name=collectionID,proto3" json:"collectionID,omitempty"` VirtualChannelNames []string `protobuf:"bytes,4,rep,name=virtual_channel_names,json=virtualChannelNames,proto3" json:"virtual_channel_names,omitempty"` PhysicalChannelNames []string `protobuf:"bytes,5,rep,name=physical_channel_names,json=physicalChannelNames,proto3" json:"physical_channel_names,omitempty"` + CreatedTimestamp uint64 `protobuf:"varint,6,opt,name=created_timestamp,json=createdTimestamp,proto3" json:"created_timestamp,omitempty"` + CreatedUtcTimestamp uint64 `protobuf:"varint,7,opt,name=created_utc_timestamp,json=createdUtcTimestamp,proto3" json:"created_utc_timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -505,6 +507,20 @@ func (m *DescribeCollectionResponse) GetPhysicalChannelNames() []string { return nil } +func (m *DescribeCollectionResponse) GetCreatedTimestamp() uint64 { + if m != nil { + return m.CreatedTimestamp + } + return 0 +} + +func (m *DescribeCollectionResponse) GetCreatedUtcTimestamp() uint64 { + if m != nil { + return m.CreatedUtcTimestamp + } + return 0 +} + type LoadCollectionRequest struct { 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"` @@ -784,6 +800,8 @@ type ShowCollectionsResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` CollectionNames []string `protobuf:"bytes,2,rep,name=collection_names,json=collectionNames,proto3" json:"collection_names,omitempty"` CollectionIds []int64 `protobuf:"varint,3,rep,packed,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"` + CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"` + CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -835,6 +853,20 @@ func (m *ShowCollectionsResponse) GetCollectionIds() []int64 { return nil } +func (m *ShowCollectionsResponse) GetCreatedTimestamps() []uint64 { + if m != nil { + return m.CreatedTimestamps + } + return nil +} + +func (m *ShowCollectionsResponse) GetCreatedUtcTimestamps() []uint64 { + if m != nil { + return m.CreatedUtcTimestamps + } + return nil +} + type CreatePartitionRequest struct { 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"` @@ -1327,6 +1359,8 @@ type ShowPartitionsResponse struct { Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` PartitionNames []string `protobuf:"bytes,2,rep,name=partition_names,json=partitionNames,proto3" json:"partition_names,omitempty"` PartitionIDs []int64 `protobuf:"varint,3,rep,packed,name=partitionIDs,proto3" json:"partitionIDs,omitempty"` + CreatedTimestamps []uint64 `protobuf:"varint,4,rep,packed,name=created_timestamps,json=createdTimestamps,proto3" json:"created_timestamps,omitempty"` + CreatedUtcTimestamps []uint64 `protobuf:"varint,5,rep,packed,name=created_utc_timestamps,json=createdUtcTimestamps,proto3" json:"created_utc_timestamps,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1378,6 +1412,20 @@ func (m *ShowPartitionsResponse) GetPartitionIDs() []int64 { return nil } +func (m *ShowPartitionsResponse) GetCreatedTimestamps() []uint64 { + if m != nil { + return m.CreatedTimestamps + } + return nil +} + +func (m *ShowPartitionsResponse) GetCreatedUtcTimestamps() []uint64 { + if m != nil { + return m.CreatedUtcTimestamps + } + return nil +} + type DescribeSegmentRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` CollectionID int64 `protobuf:"varint,2,opt,name=collectionID,proto3" json:"collectionID,omitempty"` @@ -3943,187 +3991,191 @@ func init() { func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) } var fileDescriptor_02345ba45cc0e303 = []byte{ - // 2868 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0xcd, 0x6f, 0x24, 0x47, - 0xf5, 0xae, 0x19, 0xcf, 0xd7, 0x9b, 0x1e, 0x7b, 0x52, 0x5e, 0x7b, 0x27, 0x93, 0xdd, 0xc4, 0xdb, - 0xc9, 0xfe, 0xe2, 0xdd, 0x4d, 0x76, 0x13, 0x6f, 0xf2, 0x4b, 0x48, 0x02, 0xc9, 0xee, 0x9a, 0xec, - 0x5a, 0xd9, 0x0d, 0x4e, 0x3b, 0x44, 0x84, 0x28, 0x1a, 0xb5, 0xa7, 0xcb, 0x33, 0x2d, 0xf7, 0x74, - 0x0f, 0x5d, 0x35, 0xf6, 0x4e, 0x4e, 0x48, 0x09, 0x48, 0x08, 0x48, 0x84, 0x40, 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7c, 0x66, - 0x58, 0x38, 0x8c, 0xa5, 0x36, 0xa1, 0x28, 0xdf, 0xfd, 0xb0, 0x9e, 0xf1, 0x80, 0x1f, 0x7b, 0x14, - 0x6c, 0x3e, 0xac, 0xc4, 0x49, 0x3e, 0x89, 0xe9, 0x33, 0xd8, 0x80, 0xa2, 0xac, 0x22, 0x66, 0x4c, - 0x9a, 0x78, 0x1d, 0x69, 0x8e, 0xc7, 0x91, 0xa5, 0xc7, 0x19, 0xfc, 0x35, 0x28, 0x87, 0x65, 0x60, - 0xfc, 0x48, 0xc6, 0xb6, 0x4f, 0xd4, 0xe0, 0x9b, 0x07, 0x61, 0x85, 0x33, 0x6f, 0x40, 0x41, 0xd4, - 0xf1, 0xf0, 0xb9, 0x71, 0x35, 0xbe, 0x71, 0xbc, 0x26, 0xca, 0x80, 0xfa, 0x0c, 0xfe, 0x0a, 0x14, - 0x44, 0x2a, 0x9c, 0x31, 0x63, 0xbc, 0x50, 0xd7, 0x1c, 0x8b, 0x12, 0xb2, 0x68, 0x81, 0x16, 0x2f, - 0x11, 0x64, 0x04, 0x6e, 0x45, 0x11, 0xa5, 0x39, 0x09, 0x66, 0xb8, 0xca, 0x77, 0x10, 0x34, 0xb2, - 0x6e, 0x93, 0x38, 0xf3, 0x74, 0x1e, 0x77, 0x25, 0x6e, 0x3e, 0x7d, 0x48, 0xaa, 0x48, 0x85, 0xef, - 0xc0, 0x82, 0xe2, 0x0e, 0x83, 0xaf, 0x64, 0xcd, 0x97, 0x71, 0xfd, 0x6a, 0x3e, 0x31, 0x39, 0x41, - 0xb4, 0xf6, 0x06, 0x14, 0xc4, 0xdd, 0x23, 0xc3, 0x7c, 0xf1, 0xab, 0x4c, 0x86, 0x43, 0x24, 0xae, - 0x2e, 0xfa, 0x0c, 0x26, 0xa0, 0xc5, 0x2f, 0x22, 0x19, 0xf6, 0x53, 0xdc, 0x61, 0x9a, 0x17, 0x26, - 0xc0, 0x0c, 0x97, 0x59, 0x1d, 0x80, 0xb6, 0xe1, 0x7b, 0x77, 0x87, 0x61, 0xea, 0xff, 0xbf, 0x59, - 0xf6, 0xfa, 0xd3, 0x5f, 0xbf, 0xda, 0xb1, 0x59, 0x77, 0xb0, 0xc5, 0xa3, 0xcb, 0x15, 0x89, 0xfb, - 0xb8, 0xed, 0x05, 0x5f, 0x57, 0x6c, 0x97, 0x11, 0xdf, 0x35, 0x9d, 0x2b, 0x62, 0xae, 0x00, 0xda, - 0xdf, 0xda, 0x2a, 0x8a, 0xff, 0xab, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0x57, 0x0f, 0x08, 0x41, - 0x03, 0x38, 0x00, 0x00, + // 2934 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x3a, 0xcd, 0x6f, 0x24, 0xc5, + 0xf5, 0xae, 0x19, 0xcf, 0xd7, 0x9b, 0x1e, 0x7b, 0xb6, 0xbc, 0xf6, 0x0e, 0xc3, 0x2e, 0x78, 0x1b, + 0xf6, 0x87, 0x77, 0x17, 0x76, 0xc1, 0x0b, 0x3f, 0x08, 0x90, 0xc0, 0xee, 0x3a, 0xec, 0x5a, 0xec, + 0x12, 0xd3, 0x06, 0x14, 0x82, 0xd0, 0xa8, 0x3d, 0x5d, 0x3b, 0xd3, 0x72, 0x4f, 0xf7, 0xa4, 0xab, + 0xc6, 0xde, 0xe1, 0x14, 0x09, 0x88, 0x14, 0x25, 0x01, 0x45, 0x89, 0x12, 0xe5, 0x9a, 0x88, 0x43, + 0x4e, 0x09, 0x22, 0x52, 0xa4, 0x9c, 0x72, 0xe0, 0x90, 0x43, 0xa4, 0x7c, 0x5c, 0x73, 0x4d, 0x8e, + 0xfc, 0x03, 0x51, 0x24, 0xa2, 0xaa, 0xea, 0xee, 0xe9, 0x6e, 0x57, 0x8f, 0xc7, 0x3b, 0x80, 0xed, + 0x5b, 0xf7, 0xab, 0xf7, 0xaa, 0xde, 0x57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 0x8b, 0x48, 0x86, 0xfd, 0x14, 0x77, 0x98, 0xe6, + 0xf9, 0x09, 0x30, 0xc3, 0x65, 0x56, 0x07, 0xa0, 0x6d, 0xf8, 0xde, 0xdd, 0x61, 0x78, 0xf4, 0xff, + 0x6a, 0x96, 0xbd, 0xf6, 0xd4, 0x77, 0xae, 0x74, 0x6c, 0xd6, 0x1d, 0x6c, 0xf1, 0xe8, 0x72, 0x59, + 0xe2, 0x3e, 0x66, 0x7b, 0xc1, 0xd7, 0x65, 0xdb, 0x65, 0xc4, 0x77, 0x4d, 0xe7, 0xb2, 0x98, 0x2b, + 0x80, 0xf6, 0xb7, 0xb6, 0x8a, 0xe2, 0xff, 0xca, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xdb, + 0xbb, 0x29, 0x2e, 0x39, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/internal/proxy/task.go b/internal/proxy/task.go index 37e49e50d9e45ee1e89c3272f6c17c35448131db..95276a100f44e490ca1e20bc33dea397e54e2509 100644 --- a/internal/proxy/task.go +++ b/internal/proxy/task.go @@ -2579,6 +2579,8 @@ func (dct *DescribeCollectionTask) Execute(ctx context.Context) error { dct.result.CollectionID = result.CollectionID dct.result.VirtualChannelNames = result.VirtualChannelNames dct.result.PhysicalChannelNames = result.PhysicalChannelNames + dct.result.CreatedTimestamp = result.CreatedTimestamp + dct.result.CreatedUtcTimestamp = result.CreatedUtcTimestamp for _, field := range result.Schema.Fields { if field.FieldID >= 100 { // TODO(dragondriver): use StartOfUserFieldID replacing 100 @@ -2875,19 +2877,24 @@ func (sct *ShowCollectionsTask) Execute(ctx context.Context) error { } sct.result = &milvuspb.ShowCollectionsResponse{ - Status: resp.Status, - CollectionNames: make([]string, 0, len(resp.CollectionIDs)), - CollectionIds: make([]int64, 0, len(resp.CollectionIDs)), + Status: resp.Status, + CollectionNames: make([]string, 0, len(resp.CollectionIDs)), + CollectionIds: make([]int64, 0, len(resp.CollectionIDs)), + CreatedTimestamps: make([]uint64, 0, len(resp.CollectionIDs)), + CreatedUtcTimestamps: make([]uint64, 0, len(resp.CollectionIDs)), } - idMap := make(map[int64]string) - for i, name := range respFromRootCoord.CollectionNames { - idMap[respFromRootCoord.CollectionIds[i]] = name + idMap := make(map[int64]int) // id -> location of respFromRootCoord + for i := range respFromRootCoord.CollectionNames { + idMap[respFromRootCoord.CollectionIds[i]] = i } for _, id := range resp.CollectionIDs { + loc := idMap[id] sct.result.CollectionIds = append(sct.result.CollectionIds, id) - sct.result.CollectionNames = append(sct.result.CollectionNames, idMap[id]) + sct.result.CollectionNames = append(sct.result.CollectionNames, respFromRootCoord.CollectionNames[loc]) + sct.result.CreatedTimestamps = append(sct.result.CreatedTimestamps, respFromRootCoord.CreatedTimestamps[loc]) + sct.result.CreatedUtcTimestamps = append(sct.result.CreatedUtcTimestamps, respFromRootCoord.CreatedUtcTimestamps[loc]) } } else { sct.result = respFromRootCoord diff --git a/internal/rootcoord/meta_table.go b/internal/rootcoord/meta_table.go index be45586d86bcfad7a933d4a39c38e4ee25639c79..afeef4bd807ea441cbab9ef0ca2a76f6755b2cf5 100644 --- a/internal/rootcoord/meta_table.go +++ b/internal/rootcoord/meta_table.go @@ -225,8 +225,10 @@ func (mt *metaTable) AddCollection(coll *pb.CollectionInfo, idx []*pb.IndexInfo, mt.ddLock.Lock() defer mt.ddLock.Unlock() - if len(coll.PartitionIDs) != len(coll.PartitionNames) { - return 0, fmt.Errorf("PartitionIDs and PartitionNames' length mis-match when creating collection") + if len(coll.PartitionIDs) != len(coll.PartitionNames) || + len(coll.PartitionIDs) != len(coll.PartitionCreatedTimestamps) || + len(coll.PartitionNames) != len(coll.PartitionCreatedTimestamps) { + return 0, fmt.Errorf("PartitionIDs, PartitionNames and PartitionCreatedTimestmaps' length mis-match when creating collection") } if _, ok := mt.collName2ID[coll.Schema.Name]; ok { return 0, fmt.Errorf("collection %s exist", coll.Schema.Name) @@ -386,14 +388,16 @@ func (mt *metaTable) GetCollectionByName(collectionName string, ts typeutil.Time return nil, fmt.Errorf("can't find collection: %s, at timestamp = %d", collectionName, ts) } -func (mt *metaTable) ListCollections(ts typeutil.Timestamp) (map[string]typeutil.UniqueID, error) { +func (mt *metaTable) ListCollections(ts typeutil.Timestamp) (map[string]*pb.CollectionInfo, error) { mt.ddLock.RLock() defer mt.ddLock.RUnlock() - colls := make(map[string]typeutil.UniqueID) + colls := make(map[string]*pb.CollectionInfo) if ts == 0 { - for k, v := range mt.collName2ID { - colls[k] = v + for collName, collID := range mt.collName2ID { + coll := mt.collID2Meta[collID] + colCopy := proto.Clone(&coll) + colls[collName] = colCopy.(*pb.CollectionInfo) } return colls, nil } @@ -408,7 +412,7 @@ func (mt *metaTable) ListCollections(ts typeutil.Timestamp) (map[string]typeutil if err != nil { log.Debug("unmarshal collection info failed", zap.Error(err)) } - colls[collMeta.Schema.Name] = collMeta.ID + colls[collMeta.Schema.Name] = &collMeta } return colls, nil } @@ -437,7 +441,7 @@ func (mt *metaTable) ListCollectionPhysicalChannels() []string { return plist } -func (mt *metaTable) AddPartition(collID typeutil.UniqueID, partitionName string, partitionID typeutil.UniqueID, ddOpStr func(ts typeutil.Timestamp) (string, error)) (typeutil.Timestamp, error) { +func (mt *metaTable) AddPartition(collID typeutil.UniqueID, partitionName string, partitionID typeutil.UniqueID, createdTimestamp uint64, ddOpStr func(ts typeutil.Timestamp) (string, error)) (typeutil.Timestamp, error) { mt.ddLock.Lock() defer mt.ddLock.Unlock() coll, ok := mt.collID2Meta[collID] @@ -454,6 +458,14 @@ func (mt *metaTable) AddPartition(collID typeutil.UniqueID, partitionName string return 0, fmt.Errorf("len(coll.PartitionIDs)=%d, len(coll.PartitionNames)=%d", len(coll.PartitionIDs), len(coll.PartitionNames)) } + if len(coll.PartitionIDs) != len(coll.PartitionCreatedTimestamps) { + return 0, fmt.Errorf("len(coll.PartitionIDs)=%d, len(coll.PartitionCreatedTimestamps)=%d", len(coll.PartitionIDs), len(coll.PartitionCreatedTimestamps)) + } + + if len(coll.PartitionNames) != len(coll.PartitionCreatedTimestamps) { + return 0, fmt.Errorf("len(coll.PartitionNames)=%d, len(coll.PartitionCreatedTimestamps)=%d", len(coll.PartitionNames), len(coll.PartitionCreatedTimestamps)) + } + for idx := range coll.PartitionIDs { if coll.PartitionIDs[idx] == partitionID { return 0, fmt.Errorf("partition id = %d already exists", partitionID) @@ -461,10 +473,11 @@ func (mt *metaTable) AddPartition(collID typeutil.UniqueID, partitionName string if coll.PartitionNames[idx] == partitionName { return 0, fmt.Errorf("partition name = %s already exists", partitionName) } - + // no necessary to check created timestamp } coll.PartitionIDs = append(coll.PartitionIDs, partitionID) coll.PartitionNames = append(coll.PartitionNames, partitionName) + coll.PartitionCreatedTimestamps = append(coll.PartitionCreatedTimestamps, createdTimestamp) mt.collID2Meta[collID] = coll k1 := fmt.Sprintf("%s/%d", CollectionMetaPrefix, collID) @@ -578,6 +591,7 @@ func (mt *metaTable) DeletePartition(collID typeutil.UniqueID, partitionName str pd := make([]typeutil.UniqueID, 0, len(collMeta.PartitionIDs)) pn := make([]string, 0, len(collMeta.PartitionNames)) + pts := make([]uint64, 0, len(collMeta.PartitionCreatedTimestamps)) var partID typeutil.UniqueID for idx := range collMeta.PartitionIDs { if collMeta.PartitionNames[idx] == partitionName { @@ -586,6 +600,7 @@ func (mt *metaTable) DeletePartition(collID typeutil.UniqueID, partitionName str } else { pd = append(pd, collMeta.PartitionIDs[idx]) pn = append(pn, collMeta.PartitionNames[idx]) + pts = append(pts, collMeta.PartitionCreatedTimestamps[idx]) } } if !exist { @@ -593,6 +608,7 @@ func (mt *metaTable) DeletePartition(collID typeutil.UniqueID, partitionName str } collMeta.PartitionIDs = pd collMeta.PartitionNames = pn + collMeta.PartitionCreatedTimestamps = pts mt.collID2Meta[collID] = collMeta // update segID2IndexMeta and partID2SegID diff --git a/internal/rootcoord/meta_table_test.go b/internal/rootcoord/meta_table_test.go index 1f81417999c7cf4d10f10439b8e21bca0e9c99de..e03ad19655690551a7d3631fe5c18e4e3ea64647 100644 --- a/internal/rootcoord/meta_table_test.go +++ b/internal/rootcoord/meta_table_test.go @@ -213,9 +213,10 @@ func TestMetaTable(t *testing.T) { IndexID: indexID, }, }, - CreateTime: 0, - PartitionIDs: []typeutil.UniqueID{partIDDefault}, - PartitionNames: []string{Params.DefaultPartitionName}, + CreateTime: 0, + PartitionIDs: []typeutil.UniqueID{partIDDefault}, + PartitionNames: []string{Params.DefaultPartitionName}, + PartitionCreatedTimestamps: []uint64{0}, } idxInfo := []*pb.IndexInfo{ { @@ -262,7 +263,7 @@ func TestMetaTable(t *testing.T) { }) t.Run("add partition", func(t *testing.T) { - _, err := mt.AddPartition(collID, partName, partID, ddOp) + _, err := mt.AddPartition(collID, partName, partID, ftso(), ddOp) assert.Nil(t, err) // check DD operation flag @@ -445,6 +446,7 @@ func TestMetaTable(t *testing.T) { } collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err := mt.AddCollection(collInfo, idxInfo, nil) assert.NotNil(t, err) assert.EqualError(t, err, "multi save error") @@ -499,24 +501,25 @@ func TestMetaTable(t *testing.T) { _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) - _, err = mt.AddPartition(2, "no-part", 22, nil) + _, err = mt.AddPartition(2, "no-part", 22, ftso(), nil) assert.NotNil(t, err) assert.EqualError(t, err, "can't find collection. id = 2") coll := mt.collID2Meta[collInfo.ID] coll.PartitionIDs = make([]int64, Params.MaxPartitionNum) mt.collID2Meta[coll.ID] = coll - _, err = mt.AddPartition(coll.ID, "no-part", 22, nil) + _, err = mt.AddPartition(coll.ID, "no-part", 22, ftso(), nil) assert.NotNil(t, err) assert.EqualError(t, err, fmt.Sprintf("maximum partition's number should be limit to %d", Params.MaxPartitionNum)) coll.PartitionIDs = []int64{partID} coll.PartitionNames = []string{partName} + coll.PartitionCreatedTimestamps = []uint64{ftso()} mt.collID2Meta[coll.ID] = coll mockKV.multiSave = func(kvs map[string]string, addition func(ts typeutil.Timestamp) (string, string, error)) (typeutil.Timestamp, error) { return 0, fmt.Errorf("multi save error") } - _, err = mt.AddPartition(coll.ID, "no-part", 22, nil) + _, err = mt.AddPartition(coll.ID, "no-part", 22, ftso(), nil) assert.NotNil(t, err) assert.EqualError(t, err, "multi save error") @@ -527,12 +530,12 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionNames = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) - _, err = mt.AddPartition(coll.ID, partName, partID, nil) + _, err = mt.AddPartition(coll.ID, partName, partID, ftso(), nil) assert.Nil(t, err) - _, err = mt.AddPartition(coll.ID, partName, 22, nil) + _, err = mt.AddPartition(coll.ID, partName, 22, ftso(), nil) assert.NotNil(t, err) assert.EqualError(t, err, fmt.Sprintf("partition name = %s already exists", partName)) - _, err = mt.AddPartition(coll.ID, "no-part", partID, nil) + _, err = mt.AddPartition(coll.ID, "no-part", partID, ftso(), nil) assert.NotNil(t, err) assert.EqualError(t, err, fmt.Sprintf("partition id = %d already exists", partID)) }) @@ -570,6 +573,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = []int64{partID} collInfo.PartitionNames = []string{partName} + collInfo.PartitionCreatedTimestamps = []uint64{ftso()} _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -609,6 +613,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -634,6 +639,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -661,6 +667,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -699,6 +706,7 @@ func TestMetaTable(t *testing.T) { assert.Nil(t, err) collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + coll.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) mockKV.multiSaveAndRemoveWithPrefix = func(saves map[string]string, removals []string, addition func(ts typeutil.Timestamp) (string, string, error)) (typeutil.Timestamp, error) { @@ -724,6 +732,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -771,6 +780,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -841,6 +851,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) @@ -867,6 +878,7 @@ func TestMetaTable(t *testing.T) { } collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) coll := mt.collID2Meta[collInfo.ID] @@ -916,6 +928,7 @@ func TestMetaTable(t *testing.T) { collInfo.PartitionIDs = nil collInfo.PartitionNames = nil + collInfo.PartitionCreatedTimestamps = nil _, err = mt.AddCollection(collInfo, idxInfo, nil) assert.Nil(t, err) mt.indexID2Meta = make(map[int64]pb.IndexInfo) @@ -971,12 +984,14 @@ func TestMetaWithTimestamp(t *testing.T) { collInfo.PartitionIDs = []int64{partID1} collInfo.PartitionNames = []string{partName1} + collInfo.PartitionCreatedTimestamps = []uint64{ftso()} t1, err := mt.AddCollection(collInfo, nil, nil) assert.Nil(t, err) collInfo.ID = 2 collInfo.PartitionIDs = []int64{partID2} collInfo.PartitionNames = []string{partName2} + collInfo.PartitionCreatedTimestamps = []uint64{ftso()} collInfo.Schema.Name = collName2 t2, err := mt.AddCollection(collInfo, nil, nil) @@ -1044,7 +1059,7 @@ func TestMetaWithTimestamp(t *testing.T) { c2, err = mt.GetCollectionByName(collName2, tsoStart) assert.NotNil(t, err) - getKeys := func(m map[string]typeutil.UniqueID) []string { + getKeys := func(m map[string]*pb.CollectionInfo) []string { keys := make([]string, 0, len(m)) for key := range m { keys = append(keys, key) diff --git a/internal/rootcoord/task.go b/internal/rootcoord/task.go index 27274a817a25ba50ae7c837b62efce9cc1f8f498..7545871520110ad7188a7d0aed1e8c141cdcab6f 100644 --- a/internal/rootcoord/task.go +++ b/internal/rootcoord/task.go @@ -15,6 +15,8 @@ import ( "context" "fmt" + "github.com/milvus-io/milvus/internal/util/tsoutil" + "github.com/golang/protobuf/proto" "github.com/milvus-io/milvus/internal/log" "github.com/milvus-io/milvus/internal/proto/commonpb" @@ -130,6 +132,7 @@ func (t *CreateCollectionReqTask) Execute(ctx context.Context) error { log.Debug("collection name -> id", zap.String("collection name", t.Req.CollectionName), zap.Int64("collection_id", collID), + zap.Uint64("collection created ts", collTs), zap.Int64("default partition id", partID)) vchanNames := make([]string, t.Req.ShardsNum) @@ -140,14 +143,15 @@ func (t *CreateCollectionReqTask) Execute(ctx context.Context) error { } collInfo := etcdpb.CollectionInfo{ - ID: collID, - Schema: &schema, - CreateTime: collTs, - PartitionIDs: []typeutil.UniqueID{partID}, - PartitionNames: []string{Params.DefaultPartitionName}, - FieldIndexes: make([]*etcdpb.FieldIndexInfo, 0, 16), - VirtualChannelNames: vchanNames, - PhysicalChannelNames: chanNames, + ID: collID, + Schema: &schema, + CreateTime: collTs, + PartitionIDs: []typeutil.UniqueID{partID}, + PartitionNames: []string{Params.DefaultPartitionName}, + FieldIndexes: make([]*etcdpb.FieldIndexInfo, 0, 16), + VirtualChannelNames: vchanNames, + PhysicalChannelNames: chanNames, + PartitionCreatedTimestamps: []uint64{collTs}, } idxInfo := make([]*etcdpb.IndexInfo, 0, 16) @@ -339,6 +343,11 @@ func (t *DescribeCollectionReqTask) Execute(ctx context.Context) error { t.Rsp.VirtualChannelNames = collInfo.VirtualChannelNames t.Rsp.PhysicalChannelNames = collInfo.PhysicalChannelNames + + t.Rsp.CreatedTimestamp = collInfo.CreateTime + createdPhysicalTime, _ := tsoutil.ParseHybridTs(collInfo.CreateTime) + t.Rsp.CreatedUtcTimestamp = createdPhysicalTime + return nil } @@ -360,9 +369,12 @@ func (t *ShowCollectionReqTask) Execute(ctx context.Context) error { if err != nil { return err } - for name, id := range coll { + for name, meta := range coll { t.Rsp.CollectionNames = append(t.Rsp.CollectionNames, name) - t.Rsp.CollectionIds = append(t.Rsp.CollectionIds, id) + t.Rsp.CollectionIds = append(t.Rsp.CollectionIds, meta.ID) + t.Rsp.CreatedTimestamps = append(t.Rsp.CreatedTimestamps, meta.CreateTime) + physical, _ := tsoutil.ParseHybridTs(meta.CreateTime) + t.Rsp.CreatedUtcTimestamps = append(t.Rsp.CreatedUtcTimestamps, physical) } return nil } @@ -406,7 +418,8 @@ func (t *CreatePartitionReqTask) Execute(ctx context.Context) error { return EncodeDdOperation(&ddReq, CreatePartitionDDType) } - ts, err := t.core.MetaTable.AddPartition(collMeta.ID, t.Req.PartitionName, partID, ddOp) + createdTimestamp := t.Req.Base.Timestamp + ts, err := t.core.MetaTable.AddPartition(collMeta.ID, t.Req.PartitionName, partID, createdTimestamp, ddOp) if err != nil { return err } @@ -558,6 +571,12 @@ func (t *ShowPartitionReqTask) Execute(ctx context.Context) error { } t.Rsp.PartitionIDs = coll.PartitionIDs t.Rsp.PartitionNames = coll.PartitionNames + t.Rsp.CreatedTimestamps = coll.PartitionCreatedTimestamps + t.Rsp.CreatedUtcTimestamps = make([]uint64, 0, len(coll.PartitionCreatedTimestamps)) + for _, ts := range coll.PartitionCreatedTimestamps { + physical, _ := tsoutil.ParseHybridTs(ts) + t.Rsp.CreatedUtcTimestamps = append(t.Rsp.CreatedUtcTimestamps, physical) + } return nil } diff --git a/internal/util/tsoutil/tso.go b/internal/util/tsoutil/tso.go index fe38fcf902a2d7ff9a3edf346bb885afb3415903..fd8a47b91ed67b1231b124613219e0910a5b940d 100644 --- a/internal/util/tsoutil/tso.go +++ b/internal/util/tsoutil/tso.go @@ -36,6 +36,13 @@ func ParseTS(ts uint64) (time.Time, uint64) { return physicalTime, logical } +// ParseHybridTs parses the ts to (physical, logical), physical part is of utc-timestamp format. +func ParseHybridTs(ts uint64) (uint64, uint64) { + logical := ts & logicalBitsMask + physical := ts >> logicalBits + return physical, logical +} + // Mod24H parses the ts to millisecond in one day func Mod24H(ts uint64) uint64 { logical := ts & logicalBitsMask diff --git a/internal/util/tsoutil/tso_test.go b/internal/util/tsoutil/tso_test.go new file mode 100644 index 0000000000000000000000000000000000000000..b4569baf25bd9c95c53e4a5fdd55215d00dd87ad --- /dev/null +++ b/internal/util/tsoutil/tso_test.go @@ -0,0 +1,30 @@ +// Copyright (C) 2019-2020 Zilliz. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software distributed under the License +// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express +// or implied. See the License for the specific language governing permissions and limitations under the License. + +package tsoutil + +import ( + "testing" + "time" + + "github.com/milvus-io/milvus/internal/log" + "go.uber.org/zap" +) + +func TestParseHybridTs(t *testing.T) { + var ts uint64 = 426152581543231492 + physical, logical := ParseHybridTs(ts) + physicalTime := time.Unix(int64(physical/1000), int64(physical)%1000*time.Millisecond.Nanoseconds()) + log.Debug("TestParseHybridTs", + zap.Uint64("physical", physical), + zap.Uint64("logical", logical), + zap.Any("physical time", physicalTime)) +}