From c3f0c5a3ff9f618ed4c8b7033bada0041e8ab320 Mon Sep 17 00:00:00 2001 From: Bingyi Sun Date: Tue, 9 Nov 2021 14:47:02 +0800 Subject: [PATCH] Add compaction interfaces in proxy (#11431) issue: #9904 Signed-off-by: sunby Co-authored-by: sunby --- internal/core/src/pb/common.pb.cc | 26 +- internal/core/src/pb/common.pb.h | 31 + internal/core/src/pb/milvus.pb.cc | 2699 ++++++++++++++++- internal/core/src/pb/milvus.pb.h | 1423 ++++++++- internal/datacoord/compaction.go | 28 +- internal/datacoord/compaction_test.go | 60 + internal/datacoord/compaction_trigger_test.go | 4 +- internal/datacoord/mock_test.go | 8 +- internal/datacoord/server_test.go | 83 +- internal/datacoord/services.go | 90 +- .../distributed/datacoord/client/client.go | 23 +- .../datacoord/client/client_test.go | 15 +- internal/distributed/datacoord/service.go | 8 +- .../distributed/datacoord/service_test.go | 13 +- internal/distributed/proxy/service.go | 12 + internal/distributed/proxy/service_test.go | 35 +- internal/proto/common.proto | 6 + internal/proto/commonpb/common.pb.go | 208 +- internal/proto/data_coord.proto | 35 +- internal/proto/datapb/data_coord.pb.go | 628 ++-- internal/proto/milvus.proto | 39 + internal/proto/milvuspb/milvus.pb.go | 846 ++++-- internal/proxy/data_coord_mock_test.go | 12 +- internal/proxy/impl.go | 39 + internal/proxy/proxy_test.go | 58 + internal/types/types.go | 11 +- 26 files changed, 5525 insertions(+), 915 deletions(-) diff --git a/internal/core/src/pb/common.pb.cc b/internal/core/src/pb/common.pb.cc index b4bd8504ce..e163642152 100644 --- a/internal/core/src/pb/common.pb.cc +++ b/internal/core/src/pb/common.pb.cc @@ -169,7 +169,7 @@ static void InitDefaultsscc_info_Status_common_2eproto() { {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_Status_common_2eproto}, {}}; static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_common_2eproto[8]; -static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_common_2eproto[5]; +static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_common_2eproto[6]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_common_2eproto = nullptr; const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_common_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { @@ -314,9 +314,10 @@ const char descriptor_table_protodef_common_2eproto[] PROTOBUF_SECTION_VARIABLE( "\263\t\022\017\n\nRequestTSO\020\264\t\022\024\n\017AllocateSegment\020\265" "\t\022\026\n\021SegmentStatistics\020\266\t\022\025\n\020SegmentFlus" "hDone\020\267\t\022\017\n\nDataNodeTt\020\270\t*\"\n\007DslType\022\007\n\003" - "Dsl\020\000\022\016\n\nBoolExprV1\020\001B5Z3github.com/milv" - "us-io/milvus/internal/proto/commonpbb\006pr" - "oto3" + "Dsl\020\000\022\016\n\nBoolExprV1\020\001*B\n\017CompactionState" + "\022\021\n\rUndefiedState\020\000\022\r\n\tExecuting\020\001\022\r\n\tCo" + "mpleted\020\002B5Z3github.com/milvus-io/milvus" + "/internal/proto/commonpbb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_common_2eproto_deps[1] = { }; @@ -333,7 +334,7 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_com static ::PROTOBUF_NAMESPACE_ID::internal::once_flag descriptor_table_common_2eproto_once; static bool descriptor_table_common_2eproto_initialized = false; const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_common_2eproto = { - &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2524, + &descriptor_table_common_2eproto_initialized, descriptor_table_protodef_common_2eproto, "common.proto", 2592, &descriptor_table_common_2eproto_once, descriptor_table_common_2eproto_sccs, descriptor_table_common_2eproto_deps, 8, 0, schemas, file_default_instances, TableStruct_common_2eproto::offsets, file_level_metadata_common_2eproto, 8, file_level_enum_descriptors_common_2eproto, file_level_service_descriptors_common_2eproto, @@ -500,6 +501,21 @@ bool DslType_IsValid(int value) { } } +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CompactionState_descriptor() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&descriptor_table_common_2eproto); + return file_level_enum_descriptors_common_2eproto[5]; +} +bool CompactionState_IsValid(int value) { + switch (value) { + case 0: + case 1: + case 2: + return true; + default: + return false; + } +} + // =================================================================== diff --git a/internal/core/src/pb/common.pb.h b/internal/core/src/pb/common.pb.h index e289b271ef..fbf5897e14 100644 --- a/internal/core/src/pb/common.pb.h +++ b/internal/core/src/pb/common.pb.h @@ -310,6 +310,32 @@ inline bool DslType_Parse( return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( DslType_descriptor(), name, value); } +enum CompactionState : int { + UndefiedState = 0, + Executing = 1, + Completed = 2, + CompactionState_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::min(), + CompactionState_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<::PROTOBUF_NAMESPACE_ID::int32>::max() +}; +bool CompactionState_IsValid(int value); +constexpr CompactionState CompactionState_MIN = UndefiedState; +constexpr CompactionState CompactionState_MAX = Completed; +constexpr int CompactionState_ARRAYSIZE = CompactionState_MAX + 1; + +const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CompactionState_descriptor(); +template +inline const std::string& CompactionState_Name(T enum_t_value) { + static_assert(::std::is_same::value || + ::std::is_integral::value, + "Incorrect type passed to function CompactionState_Name."); + return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum( + CompactionState_descriptor(), enum_t_value); +} +inline bool CompactionState_Parse( + const std::string& name, CompactionState* value) { + return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum( + CompactionState_descriptor(), name, value); +} // =================================================================== class Status : @@ -2152,6 +2178,11 @@ template <> inline const EnumDescriptor* GetEnumDescriptor< ::milvus::proto::common::DslType>() { return ::milvus::proto::common::DslType_descriptor(); } +template <> struct is_proto_enum< ::milvus::proto::common::CompactionState> : ::std::true_type {}; +template <> +inline const EnumDescriptor* GetEnumDescriptor< ::milvus::proto::common::CompactionState>() { + return ::milvus::proto::common::CompactionState_descriptor(); +} PROTOBUF_NAMESPACE_CLOSE diff --git a/internal/core/src/pb/milvus.pb.cc b/internal/core/src/pb/milvus.pb.cc index d04a0d913f..c96aeddd94 100644 --- a/internal/core/src/pb/milvus.pb.cc +++ b/internal/core/src/pb/milvus.pb.cc @@ -20,6 +20,7 @@ extern PROTOBUF_INTERNAL_EXPORT_common_2eproto ::PROTOBUF_NAMESPACE_ID::internal extern PROTOBUF_INTERNAL_EXPORT_common_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_KeyValuePair_common_2eproto; extern PROTOBUF_INTERNAL_EXPORT_common_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_MsgBase_common_2eproto; extern PROTOBUF_INTERNAL_EXPORT_common_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_Status_common_2eproto; +extern PROTOBUF_INTERNAL_EXPORT_milvus_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CompactionMergeInfo_milvus_2eproto; extern PROTOBUF_INTERNAL_EXPORT_milvus_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_FlushResponse_CollSegIDsEntry_DoNotUse_milvus_2eproto; extern PROTOBUF_INTERNAL_EXPORT_milvus_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_IndexDescription_milvus_2eproto; extern PROTOBUF_INTERNAL_EXPORT_milvus_2eproto ::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_PersistentSegmentInfo_milvus_2eproto; @@ -314,6 +315,34 @@ class LoadBalanceRequestDefaultTypeInternal { public: ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; } _LoadBalanceRequest_default_instance_; +class ManualCompactionRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _ManualCompactionRequest_default_instance_; +class ManualCompactionResponseDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _ManualCompactionResponse_default_instance_; +class GetCompactionStateRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GetCompactionStateRequest_default_instance_; +class GetCompactionStateResponseDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GetCompactionStateResponse_default_instance_; +class GetCompactionPlansRequestDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GetCompactionPlansRequest_default_instance_; +class GetCompactionPlansResponseDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _GetCompactionPlansResponse_default_instance_; +class CompactionMergeInfoDefaultTypeInternal { + public: + ::PROTOBUF_NAMESPACE_ID::internal::ExplicitlyConstructed _instance; +} _CompactionMergeInfo_default_instance_; } // namespace milvus } // namespace proto } // namespace milvus @@ -381,6 +410,20 @@ static void InitDefaultsscc_info_CalcDistanceResults_milvus_2eproto() { &scc_info_IntArray_schema_2eproto.base, &scc_info_FloatArray_schema_2eproto.base,}}; +static void InitDefaultsscc_info_CompactionMergeInfo_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_CompactionMergeInfo_default_instance_; + new (ptr) ::milvus::proto::milvus::CompactionMergeInfo(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::CompactionMergeInfo::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_CompactionMergeInfo_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_CompactionMergeInfo_milvus_2eproto}, {}}; + static void InitDefaultsscc_info_CreateAliasRequest_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -714,6 +757,65 @@ static void InitDefaultsscc_info_GetCollectionStatisticsResponse_milvus_2eproto( &scc_info_Status_common_2eproto.base, &scc_info_KeyValuePair_common_2eproto.base,}}; +static void InitDefaultsscc_info_GetCompactionPlansRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_GetCompactionPlansRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::GetCompactionPlansRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::GetCompactionPlansRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetCompactionPlansRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GetCompactionPlansRequest_milvus_2eproto}, {}}; + +static void InitDefaultsscc_info_GetCompactionPlansResponse_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_GetCompactionPlansResponse_default_instance_; + new (ptr) ::milvus::proto::milvus::GetCompactionPlansResponse(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::GetCompactionPlansResponse::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<2> scc_info_GetCompactionPlansResponse_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 2, InitDefaultsscc_info_GetCompactionPlansResponse_milvus_2eproto}, { + &scc_info_Status_common_2eproto.base, + &scc_info_CompactionMergeInfo_milvus_2eproto.base,}}; + +static void InitDefaultsscc_info_GetCompactionStateRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_GetCompactionStateRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::GetCompactionStateRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::GetCompactionStateRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_GetCompactionStateRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_GetCompactionStateRequest_milvus_2eproto}, {}}; + +static void InitDefaultsscc_info_GetCompactionStateResponse_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_GetCompactionStateResponse_default_instance_; + new (ptr) ::milvus::proto::milvus::GetCompactionStateResponse(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::GetCompactionStateResponse::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_GetCompactionStateResponse_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_GetCompactionStateResponse_milvus_2eproto}, { + &scc_info_Status_common_2eproto.base,}}; + static void InitDefaultsscc_info_GetIndexBuildProgressRequest_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -1017,6 +1119,35 @@ static void InitDefaultsscc_info_LoadPartitionsRequest_milvus_2eproto() { {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_LoadPartitionsRequest_milvus_2eproto}, { &scc_info_MsgBase_common_2eproto.base,}}; +static void InitDefaultsscc_info_ManualCompactionRequest_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_ManualCompactionRequest_default_instance_; + new (ptr) ::milvus::proto::milvus::ManualCompactionRequest(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::ManualCompactionRequest::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<0> scc_info_ManualCompactionRequest_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 0, InitDefaultsscc_info_ManualCompactionRequest_milvus_2eproto}, {}}; + +static void InitDefaultsscc_info_ManualCompactionResponse_milvus_2eproto() { + GOOGLE_PROTOBUF_VERIFY_VERSION; + + { + void* ptr = &::milvus::proto::milvus::_ManualCompactionResponse_default_instance_; + new (ptr) ::milvus::proto::milvus::ManualCompactionResponse(); + ::PROTOBUF_NAMESPACE_ID::internal::OnShutdownDestroyMessage(ptr); + } + ::milvus::proto::milvus::ManualCompactionResponse::InitAsDefaultInstance(); +} + +::PROTOBUF_NAMESPACE_ID::internal::SCCInfo<1> scc_info_ManualCompactionResponse_milvus_2eproto = + {{ATOMIC_VAR_INIT(::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase::kUninitialized), 1, InitDefaultsscc_info_ManualCompactionResponse_milvus_2eproto}, { + &scc_info_Status_common_2eproto.base,}}; + static void InitDefaultsscc_info_MutationResult_milvus_2eproto() { GOOGLE_PROTOBUF_VERIFY_VERSION; @@ -1349,7 +1480,7 @@ static void InitDefaultsscc_info_VectorsArray_milvus_2eproto() { &scc_info_VectorIDs_milvus_2eproto.base, &scc_info_VectorField_schema_2eproto.base,}}; -static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[68]; +static ::PROTOBUF_NAMESPACE_ID::Metadata file_level_metadata_milvus_2eproto[75]; static const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* file_level_enum_descriptors_milvus_2eproto[2]; static constexpr ::PROTOBUF_NAMESPACE_ID::ServiceDescriptor const** file_level_service_descriptors_milvus_2eproto = nullptr; @@ -1959,6 +2090,57 @@ const ::PROTOBUF_NAMESPACE_ID::uint32 TableStruct_milvus_2eproto::offsets[] PROT PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::LoadBalanceRequest, src_nodeid_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::LoadBalanceRequest, dst_nodeids_), PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::LoadBalanceRequest, sealed_segmentids_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionRequest, collectionid_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionRequest, timetravel_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionResponse, status_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::ManualCompactionResponse, compactionid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateRequest, compactionid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, status_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, state_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, executingplanno_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, timeoutplanno_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionStateResponse, completedplanno_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansRequest, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansRequest, compactionid_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansResponse, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansResponse, status_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansResponse, state_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::GetCompactionPlansResponse, mergeinfos_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CompactionMergeInfo, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CompactionMergeInfo, sources_), + PROTOBUF_FIELD_OFFSET(::milvus::proto::milvus::CompactionMergeInfo, target_), }; static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = { { 0, -1, sizeof(::milvus::proto::milvus::CreateAliasRequest)}, @@ -2029,6 +2211,13 @@ static const ::PROTOBUF_NAMESPACE_ID::internal::MigrationSchema schemas[] PROTOB { 581, -1, sizeof(::milvus::proto::milvus::GetMetricsRequest)}, { 588, -1, sizeof(::milvus::proto::milvus::GetMetricsResponse)}, { 596, -1, sizeof(::milvus::proto::milvus::LoadBalanceRequest)}, + { 605, -1, sizeof(::milvus::proto::milvus::ManualCompactionRequest)}, + { 612, -1, sizeof(::milvus::proto::milvus::ManualCompactionResponse)}, + { 619, -1, sizeof(::milvus::proto::milvus::GetCompactionStateRequest)}, + { 625, -1, sizeof(::milvus::proto::milvus::GetCompactionStateResponse)}, + { 635, -1, sizeof(::milvus::proto::milvus::GetCompactionPlansRequest)}, + { 641, -1, sizeof(::milvus::proto::milvus::GetCompactionPlansResponse)}, + { 649, -1, sizeof(::milvus::proto::milvus::CompactionMergeInfo)}, }; static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = { @@ -2100,6 +2289,13 @@ static ::PROTOBUF_NAMESPACE_ID::Message const * const file_default_instances[] = reinterpret_cast(&::milvus::proto::milvus::_GetMetricsRequest_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_GetMetricsResponse_default_instance_), reinterpret_cast(&::milvus::proto::milvus::_LoadBalanceRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_ManualCompactionRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_ManualCompactionResponse_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_GetCompactionStateRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_GetCompactionStateResponse_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_GetCompactionPlansRequest_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_GetCompactionPlansResponse_default_instance_), + reinterpret_cast(&::milvus::proto::milvus::_CompactionMergeInfo_default_instance_), }; const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = @@ -2342,111 +2538,136 @@ const char descriptor_table_protodef_milvus_2eproto[] PROTOBUF_SECTION_VARIABLE( "BalanceRequest\022*\n\004base\030\001 \001(\0132\034.milvus.pr" "oto.common.MsgBase\022\022\n\nsrc_nodeID\030\002 \001(\003\022\023" "\n\013dst_nodeIDs\030\003 \003(\003\022\031\n\021sealed_segmentIDs" - "\030\004 \003(\003*!\n\010ShowType\022\007\n\003All\020\000\022\014\n\010InMemory\020" - "\001*>\n\017PlaceholderType\022\010\n\004None\020\000\022\020\n\014Binary" - "Vector\020d\022\017\n\013FloatVector\020e2\254\033\n\rMilvusServ" - "ice\022_\n\020CreateCollection\022,.milvus.proto.m" - "ilvus.CreateCollectionRequest\032\033.milvus.p" - "roto.common.Status\"\000\022[\n\016DropCollection\022*" - ".milvus.proto.milvus.DropCollectionReque" - "st\032\033.milvus.proto.common.Status\"\000\022_\n\rHas" - "Collection\022).milvus.proto.milvus.HasColl" - "ectionRequest\032!.milvus.proto.milvus.Bool" - "Response\"\000\022[\n\016LoadCollection\022*.milvus.pr" - "oto.milvus.LoadCollectionRequest\032\033.milvu" - "s.proto.common.Status\"\000\022a\n\021ReleaseCollec" - "tion\022-.milvus.proto.milvus.ReleaseCollec" - "tionRequest\032\033.milvus.proto.common.Status" - "\"\000\022w\n\022DescribeCollection\022..milvus.proto." - "milvus.DescribeCollectionRequest\032/.milvu" - "s.proto.milvus.DescribeCollectionRespons" - "e\"\000\022\206\001\n\027GetCollectionStatistics\0223.milvus" - ".proto.milvus.GetCollectionStatisticsReq" - "uest\0324.milvus.proto.milvus.GetCollection" - "StatisticsResponse\"\000\022n\n\017ShowCollections\022" - "+.milvus.proto.milvus.ShowCollectionsReq" - "uest\032,.milvus.proto.milvus.ShowCollectio" - "nsResponse\"\000\022]\n\017CreatePartition\022+.milvus" - ".proto.milvus.CreatePartitionRequest\032\033.m" - "ilvus.proto.common.Status\"\000\022Y\n\rDropParti" - "tion\022).milvus.proto.milvus.DropPartition" - "Request\032\033.milvus.proto.common.Status\"\000\022]" - "\n\014HasPartition\022(.milvus.proto.milvus.Has" - "PartitionRequest\032!.milvus.proto.milvus.B" - "oolResponse\"\000\022[\n\016LoadPartitions\022*.milvus" - ".proto.milvus.LoadPartitionsRequest\032\033.mi" - "lvus.proto.common.Status\"\000\022a\n\021ReleasePar" - "titions\022-.milvus.proto.milvus.ReleasePar" - "titionsRequest\032\033.milvus.proto.common.Sta" - "tus\"\000\022\203\001\n\026GetPartitionStatistics\0222.milvu" - "s.proto.milvus.GetPartitionStatisticsReq" - "uest\0323.milvus.proto.milvus.GetPartitionS" - "tatisticsResponse\"\000\022k\n\016ShowPartitions\022*." - "milvus.proto.milvus.ShowPartitionsReques" - "t\032+.milvus.proto.milvus.ShowPartitionsRe" - "sponse\"\000\022U\n\013CreateAlias\022\'.milvus.proto.m" - "ilvus.CreateAliasRequest\032\033.milvus.proto." - "common.Status\"\000\022Q\n\tDropAlias\022%.milvus.pr" - "oto.milvus.DropAliasRequest\032\033.milvus.pro" - "to.common.Status\"\000\022S\n\nAlterAlias\022&.milvu" - "s.proto.milvus.AlterAliasRequest\032\033.milvu" - "s.proto.common.Status\"\000\022U\n\013CreateIndex\022\'" - ".milvus.proto.milvus.CreateIndexRequest\032" - "\033.milvus.proto.common.Status\"\000\022h\n\rDescri" - "beIndex\022).milvus.proto.milvus.DescribeIn" - "dexRequest\032*.milvus.proto.milvus.Describ" - "eIndexResponse\"\000\022h\n\rGetIndexState\022).milv" - "us.proto.milvus.GetIndexStateRequest\032*.m" - "ilvus.proto.milvus.GetIndexStateResponse" - "\"\000\022\200\001\n\025GetIndexBuildProgress\0221.milvus.pr" - "oto.milvus.GetIndexBuildProgressRequest\032" - "2.milvus.proto.milvus.GetIndexBuildProgr" - "essResponse\"\000\022Q\n\tDropIndex\022%.milvus.prot" - "o.milvus.DropIndexRequest\032\033.milvus.proto" - ".common.Status\"\000\022S\n\006Insert\022\".milvus.prot" - "o.milvus.InsertRequest\032#.milvus.proto.mi" - "lvus.MutationResult\"\000\022S\n\006Delete\022\".milvus" - ".proto.milvus.DeleteRequest\032#.milvus.pro" - "to.milvus.MutationResult\"\000\022R\n\006Search\022\".m" - "ilvus.proto.milvus.SearchRequest\032\".milvu" - "s.proto.milvus.SearchResults\"\000\022P\n\005Flush\022" - "!.milvus.proto.milvus.FlushRequest\032\".mil" - "vus.proto.milvus.FlushResponse\"\000\022O\n\005Quer" - "y\022!.milvus.proto.milvus.QueryRequest\032!.m" - "ilvus.proto.milvus.QueryResults\"\000\022d\n\014Cal" - "cDistance\022(.milvus.proto.milvus.CalcDist" - "anceRequest\032(.milvus.proto.milvus.CalcDi" - "stanceResults\"\000\022\211\001\n\030GetPersistentSegment" - "Info\0224.milvus.proto.milvus.GetPersistent" - "SegmentInfoRequest\0325.milvus.proto.milvus" - ".GetPersistentSegmentInfoResponse\"\000\022z\n\023G" - "etQuerySegmentInfo\022/.milvus.proto.milvus" - ".GetQuerySegmentInfoRequest\0320.milvus.pro" - "to.milvus.GetQuerySegmentInfoResponse\"\000\022" - "P\n\005Dummy\022!.milvus.proto.milvus.DummyRequ" - "est\032\".milvus.proto.milvus.DummyResponse\"" - "\000\022e\n\014RegisterLink\022(.milvus.proto.milvus." - "RegisterLinkRequest\032).milvus.proto.milvu" - "s.RegisterLinkResponse\"\000\022_\n\nGetMetrics\022&" - ".milvus.proto.milvus.GetMetricsRequest\032\'" - ".milvus.proto.milvus.GetMetricsResponse\"" - "\000\022U\n\013LoadBalance\022\'.milvus.proto.milvus.L" - "oadBalanceRequest\032\033.milvus.proto.common." - "Status\"\0002u\n\014ProxyService\022e\n\014RegisterLink" - "\022(.milvus.proto.milvus.RegisterLinkReque" - "st\032).milvus.proto.milvus.RegisterLinkRes" - "ponse\"\000B5Z3github.com/milvus-io/milvus/i" - "nternal/proto/milvuspbb\006proto3" + "\030\004 \003(\003\"C\n\027ManualCompactionRequest\022\024\n\014col" + "lectionID\030\001 \001(\003\022\022\n\ntimetravel\030\002 \001(\004\"]\n\030M" + "anualCompactionResponse\022+\n\006status\030\001 \001(\0132" + "\033.milvus.proto.common.Status\022\024\n\014compacti" + "onID\030\002 \001(\003\"1\n\031GetCompactionStateRequest\022" + "\024\n\014compactionID\030\001 \001(\003\"\307\001\n\032GetCompactionS" + "tateResponse\022+\n\006status\030\001 \001(\0132\033.milvus.pr" + "oto.common.Status\0223\n\005state\030\002 \001(\0162$.milvu" + "s.proto.common.CompactionState\022\027\n\017execut" + "ingPlanNo\030\003 \001(\003\022\025\n\rtimeoutPlanNo\030\004 \001(\003\022\027" + "\n\017completedPlanNo\030\005 \001(\003\"1\n\031GetCompaction" + "PlansRequest\022\024\n\014compactionID\030\001 \001(\003\"\274\001\n\032G" + "etCompactionPlansResponse\022+\n\006status\030\001 \001(" + "\0132\033.milvus.proto.common.Status\0223\n\005state\030" + "\002 \001(\0162$.milvus.proto.common.CompactionSt" + "ate\022<\n\nmergeInfos\030\003 \003(\0132(.milvus.proto.m" + "ilvus.CompactionMergeInfo\"6\n\023CompactionM" + "ergeInfo\022\017\n\007sources\030\001 \003(\003\022\016\n\006target\030\002 \001(" + "\003*!\n\010ShowType\022\007\n\003All\020\000\022\014\n\010InMemory\020\001*>\n\017" + "PlaceholderType\022\010\n\004None\020\000\022\020\n\014BinaryVecto" + "r\020d\022\017\n\013FloatVector\020e2\230\035\n\rMilvusService\022_" + "\n\020CreateCollection\022,.milvus.proto.milvus" + ".CreateCollectionRequest\032\033.milvus.proto." + "common.Status\"\000\022[\n\016DropCollection\022*.milv" + "us.proto.milvus.DropCollectionRequest\032\033." + "milvus.proto.common.Status\"\000\022_\n\rHasColle" + "ction\022).milvus.proto.milvus.HasCollectio" + "nRequest\032!.milvus.proto.milvus.BoolRespo" + "nse\"\000\022[\n\016LoadCollection\022*.milvus.proto.m" + "ilvus.LoadCollectionRequest\032\033.milvus.pro" + "to.common.Status\"\000\022a\n\021ReleaseCollection\022" + "-.milvus.proto.milvus.ReleaseCollectionR" + "equest\032\033.milvus.proto.common.Status\"\000\022w\n" + "\022DescribeCollection\022..milvus.proto.milvu" + "s.DescribeCollectionRequest\032/.milvus.pro" + "to.milvus.DescribeCollectionResponse\"\000\022\206" + "\001\n\027GetCollectionStatistics\0223.milvus.prot" + "o.milvus.GetCollectionStatisticsRequest\032" + "4.milvus.proto.milvus.GetCollectionStati" + "sticsResponse\"\000\022n\n\017ShowCollections\022+.mil" + "vus.proto.milvus.ShowCollectionsRequest\032" + ",.milvus.proto.milvus.ShowCollectionsRes" + "ponse\"\000\022]\n\017CreatePartition\022+.milvus.prot" + "o.milvus.CreatePartitionRequest\032\033.milvus" + ".proto.common.Status\"\000\022Y\n\rDropPartition\022" + ").milvus.proto.milvus.DropPartitionReque" + "st\032\033.milvus.proto.common.Status\"\000\022]\n\014Has" + "Partition\022(.milvus.proto.milvus.HasParti" + "tionRequest\032!.milvus.proto.milvus.BoolRe" + "sponse\"\000\022[\n\016LoadPartitions\022*.milvus.prot" + "o.milvus.LoadPartitionsRequest\032\033.milvus." + "proto.common.Status\"\000\022a\n\021ReleasePartitio" + "ns\022-.milvus.proto.milvus.ReleasePartitio" + "nsRequest\032\033.milvus.proto.common.Status\"\000" + "\022\203\001\n\026GetPartitionStatistics\0222.milvus.pro" + "to.milvus.GetPartitionStatisticsRequest\032" + "3.milvus.proto.milvus.GetPartitionStatis" + "ticsResponse\"\000\022k\n\016ShowPartitions\022*.milvu" + "s.proto.milvus.ShowPartitionsRequest\032+.m" + "ilvus.proto.milvus.ShowPartitionsRespons" + "e\"\000\022U\n\013CreateAlias\022\'.milvus.proto.milvus" + ".CreateAliasRequest\032\033.milvus.proto.commo" + "n.Status\"\000\022Q\n\tDropAlias\022%.milvus.proto.m" + "ilvus.DropAliasRequest\032\033.milvus.proto.co" + "mmon.Status\"\000\022S\n\nAlterAlias\022&.milvus.pro" + "to.milvus.AlterAliasRequest\032\033.milvus.pro" + "to.common.Status\"\000\022U\n\013CreateIndex\022\'.milv" + "us.proto.milvus.CreateIndexRequest\032\033.mil" + "vus.proto.common.Status\"\000\022h\n\rDescribeInd" + "ex\022).milvus.proto.milvus.DescribeIndexRe" + "quest\032*.milvus.proto.milvus.DescribeInde" + "xResponse\"\000\022h\n\rGetIndexState\022).milvus.pr" + "oto.milvus.GetIndexStateRequest\032*.milvus" + ".proto.milvus.GetIndexStateResponse\"\000\022\200\001" + "\n\025GetIndexBuildProgress\0221.milvus.proto.m" + "ilvus.GetIndexBuildProgressRequest\0322.mil" + "vus.proto.milvus.GetIndexBuildProgressRe" + "sponse\"\000\022Q\n\tDropIndex\022%.milvus.proto.mil" + "vus.DropIndexRequest\032\033.milvus.proto.comm" + "on.Status\"\000\022S\n\006Insert\022\".milvus.proto.mil" + "vus.InsertRequest\032#.milvus.proto.milvus." + "MutationResult\"\000\022S\n\006Delete\022\".milvus.prot" + "o.milvus.DeleteRequest\032#.milvus.proto.mi" + "lvus.MutationResult\"\000\022R\n\006Search\022\".milvus" + ".proto.milvus.SearchRequest\032\".milvus.pro" + "to.milvus.SearchResults\"\000\022P\n\005Flush\022!.mil" + "vus.proto.milvus.FlushRequest\032\".milvus.p" + "roto.milvus.FlushResponse\"\000\022O\n\005Query\022!.m" + "ilvus.proto.milvus.QueryRequest\032!.milvus" + ".proto.milvus.QueryResults\"\000\022d\n\014CalcDist" + "ance\022(.milvus.proto.milvus.CalcDistanceR" + "equest\032(.milvus.proto.milvus.CalcDistanc" + "eResults\"\000\022\211\001\n\030GetPersistentSegmentInfo\022" + "4.milvus.proto.milvus.GetPersistentSegme" + "ntInfoRequest\0325.milvus.proto.milvus.GetP" + "ersistentSegmentInfoResponse\"\000\022z\n\023GetQue" + "rySegmentInfo\022/.milvus.proto.milvus.GetQ" + "uerySegmentInfoRequest\0320.milvus.proto.mi" + "lvus.GetQuerySegmentInfoResponse\"\000\022P\n\005Du" + "mmy\022!.milvus.proto.milvus.DummyRequest\032\"" + ".milvus.proto.milvus.DummyResponse\"\000\022e\n\014" + "RegisterLink\022(.milvus.proto.milvus.Regis" + "terLinkRequest\032).milvus.proto.milvus.Reg" + "isterLinkResponse\"\000\022_\n\nGetMetrics\022&.milv" + "us.proto.milvus.GetMetricsRequest\032\'.milv" + "us.proto.milvus.GetMetricsResponse\"\000\022U\n\013" + "LoadBalance\022\'.milvus.proto.milvus.LoadBa" + "lanceRequest\032\033.milvus.proto.common.Statu" + "s\"\000\022w\n\022GetCompactionState\022..milvus.proto" + ".milvus.GetCompactionStateRequest\032/.milv" + "us.proto.milvus.GetCompactionStateRespon" + "se\"\000\022q\n\020ManualCompaction\022,.milvus.proto." + "milvus.ManualCompactionRequest\032-.milvus." + "proto.milvus.ManualCompactionResponse\"\0002" + "u\n\014ProxyService\022e\n\014RegisterLink\022(.milvus" + ".proto.milvus.RegisterLinkRequest\032).milv" + "us.proto.milvus.RegisterLinkResponse\"\000B5" + "Z3github.com/milvus-io/milvus/internal/p" + "roto/milvuspbb\006proto3" ; static const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable*const descriptor_table_milvus_2eproto_deps[2] = { &::descriptor_table_common_2eproto, &::descriptor_table_schema_2eproto, }; -static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[68] = { +static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_milvus_2eproto_sccs[75] = { &scc_info_AlterAliasRequest_milvus_2eproto.base, &scc_info_BoolResponse_milvus_2eproto.base, &scc_info_CalcDistanceRequest_milvus_2eproto.base, &scc_info_CalcDistanceResults_milvus_2eproto.base, + &scc_info_CompactionMergeInfo_milvus_2eproto.base, &scc_info_CreateAliasRequest_milvus_2eproto.base, &scc_info_CreateCollectionRequest_milvus_2eproto.base, &scc_info_CreateIndexRequest_milvus_2eproto.base, @@ -2469,6 +2690,10 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil &scc_info_FlushResponse_CollSegIDsEntry_DoNotUse_milvus_2eproto.base, &scc_info_GetCollectionStatisticsRequest_milvus_2eproto.base, &scc_info_GetCollectionStatisticsResponse_milvus_2eproto.base, + &scc_info_GetCompactionPlansRequest_milvus_2eproto.base, + &scc_info_GetCompactionPlansResponse_milvus_2eproto.base, + &scc_info_GetCompactionStateRequest_milvus_2eproto.base, + &scc_info_GetCompactionStateResponse_milvus_2eproto.base, &scc_info_GetIndexBuildProgressRequest_milvus_2eproto.base, &scc_info_GetIndexBuildProgressResponse_milvus_2eproto.base, &scc_info_GetIndexStateRequest_milvus_2eproto.base, @@ -2489,6 +2714,8 @@ static ::PROTOBUF_NAMESPACE_ID::internal::SCCInfoBase*const descriptor_table_mil &scc_info_LoadBalanceRequest_milvus_2eproto.base, &scc_info_LoadCollectionRequest_milvus_2eproto.base, &scc_info_LoadPartitionsRequest_milvus_2eproto.base, + &scc_info_ManualCompactionRequest_milvus_2eproto.base, + &scc_info_ManualCompactionResponse_milvus_2eproto.base, &scc_info_MutationResult_milvus_2eproto.base, &scc_info_PersistentSegmentInfo_milvus_2eproto.base, &scc_info_PlaceholderGroup_milvus_2eproto.base, @@ -2515,10 +2742,10 @@ 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", 13350, - &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 68, 2, + &descriptor_table_milvus_2eproto_initialized, descriptor_table_protodef_milvus_2eproto, "milvus.proto", 14301, + &descriptor_table_milvus_2eproto_once, descriptor_table_milvus_2eproto_sccs, descriptor_table_milvus_2eproto_deps, 75, 2, schemas, file_default_instances, TableStruct_milvus_2eproto::offsets, - file_level_metadata_milvus_2eproto, 68, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, + file_level_metadata_milvus_2eproto, 75, file_level_enum_descriptors_milvus_2eproto, file_level_service_descriptors_milvus_2eproto, }; // Force running AddDescriptors() at dynamic initialization time. @@ -32021,6 +32248,2257 @@ void LoadBalanceRequest::InternalSwap(LoadBalanceRequest* other) { } +// =================================================================== + +void ManualCompactionRequest::InitAsDefaultInstance() { +} +class ManualCompactionRequest::_Internal { + public: +}; + +ManualCompactionRequest::ManualCompactionRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.ManualCompactionRequest) +} +ManualCompactionRequest::ManualCompactionRequest(const ManualCompactionRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::memcpy(&collectionid_, &from.collectionid_, + static_cast(reinterpret_cast(&timetravel_) - + reinterpret_cast(&collectionid_)) + sizeof(timetravel_)); + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.ManualCompactionRequest) +} + +void ManualCompactionRequest::SharedCtor() { + ::memset(&collectionid_, 0, static_cast( + reinterpret_cast(&timetravel_) - + reinterpret_cast(&collectionid_)) + sizeof(timetravel_)); +} + +ManualCompactionRequest::~ManualCompactionRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.ManualCompactionRequest) + SharedDtor(); +} + +void ManualCompactionRequest::SharedDtor() { +} + +void ManualCompactionRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ManualCompactionRequest& ManualCompactionRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ManualCompactionRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void ManualCompactionRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.ManualCompactionRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&collectionid_, 0, static_cast( + reinterpret_cast(&timetravel_) - + reinterpret_cast(&collectionid_)) + sizeof(timetravel_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ManualCompactionRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int64 collectionID = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + collectionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // uint64 timetravel = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + timetravel_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ManualCompactionRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.ManualCompactionRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int64 collectionID = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &collectionid_))); + } else { + goto handle_unusual; + } + break; + } + + // uint64 timetravel = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::uint64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_UINT64>( + input, &timetravel_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.ManualCompactionRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.ManualCompactionRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ManualCompactionRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.ManualCompactionRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 collectionID = 1; + if (this->collectionid() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(1, this->collectionid(), output); + } + + // uint64 timetravel = 2; + if (this->timetravel() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64(2, this->timetravel(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.ManualCompactionRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* ManualCompactionRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.ManualCompactionRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 collectionID = 1; + if (this->collectionid() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->collectionid(), target); + } + + // uint64 timetravel = 2; + if (this->timetravel() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteUInt64ToArray(2, this->timetravel(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.ManualCompactionRequest) + return target; +} + +size_t ManualCompactionRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.ManualCompactionRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int64 collectionID = 1; + if (this->collectionid() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->collectionid()); + } + + // uint64 timetravel = 2; + if (this->timetravel() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::UInt64Size( + this->timetravel()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ManualCompactionRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.ManualCompactionRequest) + GOOGLE_DCHECK_NE(&from, this); + const ManualCompactionRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.ManualCompactionRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.ManualCompactionRequest) + MergeFrom(*source); + } +} + +void ManualCompactionRequest::MergeFrom(const ManualCompactionRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.ManualCompactionRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.collectionid() != 0) { + set_collectionid(from.collectionid()); + } + if (from.timetravel() != 0) { + set_timetravel(from.timetravel()); + } +} + +void ManualCompactionRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.ManualCompactionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ManualCompactionRequest::CopyFrom(const ManualCompactionRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.ManualCompactionRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ManualCompactionRequest::IsInitialized() const { + return true; +} + +void ManualCompactionRequest::InternalSwap(ManualCompactionRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(collectionid_, other->collectionid_); + swap(timetravel_, other->timetravel_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ManualCompactionRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void ManualCompactionResponse::InitAsDefaultInstance() { + ::milvus::proto::milvus::_ManualCompactionResponse_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>( + ::milvus::proto::common::Status::internal_default_instance()); +} +class ManualCompactionResponse::_Internal { + public: + static const ::milvus::proto::common::Status& status(const ManualCompactionResponse* msg); +}; + +const ::milvus::proto::common::Status& +ManualCompactionResponse::_Internal::status(const ManualCompactionResponse* msg) { + return *msg->status_; +} +void ManualCompactionResponse::clear_status() { + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; +} +ManualCompactionResponse::ManualCompactionResponse() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.ManualCompactionResponse) +} +ManualCompactionResponse::ManualCompactionResponse(const ManualCompactionResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_status()) { + status_ = new ::milvus::proto::common::Status(*from.status_); + } else { + status_ = nullptr; + } + compactionid_ = from.compactionid_; + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.ManualCompactionResponse) +} + +void ManualCompactionResponse::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_ManualCompactionResponse_milvus_2eproto.base); + ::memset(&status_, 0, static_cast( + reinterpret_cast(&compactionid_) - + reinterpret_cast(&status_)) + sizeof(compactionid_)); +} + +ManualCompactionResponse::~ManualCompactionResponse() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.ManualCompactionResponse) + SharedDtor(); +} + +void ManualCompactionResponse::SharedDtor() { + if (this != internal_default_instance()) delete status_; +} + +void ManualCompactionResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const ManualCompactionResponse& ManualCompactionResponse::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_ManualCompactionResponse_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void ManualCompactionResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.ManualCompactionResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; + compactionid_ = PROTOBUF_LONGLONG(0); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* ManualCompactionResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.Status status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_status(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int64 compactionID = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + compactionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool ManualCompactionResponse::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.ManualCompactionResponse) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.Status status = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_status())); + } else { + goto handle_unusual; + } + break; + } + + // int64 compactionID = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &compactionid_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.ManualCompactionResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.ManualCompactionResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void ManualCompactionResponse::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.ManualCompactionResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::status(this), output); + } + + // int64 compactionID = 2; + if (this->compactionid() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(2, this->compactionid(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.ManualCompactionResponse) +} + +::PROTOBUF_NAMESPACE_ID::uint8* ManualCompactionResponse::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.ManualCompactionResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::status(this), target); + } + + // int64 compactionID = 2; + if (this->compactionid() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->compactionid(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.ManualCompactionResponse) + return target; +} + +size_t ManualCompactionResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.ManualCompactionResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *status_); + } + + // int64 compactionID = 2; + if (this->compactionid() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->compactionid()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void ManualCompactionResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.ManualCompactionResponse) + GOOGLE_DCHECK_NE(&from, this); + const ManualCompactionResponse* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.ManualCompactionResponse) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.ManualCompactionResponse) + MergeFrom(*source); + } +} + +void ManualCompactionResponse::MergeFrom(const ManualCompactionResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.ManualCompactionResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_status()) { + mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); + } + if (from.compactionid() != 0) { + set_compactionid(from.compactionid()); + } +} + +void ManualCompactionResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.ManualCompactionResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void ManualCompactionResponse::CopyFrom(const ManualCompactionResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.ManualCompactionResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool ManualCompactionResponse::IsInitialized() const { + return true; +} + +void ManualCompactionResponse::InternalSwap(ManualCompactionResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(status_, other->status_); + swap(compactionid_, other->compactionid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata ManualCompactionResponse::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void GetCompactionStateRequest::InitAsDefaultInstance() { +} +class GetCompactionStateRequest::_Internal { + public: +}; + +GetCompactionStateRequest::GetCompactionStateRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.GetCompactionStateRequest) +} +GetCompactionStateRequest::GetCompactionStateRequest(const GetCompactionStateRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + compactionid_ = from.compactionid_; + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.GetCompactionStateRequest) +} + +void GetCompactionStateRequest::SharedCtor() { + compactionid_ = PROTOBUF_LONGLONG(0); +} + +GetCompactionStateRequest::~GetCompactionStateRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.GetCompactionStateRequest) + SharedDtor(); +} + +void GetCompactionStateRequest::SharedDtor() { +} + +void GetCompactionStateRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetCompactionStateRequest& GetCompactionStateRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetCompactionStateRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void GetCompactionStateRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.GetCompactionStateRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + compactionid_ = PROTOBUF_LONGLONG(0); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetCompactionStateRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int64 compactionID = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + compactionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetCompactionStateRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.GetCompactionStateRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int64 compactionID = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &compactionid_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.GetCompactionStateRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.GetCompactionStateRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetCompactionStateRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.GetCompactionStateRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(1, this->compactionid(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.GetCompactionStateRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* GetCompactionStateRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.GetCompactionStateRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->compactionid(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.GetCompactionStateRequest) + return target; +} + +size_t GetCompactionStateRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.GetCompactionStateRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->compactionid()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetCompactionStateRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.GetCompactionStateRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetCompactionStateRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.GetCompactionStateRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.GetCompactionStateRequest) + MergeFrom(*source); + } +} + +void GetCompactionStateRequest::MergeFrom(const GetCompactionStateRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.GetCompactionStateRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.compactionid() != 0) { + set_compactionid(from.compactionid()); + } +} + +void GetCompactionStateRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.GetCompactionStateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetCompactionStateRequest::CopyFrom(const GetCompactionStateRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.GetCompactionStateRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetCompactionStateRequest::IsInitialized() const { + return true; +} + +void GetCompactionStateRequest::InternalSwap(GetCompactionStateRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(compactionid_, other->compactionid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetCompactionStateRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void GetCompactionStateResponse::InitAsDefaultInstance() { + ::milvus::proto::milvus::_GetCompactionStateResponse_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>( + ::milvus::proto::common::Status::internal_default_instance()); +} +class GetCompactionStateResponse::_Internal { + public: + static const ::milvus::proto::common::Status& status(const GetCompactionStateResponse* msg); +}; + +const ::milvus::proto::common::Status& +GetCompactionStateResponse::_Internal::status(const GetCompactionStateResponse* msg) { + return *msg->status_; +} +void GetCompactionStateResponse::clear_status() { + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; +} +GetCompactionStateResponse::GetCompactionStateResponse() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.GetCompactionStateResponse) +} +GetCompactionStateResponse::GetCompactionStateResponse(const GetCompactionStateResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_status()) { + status_ = new ::milvus::proto::common::Status(*from.status_); + } else { + status_ = nullptr; + } + ::memcpy(&executingplanno_, &from.executingplanno_, + static_cast(reinterpret_cast(&state_) - + reinterpret_cast(&executingplanno_)) + sizeof(state_)); + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.GetCompactionStateResponse) +} + +void GetCompactionStateResponse::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetCompactionStateResponse_milvus_2eproto.base); + ::memset(&status_, 0, static_cast( + reinterpret_cast(&state_) - + reinterpret_cast(&status_)) + sizeof(state_)); +} + +GetCompactionStateResponse::~GetCompactionStateResponse() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.GetCompactionStateResponse) + SharedDtor(); +} + +void GetCompactionStateResponse::SharedDtor() { + if (this != internal_default_instance()) delete status_; +} + +void GetCompactionStateResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetCompactionStateResponse& GetCompactionStateResponse::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetCompactionStateResponse_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void GetCompactionStateResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.GetCompactionStateResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; + ::memset(&executingplanno_, 0, static_cast( + reinterpret_cast(&state_) - + reinterpret_cast(&executingplanno_)) + sizeof(state_)); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetCompactionStateResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.Status status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_status(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .milvus.proto.common.CompactionState state = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + set_state(static_cast<::milvus::proto::common::CompactionState>(val)); + } else goto handle_unusual; + continue; + // int64 executingPlanNo = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 24)) { + executingplanno_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int64 timeoutPlanNo = 4; + case 4: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 32)) { + timeoutplanno_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int64 completedPlanNo = 5; + case 5: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 40)) { + completedplanno_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetCompactionStateResponse::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.GetCompactionStateResponse) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.Status status = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_status())); + } else { + goto handle_unusual; + } + break; + } + + // .milvus.proto.common.CompactionState state = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) { + int value = 0; + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_state(static_cast< ::milvus::proto::common::CompactionState >(value)); + } else { + goto handle_unusual; + } + break; + } + + // int64 executingPlanNo = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (24 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &executingplanno_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 timeoutPlanNo = 4; + case 4: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (32 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &timeoutplanno_))); + } else { + goto handle_unusual; + } + break; + } + + // int64 completedPlanNo = 5; + case 5: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (40 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &completedplanno_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.GetCompactionStateResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.GetCompactionStateResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetCompactionStateResponse::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.GetCompactionStateResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::status(this), output); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum( + 2, this->state(), output); + } + + // int64 executingPlanNo = 3; + if (this->executingplanno() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(3, this->executingplanno(), output); + } + + // int64 timeoutPlanNo = 4; + if (this->timeoutplanno() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(4, this->timeoutplanno(), output); + } + + // int64 completedPlanNo = 5; + if (this->completedplanno() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(5, this->completedplanno(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.GetCompactionStateResponse) +} + +::PROTOBUF_NAMESPACE_ID::uint8* GetCompactionStateResponse::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.GetCompactionStateResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::status(this), target); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 2, this->state(), target); + } + + // int64 executingPlanNo = 3; + if (this->executingplanno() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(3, this->executingplanno(), target); + } + + // int64 timeoutPlanNo = 4; + if (this->timeoutplanno() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(4, this->timeoutplanno(), target); + } + + // int64 completedPlanNo = 5; + if (this->completedplanno() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(5, this->completedplanno(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.GetCompactionStateResponse) + return target; +} + +size_t GetCompactionStateResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.GetCompactionStateResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *status_); + } + + // int64 executingPlanNo = 3; + if (this->executingplanno() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->executingplanno()); + } + + // int64 timeoutPlanNo = 4; + if (this->timeoutplanno() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->timeoutplanno()); + } + + // int64 completedPlanNo = 5; + if (this->completedplanno() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->completedplanno()); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->state()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetCompactionStateResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.GetCompactionStateResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetCompactionStateResponse* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.GetCompactionStateResponse) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.GetCompactionStateResponse) + MergeFrom(*source); + } +} + +void GetCompactionStateResponse::MergeFrom(const GetCompactionStateResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.GetCompactionStateResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.has_status()) { + mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); + } + if (from.executingplanno() != 0) { + set_executingplanno(from.executingplanno()); + } + if (from.timeoutplanno() != 0) { + set_timeoutplanno(from.timeoutplanno()); + } + if (from.completedplanno() != 0) { + set_completedplanno(from.completedplanno()); + } + if (from.state() != 0) { + set_state(from.state()); + } +} + +void GetCompactionStateResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.GetCompactionStateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetCompactionStateResponse::CopyFrom(const GetCompactionStateResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.GetCompactionStateResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetCompactionStateResponse::IsInitialized() const { + return true; +} + +void GetCompactionStateResponse::InternalSwap(GetCompactionStateResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(status_, other->status_); + swap(executingplanno_, other->executingplanno_); + swap(timeoutplanno_, other->timeoutplanno_); + swap(completedplanno_, other->completedplanno_); + swap(state_, other->state_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetCompactionStateResponse::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void GetCompactionPlansRequest::InitAsDefaultInstance() { +} +class GetCompactionPlansRequest::_Internal { + public: +}; + +GetCompactionPlansRequest::GetCompactionPlansRequest() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.GetCompactionPlansRequest) +} +GetCompactionPlansRequest::GetCompactionPlansRequest(const GetCompactionPlansRequest& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + compactionid_ = from.compactionid_; + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.GetCompactionPlansRequest) +} + +void GetCompactionPlansRequest::SharedCtor() { + compactionid_ = PROTOBUF_LONGLONG(0); +} + +GetCompactionPlansRequest::~GetCompactionPlansRequest() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.GetCompactionPlansRequest) + SharedDtor(); +} + +void GetCompactionPlansRequest::SharedDtor() { +} + +void GetCompactionPlansRequest::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetCompactionPlansRequest& GetCompactionPlansRequest::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetCompactionPlansRequest_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void GetCompactionPlansRequest::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.GetCompactionPlansRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + compactionid_ = PROTOBUF_LONGLONG(0); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetCompactionPlansRequest::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // int64 compactionID = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8)) { + compactionid_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetCompactionPlansRequest::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.GetCompactionPlansRequest) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // int64 compactionID = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &compactionid_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.GetCompactionPlansRequest) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.GetCompactionPlansRequest) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetCompactionPlansRequest::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.GetCompactionPlansRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(1, this->compactionid(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.GetCompactionPlansRequest) +} + +::PROTOBUF_NAMESPACE_ID::uint8* GetCompactionPlansRequest::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.GetCompactionPlansRequest) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(1, this->compactionid(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.GetCompactionPlansRequest) + return target; +} + +size_t GetCompactionPlansRequest::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.GetCompactionPlansRequest) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // int64 compactionID = 1; + if (this->compactionid() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->compactionid()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetCompactionPlansRequest::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.GetCompactionPlansRequest) + GOOGLE_DCHECK_NE(&from, this); + const GetCompactionPlansRequest* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.GetCompactionPlansRequest) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.GetCompactionPlansRequest) + MergeFrom(*source); + } +} + +void GetCompactionPlansRequest::MergeFrom(const GetCompactionPlansRequest& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.GetCompactionPlansRequest) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + if (from.compactionid() != 0) { + set_compactionid(from.compactionid()); + } +} + +void GetCompactionPlansRequest::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.GetCompactionPlansRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetCompactionPlansRequest::CopyFrom(const GetCompactionPlansRequest& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.GetCompactionPlansRequest) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetCompactionPlansRequest::IsInitialized() const { + return true; +} + +void GetCompactionPlansRequest::InternalSwap(GetCompactionPlansRequest* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + swap(compactionid_, other->compactionid_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetCompactionPlansRequest::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void GetCompactionPlansResponse::InitAsDefaultInstance() { + ::milvus::proto::milvus::_GetCompactionPlansResponse_default_instance_._instance.get_mutable()->status_ = const_cast< ::milvus::proto::common::Status*>( + ::milvus::proto::common::Status::internal_default_instance()); +} +class GetCompactionPlansResponse::_Internal { + public: + static const ::milvus::proto::common::Status& status(const GetCompactionPlansResponse* msg); +}; + +const ::milvus::proto::common::Status& +GetCompactionPlansResponse::_Internal::status(const GetCompactionPlansResponse* msg) { + return *msg->status_; +} +void GetCompactionPlansResponse::clear_status() { + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; +} +GetCompactionPlansResponse::GetCompactionPlansResponse() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.GetCompactionPlansResponse) +} +GetCompactionPlansResponse::GetCompactionPlansResponse(const GetCompactionPlansResponse& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + mergeinfos_(from.mergeinfos_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + if (from.has_status()) { + status_ = new ::milvus::proto::common::Status(*from.status_); + } else { + status_ = nullptr; + } + state_ = from.state_; + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.GetCompactionPlansResponse) +} + +void GetCompactionPlansResponse::SharedCtor() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&scc_info_GetCompactionPlansResponse_milvus_2eproto.base); + ::memset(&status_, 0, static_cast( + reinterpret_cast(&state_) - + reinterpret_cast(&status_)) + sizeof(state_)); +} + +GetCompactionPlansResponse::~GetCompactionPlansResponse() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.GetCompactionPlansResponse) + SharedDtor(); +} + +void GetCompactionPlansResponse::SharedDtor() { + if (this != internal_default_instance()) delete status_; +} + +void GetCompactionPlansResponse::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const GetCompactionPlansResponse& GetCompactionPlansResponse::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_GetCompactionPlansResponse_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void GetCompactionPlansResponse::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.GetCompactionPlansResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + mergeinfos_.Clear(); + if (GetArenaNoVirtual() == nullptr && status_ != nullptr) { + delete status_; + } + status_ = nullptr; + state_ = 0; + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* GetCompactionPlansResponse::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // .milvus.proto.common.Status status = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ctx->ParseMessage(mutable_status(), ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + // .milvus.proto.common.CompactionState state = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + ::PROTOBUF_NAMESPACE_ID::uint64 val = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + set_state(static_cast<::milvus::proto::common::CompactionState>(val)); + } else goto handle_unusual; + continue; + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + case 3: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 26)) { + ptr -= 1; + do { + ptr += 1; + ptr = ctx->ParseMessage(add_mergeinfos(), ptr); + CHK_(ptr); + if (!ctx->DataAvailable(ptr)) break; + } while (::PROTOBUF_NAMESPACE_ID::internal::UnalignedLoad<::PROTOBUF_NAMESPACE_ID::uint8>(ptr) == 26); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool GetCompactionPlansResponse::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.GetCompactionPlansResponse) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // .milvus.proto.common.Status status = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, mutable_status())); + } else { + goto handle_unusual; + } + break; + } + + // .milvus.proto.common.CompactionState state = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) { + int value = 0; + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + int, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_ENUM>( + input, &value))); + set_state(static_cast< ::milvus::proto::common::CompactionState >(value)); + } else { + goto handle_unusual; + } + break; + } + + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + case 3: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (26 & 0xFF)) { + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadMessage( + input, add_mergeinfos())); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.GetCompactionPlansResponse) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.GetCompactionPlansResponse) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void GetCompactionPlansResponse::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.GetCompactionPlansResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 1, _Internal::status(this), output); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnum( + 2, this->state(), output); + } + + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + for (unsigned int i = 0, + n = static_cast(this->mergeinfos_size()); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteMessageMaybeToArray( + 3, + this->mergeinfos(static_cast(i)), + output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.GetCompactionPlansResponse) +} + +::PROTOBUF_NAMESPACE_ID::uint8* GetCompactionPlansResponse::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.GetCompactionPlansResponse) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 1, _Internal::status(this), target); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteEnumToArray( + 2, this->state(), target); + } + + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + for (unsigned int i = 0, + n = static_cast(this->mergeinfos_size()); i < n; i++) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + InternalWriteMessageToArray( + 3, this->mergeinfos(static_cast(i)), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.GetCompactionPlansResponse) + return target; +} + +size_t GetCompactionPlansResponse::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.GetCompactionPlansResponse) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + { + unsigned int count = static_cast(this->mergeinfos_size()); + total_size += 1UL * count; + for (unsigned int i = 0; i < count; i++) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + this->mergeinfos(static_cast(i))); + } + } + + // .milvus.proto.common.Status status = 1; + if (this->has_status()) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::MessageSize( + *status_); + } + + // .milvus.proto.common.CompactionState state = 2; + if (this->state() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::EnumSize(this->state()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void GetCompactionPlansResponse::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.GetCompactionPlansResponse) + GOOGLE_DCHECK_NE(&from, this); + const GetCompactionPlansResponse* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.GetCompactionPlansResponse) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.GetCompactionPlansResponse) + MergeFrom(*source); + } +} + +void GetCompactionPlansResponse::MergeFrom(const GetCompactionPlansResponse& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.GetCompactionPlansResponse) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + mergeinfos_.MergeFrom(from.mergeinfos_); + if (from.has_status()) { + mutable_status()->::milvus::proto::common::Status::MergeFrom(from.status()); + } + if (from.state() != 0) { + set_state(from.state()); + } +} + +void GetCompactionPlansResponse::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.GetCompactionPlansResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void GetCompactionPlansResponse::CopyFrom(const GetCompactionPlansResponse& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.GetCompactionPlansResponse) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool GetCompactionPlansResponse::IsInitialized() const { + return true; +} + +void GetCompactionPlansResponse::InternalSwap(GetCompactionPlansResponse* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + CastToBase(&mergeinfos_)->InternalSwap(CastToBase(&other->mergeinfos_)); + swap(status_, other->status_); + swap(state_, other->state_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata GetCompactionPlansResponse::GetMetadata() const { + return GetMetadataStatic(); +} + + +// =================================================================== + +void CompactionMergeInfo::InitAsDefaultInstance() { +} +class CompactionMergeInfo::_Internal { + public: +}; + +CompactionMergeInfo::CompactionMergeInfo() + : ::PROTOBUF_NAMESPACE_ID::Message(), _internal_metadata_(nullptr) { + SharedCtor(); + // @@protoc_insertion_point(constructor:milvus.proto.milvus.CompactionMergeInfo) +} +CompactionMergeInfo::CompactionMergeInfo(const CompactionMergeInfo& from) + : ::PROTOBUF_NAMESPACE_ID::Message(), + _internal_metadata_(nullptr), + sources_(from.sources_) { + _internal_metadata_.MergeFrom(from._internal_metadata_); + target_ = from.target_; + // @@protoc_insertion_point(copy_constructor:milvus.proto.milvus.CompactionMergeInfo) +} + +void CompactionMergeInfo::SharedCtor() { + target_ = PROTOBUF_LONGLONG(0); +} + +CompactionMergeInfo::~CompactionMergeInfo() { + // @@protoc_insertion_point(destructor:milvus.proto.milvus.CompactionMergeInfo) + SharedDtor(); +} + +void CompactionMergeInfo::SharedDtor() { +} + +void CompactionMergeInfo::SetCachedSize(int size) const { + _cached_size_.Set(size); +} +const CompactionMergeInfo& CompactionMergeInfo::default_instance() { + ::PROTOBUF_NAMESPACE_ID::internal::InitSCC(&::scc_info_CompactionMergeInfo_milvus_2eproto.base); + return *internal_default_instance(); +} + + +void CompactionMergeInfo::Clear() { +// @@protoc_insertion_point(message_clear_start:milvus.proto.milvus.CompactionMergeInfo) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + sources_.Clear(); + target_ = PROTOBUF_LONGLONG(0); + _internal_metadata_.Clear(); +} + +#if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +const char* CompactionMergeInfo::_InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) { +#define CHK_(x) if (PROTOBUF_PREDICT_FALSE(!(x))) goto failure + while (!ctx->Done(&ptr)) { + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + ptr = ::PROTOBUF_NAMESPACE_ID::internal::ReadTag(ptr, &tag); + CHK_(ptr); + switch (tag >> 3) { + // repeated int64 sources = 1; + case 1: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 10)) { + ptr = ::PROTOBUF_NAMESPACE_ID::internal::PackedInt64Parser(mutable_sources(), ptr, ctx); + CHK_(ptr); + } else if (static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 8) { + add_sources(::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr)); + CHK_(ptr); + } else goto handle_unusual; + continue; + // int64 target = 2; + case 2: + if (PROTOBUF_PREDICT_TRUE(static_cast<::PROTOBUF_NAMESPACE_ID::uint8>(tag) == 16)) { + target_ = ::PROTOBUF_NAMESPACE_ID::internal::ReadVarint(&ptr); + CHK_(ptr); + } else goto handle_unusual; + continue; + default: { + handle_unusual: + if ((tag & 7) == 4 || tag == 0) { + ctx->SetLastTag(tag); + goto success; + } + ptr = UnknownFieldParse(tag, &_internal_metadata_, ptr, ctx); + CHK_(ptr != nullptr); + continue; + } + } // switch + } // while +success: + return ptr; +failure: + ptr = nullptr; + goto success; +#undef CHK_ +} +#else // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER +bool CompactionMergeInfo::MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) { +#define DO_(EXPRESSION) if (!PROTOBUF_PREDICT_TRUE(EXPRESSION)) goto failure + ::PROTOBUF_NAMESPACE_ID::uint32 tag; + // @@protoc_insertion_point(parse_start:milvus.proto.milvus.CompactionMergeInfo) + for (;;) { + ::std::pair<::PROTOBUF_NAMESPACE_ID::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u); + tag = p.first; + if (!p.second) goto handle_unusual; + switch (::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::GetTagFieldNumber(tag)) { + // repeated int64 sources = 1; + case 1: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (10 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPackedPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, this->mutable_sources()))); + } else if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (8 & 0xFF)) { + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + 1, 10u, input, this->mutable_sources()))); + } else { + goto handle_unusual; + } + break; + } + + // int64 target = 2; + case 2: { + if (static_cast< ::PROTOBUF_NAMESPACE_ID::uint8>(tag) == (16 & 0xFF)) { + + DO_((::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::ReadPrimitive< + ::PROTOBUF_NAMESPACE_ID::int64, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT64>( + input, &target_))); + } else { + goto handle_unusual; + } + break; + } + + default: { + handle_unusual: + if (tag == 0) { + goto success; + } + DO_(::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SkipField( + input, tag, _internal_metadata_.mutable_unknown_fields())); + break; + } + } + } +success: + // @@protoc_insertion_point(parse_success:milvus.proto.milvus.CompactionMergeInfo) + return true; +failure: + // @@protoc_insertion_point(parse_failure:milvus.proto.milvus.CompactionMergeInfo) + return false; +#undef DO_ +} +#endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + +void CompactionMergeInfo::SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const { + // @@protoc_insertion_point(serialize_start:milvus.proto.milvus.CompactionMergeInfo) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int64 sources = 1; + if (this->sources_size() > 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTag(1, ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output); + output->WriteVarint32(_sources_cached_byte_size_.load( + std::memory_order_relaxed)); + } + for (int i = 0, n = this->sources_size(); i < n; i++) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64NoTag( + this->sources(i), output); + } + + // int64 target = 2; + if (this->target() != 0) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64(2, this->target(), output); + } + + if (_internal_metadata_.have_unknown_fields()) { + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFields( + _internal_metadata_.unknown_fields(), output); + } + // @@protoc_insertion_point(serialize_end:milvus.proto.milvus.CompactionMergeInfo) +} + +::PROTOBUF_NAMESPACE_ID::uint8* CompactionMergeInfo::InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const { + // @@protoc_insertion_point(serialize_to_array_start:milvus.proto.milvus.CompactionMergeInfo) + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + // repeated int64 sources = 1; + if (this->sources_size() > 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteTagToArray( + 1, + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, + target); + target = ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream::WriteVarint32ToArray( + _sources_cached_byte_size_.load(std::memory_order_relaxed), + target); + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + WriteInt64NoTagToArray(this->sources_, target); + } + + // int64 target = 2; + if (this->target() != 0) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::WriteInt64ToArray(2, this->target(), target); + } + + if (_internal_metadata_.have_unknown_fields()) { + target = ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::SerializeUnknownFieldsToArray( + _internal_metadata_.unknown_fields(), target); + } + // @@protoc_insertion_point(serialize_to_array_end:milvus.proto.milvus.CompactionMergeInfo) + return target; +} + +size_t CompactionMergeInfo::ByteSizeLong() const { +// @@protoc_insertion_point(message_byte_size_start:milvus.proto.milvus.CompactionMergeInfo) + size_t total_size = 0; + + if (_internal_metadata_.have_unknown_fields()) { + total_size += + ::PROTOBUF_NAMESPACE_ID::internal::WireFormat::ComputeUnknownFieldsSize( + _internal_metadata_.unknown_fields()); + } + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + // repeated int64 sources = 1; + { + size_t data_size = ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite:: + Int64Size(this->sources_); + 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); + _sources_cached_byte_size_.store(cached_size, + std::memory_order_relaxed); + total_size += data_size; + } + + // int64 target = 2; + if (this->target() != 0) { + total_size += 1 + + ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::Int64Size( + this->target()); + } + + int cached_size = ::PROTOBUF_NAMESPACE_ID::internal::ToCachedSize(total_size); + SetCachedSize(cached_size); + return total_size; +} + +void CompactionMergeInfo::MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_merge_from_start:milvus.proto.milvus.CompactionMergeInfo) + GOOGLE_DCHECK_NE(&from, this); + const CompactionMergeInfo* source = + ::PROTOBUF_NAMESPACE_ID::DynamicCastToGenerated( + &from); + if (source == nullptr) { + // @@protoc_insertion_point(generalized_merge_from_cast_fail:milvus.proto.milvus.CompactionMergeInfo) + ::PROTOBUF_NAMESPACE_ID::internal::ReflectionOps::Merge(from, this); + } else { + // @@protoc_insertion_point(generalized_merge_from_cast_success:milvus.proto.milvus.CompactionMergeInfo) + MergeFrom(*source); + } +} + +void CompactionMergeInfo::MergeFrom(const CompactionMergeInfo& from) { +// @@protoc_insertion_point(class_specific_merge_from_start:milvus.proto.milvus.CompactionMergeInfo) + GOOGLE_DCHECK_NE(&from, this); + _internal_metadata_.MergeFrom(from._internal_metadata_); + ::PROTOBUF_NAMESPACE_ID::uint32 cached_has_bits = 0; + (void) cached_has_bits; + + sources_.MergeFrom(from.sources_); + if (from.target() != 0) { + set_target(from.target()); + } +} + +void CompactionMergeInfo::CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) { +// @@protoc_insertion_point(generalized_copy_from_start:milvus.proto.milvus.CompactionMergeInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +void CompactionMergeInfo::CopyFrom(const CompactionMergeInfo& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:milvus.proto.milvus.CompactionMergeInfo) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + +bool CompactionMergeInfo::IsInitialized() const { + return true; +} + +void CompactionMergeInfo::InternalSwap(CompactionMergeInfo* other) { + using std::swap; + _internal_metadata_.Swap(&other->_internal_metadata_); + sources_.InternalSwap(&other->sources_); + swap(target_, other->target_); +} + +::PROTOBUF_NAMESPACE_ID::Metadata CompactionMergeInfo::GetMetadata() const { + return GetMetadataStatic(); +} + + // @@protoc_insertion_point(namespace_scope) } // namespace milvus } // namespace proto @@ -32230,6 +34708,27 @@ template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::GetMetricsResponse* Arena: template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::LoadBalanceRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::LoadBalanceRequest >(Arena* arena) { return Arena::CreateInternal< ::milvus::proto::milvus::LoadBalanceRequest >(arena); } +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::ManualCompactionRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::ManualCompactionRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::ManualCompactionRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::ManualCompactionResponse* Arena::CreateMaybeMessage< ::milvus::proto::milvus::ManualCompactionResponse >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::ManualCompactionResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::GetCompactionStateRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::GetCompactionStateRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::GetCompactionStateRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::GetCompactionStateResponse* Arena::CreateMaybeMessage< ::milvus::proto::milvus::GetCompactionStateResponse >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::GetCompactionStateResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::GetCompactionPlansRequest* Arena::CreateMaybeMessage< ::milvus::proto::milvus::GetCompactionPlansRequest >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::GetCompactionPlansRequest >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::GetCompactionPlansResponse* Arena::CreateMaybeMessage< ::milvus::proto::milvus::GetCompactionPlansResponse >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::GetCompactionPlansResponse >(arena); +} +template<> PROTOBUF_NOINLINE ::milvus::proto::milvus::CompactionMergeInfo* Arena::CreateMaybeMessage< ::milvus::proto::milvus::CompactionMergeInfo >(Arena* arena) { + return Arena::CreateInternal< ::milvus::proto::milvus::CompactionMergeInfo >(arena); +} PROTOBUF_NAMESPACE_CLOSE // @@protoc_insertion_point(global_scope) diff --git a/internal/core/src/pb/milvus.pb.h b/internal/core/src/pb/milvus.pb.h index 4276faac4b..b2022bebf3 100644 --- a/internal/core/src/pb/milvus.pb.h +++ b/internal/core/src/pb/milvus.pb.h @@ -53,7 +53,7 @@ struct TableStruct_milvus_2eproto { PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold); - static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[68] + static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[75] PROTOBUF_SECTION_VARIABLE(protodesc_cold); static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; @@ -75,6 +75,9 @@ extern CalcDistanceRequestDefaultTypeInternal _CalcDistanceRequest_default_insta class CalcDistanceResults; class CalcDistanceResultsDefaultTypeInternal; extern CalcDistanceResultsDefaultTypeInternal _CalcDistanceResults_default_instance_; +class CompactionMergeInfo; +class CompactionMergeInfoDefaultTypeInternal; +extern CompactionMergeInfoDefaultTypeInternal _CompactionMergeInfo_default_instance_; class CreateAliasRequest; class CreateAliasRequestDefaultTypeInternal; extern CreateAliasRequestDefaultTypeInternal _CreateAliasRequest_default_instance_; @@ -141,6 +144,18 @@ extern GetCollectionStatisticsRequestDefaultTypeInternal _GetCollectionStatistic class GetCollectionStatisticsResponse; class GetCollectionStatisticsResponseDefaultTypeInternal; extern GetCollectionStatisticsResponseDefaultTypeInternal _GetCollectionStatisticsResponse_default_instance_; +class GetCompactionPlansRequest; +class GetCompactionPlansRequestDefaultTypeInternal; +extern GetCompactionPlansRequestDefaultTypeInternal _GetCompactionPlansRequest_default_instance_; +class GetCompactionPlansResponse; +class GetCompactionPlansResponseDefaultTypeInternal; +extern GetCompactionPlansResponseDefaultTypeInternal _GetCompactionPlansResponse_default_instance_; +class GetCompactionStateRequest; +class GetCompactionStateRequestDefaultTypeInternal; +extern GetCompactionStateRequestDefaultTypeInternal _GetCompactionStateRequest_default_instance_; +class GetCompactionStateResponse; +class GetCompactionStateResponseDefaultTypeInternal; +extern GetCompactionStateResponseDefaultTypeInternal _GetCompactionStateResponse_default_instance_; class GetIndexBuildProgressRequest; class GetIndexBuildProgressRequestDefaultTypeInternal; extern GetIndexBuildProgressRequestDefaultTypeInternal _GetIndexBuildProgressRequest_default_instance_; @@ -201,6 +216,12 @@ extern LoadCollectionRequestDefaultTypeInternal _LoadCollectionRequest_default_i class LoadPartitionsRequest; class LoadPartitionsRequestDefaultTypeInternal; extern LoadPartitionsRequestDefaultTypeInternal _LoadPartitionsRequest_default_instance_; +class ManualCompactionRequest; +class ManualCompactionRequestDefaultTypeInternal; +extern ManualCompactionRequestDefaultTypeInternal _ManualCompactionRequest_default_instance_; +class ManualCompactionResponse; +class ManualCompactionResponseDefaultTypeInternal; +extern ManualCompactionResponseDefaultTypeInternal _ManualCompactionResponse_default_instance_; class MutationResult; class MutationResultDefaultTypeInternal; extern MutationResultDefaultTypeInternal _MutationResult_default_instance_; @@ -275,6 +296,7 @@ template<> ::milvus::proto::milvus::AlterAliasRequest* Arena::CreateMaybeMessage template<> ::milvus::proto::milvus::BoolResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::BoolResponse>(Arena*); template<> ::milvus::proto::milvus::CalcDistanceRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CalcDistanceRequest>(Arena*); template<> ::milvus::proto::milvus::CalcDistanceResults* Arena::CreateMaybeMessage<::milvus::proto::milvus::CalcDistanceResults>(Arena*); +template<> ::milvus::proto::milvus::CompactionMergeInfo* Arena::CreateMaybeMessage<::milvus::proto::milvus::CompactionMergeInfo>(Arena*); template<> ::milvus::proto::milvus::CreateAliasRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateAliasRequest>(Arena*); template<> ::milvus::proto::milvus::CreateCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateCollectionRequest>(Arena*); template<> ::milvus::proto::milvus::CreateIndexRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::CreateIndexRequest>(Arena*); @@ -297,6 +319,10 @@ template<> ::milvus::proto::milvus::FlushResponse* Arena::CreateMaybeMessage<::m template<> ::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse* Arena::CreateMaybeMessage<::milvus::proto::milvus::FlushResponse_CollSegIDsEntry_DoNotUse>(Arena*); template<> ::milvus::proto::milvus::GetCollectionStatisticsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCollectionStatisticsRequest>(Arena*); template<> ::milvus::proto::milvus::GetCollectionStatisticsResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCollectionStatisticsResponse>(Arena*); +template<> ::milvus::proto::milvus::GetCompactionPlansRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCompactionPlansRequest>(Arena*); +template<> ::milvus::proto::milvus::GetCompactionPlansResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCompactionPlansResponse>(Arena*); +template<> ::milvus::proto::milvus::GetCompactionStateRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCompactionStateRequest>(Arena*); +template<> ::milvus::proto::milvus::GetCompactionStateResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetCompactionStateResponse>(Arena*); template<> ::milvus::proto::milvus::GetIndexBuildProgressRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetIndexBuildProgressRequest>(Arena*); template<> ::milvus::proto::milvus::GetIndexBuildProgressResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetIndexBuildProgressResponse>(Arena*); template<> ::milvus::proto::milvus::GetIndexStateRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::GetIndexStateRequest>(Arena*); @@ -317,6 +343,8 @@ template<> ::milvus::proto::milvus::InsertRequest* Arena::CreateMaybeMessage<::m template<> ::milvus::proto::milvus::LoadBalanceRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::LoadBalanceRequest>(Arena*); template<> ::milvus::proto::milvus::LoadCollectionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::LoadCollectionRequest>(Arena*); template<> ::milvus::proto::milvus::LoadPartitionsRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::LoadPartitionsRequest>(Arena*); +template<> ::milvus::proto::milvus::ManualCompactionRequest* Arena::CreateMaybeMessage<::milvus::proto::milvus::ManualCompactionRequest>(Arena*); +template<> ::milvus::proto::milvus::ManualCompactionResponse* Arena::CreateMaybeMessage<::milvus::proto::milvus::ManualCompactionResponse>(Arena*); template<> ::milvus::proto::milvus::MutationResult* Arena::CreateMaybeMessage<::milvus::proto::milvus::MutationResult>(Arena*); template<> ::milvus::proto::milvus::PersistentSegmentInfo* Arena::CreateMaybeMessage<::milvus::proto::milvus::PersistentSegmentInfo>(Arena*); template<> ::milvus::proto::milvus::PlaceholderGroup* Arena::CreateMaybeMessage<::milvus::proto::milvus::PlaceholderGroup>(Arena*); @@ -11757,6 +11785,1008 @@ class LoadBalanceRequest : mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; friend struct ::TableStruct_milvus_2eproto; }; +// ------------------------------------------------------------------- + +class ManualCompactionRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ManualCompactionRequest) */ { + public: + ManualCompactionRequest(); + virtual ~ManualCompactionRequest(); + + ManualCompactionRequest(const ManualCompactionRequest& from); + ManualCompactionRequest(ManualCompactionRequest&& from) noexcept + : ManualCompactionRequest() { + *this = ::std::move(from); + } + + inline ManualCompactionRequest& operator=(const ManualCompactionRequest& from) { + CopyFrom(from); + return *this; + } + inline ManualCompactionRequest& operator=(ManualCompactionRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const ManualCompactionRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ManualCompactionRequest* internal_default_instance() { + return reinterpret_cast( + &_ManualCompactionRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 68; + + friend void swap(ManualCompactionRequest& a, ManualCompactionRequest& b) { + a.Swap(&b); + } + inline void Swap(ManualCompactionRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline ManualCompactionRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + ManualCompactionRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const ManualCompactionRequest& from); + void MergeFrom(const ManualCompactionRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ManualCompactionRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.ManualCompactionRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCollectionIDFieldNumber = 1, + kTimetravelFieldNumber = 2, + }; + // int64 collectionID = 1; + void clear_collectionid(); + ::PROTOBUF_NAMESPACE_ID::int64 collectionid() const; + void set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value); + + // uint64 timetravel = 2; + void clear_timetravel(); + ::PROTOBUF_NAMESPACE_ID::uint64 timetravel() const; + void set_timetravel(::PROTOBUF_NAMESPACE_ID::uint64 value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.ManualCompactionRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::int64 collectionid_; + ::PROTOBUF_NAMESPACE_ID::uint64 timetravel_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class ManualCompactionResponse : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.ManualCompactionResponse) */ { + public: + ManualCompactionResponse(); + virtual ~ManualCompactionResponse(); + + ManualCompactionResponse(const ManualCompactionResponse& from); + ManualCompactionResponse(ManualCompactionResponse&& from) noexcept + : ManualCompactionResponse() { + *this = ::std::move(from); + } + + inline ManualCompactionResponse& operator=(const ManualCompactionResponse& from) { + CopyFrom(from); + return *this; + } + inline ManualCompactionResponse& operator=(ManualCompactionResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const ManualCompactionResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const ManualCompactionResponse* internal_default_instance() { + return reinterpret_cast( + &_ManualCompactionResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 69; + + friend void swap(ManualCompactionResponse& a, ManualCompactionResponse& b) { + a.Swap(&b); + } + inline void Swap(ManualCompactionResponse* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline ManualCompactionResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + ManualCompactionResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const ManualCompactionResponse& from); + void MergeFrom(const ManualCompactionResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(ManualCompactionResponse* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.ManualCompactionResponse"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kStatusFieldNumber = 1, + kCompactionIDFieldNumber = 2, + }; + // .milvus.proto.common.Status status = 1; + bool has_status() const; + void clear_status(); + const ::milvus::proto::common::Status& status() const; + ::milvus::proto::common::Status* release_status(); + ::milvus::proto::common::Status* mutable_status(); + void set_allocated_status(::milvus::proto::common::Status* status); + + // int64 compactionID = 2; + void clear_compactionid(); + ::PROTOBUF_NAMESPACE_ID::int64 compactionid() const; + void set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.ManualCompactionResponse) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::milvus::proto::common::Status* status_; + ::PROTOBUF_NAMESPACE_ID::int64 compactionid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class GetCompactionStateRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.GetCompactionStateRequest) */ { + public: + GetCompactionStateRequest(); + virtual ~GetCompactionStateRequest(); + + GetCompactionStateRequest(const GetCompactionStateRequest& from); + GetCompactionStateRequest(GetCompactionStateRequest&& from) noexcept + : GetCompactionStateRequest() { + *this = ::std::move(from); + } + + inline GetCompactionStateRequest& operator=(const GetCompactionStateRequest& from) { + CopyFrom(from); + return *this; + } + inline GetCompactionStateRequest& operator=(GetCompactionStateRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const GetCompactionStateRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetCompactionStateRequest* internal_default_instance() { + return reinterpret_cast( + &_GetCompactionStateRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 70; + + friend void swap(GetCompactionStateRequest& a, GetCompactionStateRequest& b) { + a.Swap(&b); + } + inline void Swap(GetCompactionStateRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GetCompactionStateRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetCompactionStateRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const GetCompactionStateRequest& from); + void MergeFrom(const GetCompactionStateRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetCompactionStateRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.GetCompactionStateRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCompactionIDFieldNumber = 1, + }; + // int64 compactionID = 1; + void clear_compactionid(); + ::PROTOBUF_NAMESPACE_ID::int64 compactionid() const; + void set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.GetCompactionStateRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::int64 compactionid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class GetCompactionStateResponse : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.GetCompactionStateResponse) */ { + public: + GetCompactionStateResponse(); + virtual ~GetCompactionStateResponse(); + + GetCompactionStateResponse(const GetCompactionStateResponse& from); + GetCompactionStateResponse(GetCompactionStateResponse&& from) noexcept + : GetCompactionStateResponse() { + *this = ::std::move(from); + } + + inline GetCompactionStateResponse& operator=(const GetCompactionStateResponse& from) { + CopyFrom(from); + return *this; + } + inline GetCompactionStateResponse& operator=(GetCompactionStateResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const GetCompactionStateResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetCompactionStateResponse* internal_default_instance() { + return reinterpret_cast( + &_GetCompactionStateResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 71; + + friend void swap(GetCompactionStateResponse& a, GetCompactionStateResponse& b) { + a.Swap(&b); + } + inline void Swap(GetCompactionStateResponse* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GetCompactionStateResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetCompactionStateResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const GetCompactionStateResponse& from); + void MergeFrom(const GetCompactionStateResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetCompactionStateResponse* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.GetCompactionStateResponse"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kStatusFieldNumber = 1, + kExecutingPlanNoFieldNumber = 3, + kTimeoutPlanNoFieldNumber = 4, + kCompletedPlanNoFieldNumber = 5, + kStateFieldNumber = 2, + }; + // .milvus.proto.common.Status status = 1; + bool has_status() const; + void clear_status(); + const ::milvus::proto::common::Status& status() const; + ::milvus::proto::common::Status* release_status(); + ::milvus::proto::common::Status* mutable_status(); + void set_allocated_status(::milvus::proto::common::Status* status); + + // int64 executingPlanNo = 3; + void clear_executingplanno(); + ::PROTOBUF_NAMESPACE_ID::int64 executingplanno() const; + void set_executingplanno(::PROTOBUF_NAMESPACE_ID::int64 value); + + // int64 timeoutPlanNo = 4; + void clear_timeoutplanno(); + ::PROTOBUF_NAMESPACE_ID::int64 timeoutplanno() const; + void set_timeoutplanno(::PROTOBUF_NAMESPACE_ID::int64 value); + + // int64 completedPlanNo = 5; + void clear_completedplanno(); + ::PROTOBUF_NAMESPACE_ID::int64 completedplanno() const; + void set_completedplanno(::PROTOBUF_NAMESPACE_ID::int64 value); + + // .milvus.proto.common.CompactionState state = 2; + void clear_state(); + ::milvus::proto::common::CompactionState state() const; + void set_state(::milvus::proto::common::CompactionState value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.GetCompactionStateResponse) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::milvus::proto::common::Status* status_; + ::PROTOBUF_NAMESPACE_ID::int64 executingplanno_; + ::PROTOBUF_NAMESPACE_ID::int64 timeoutplanno_; + ::PROTOBUF_NAMESPACE_ID::int64 completedplanno_; + int state_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class GetCompactionPlansRequest : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.GetCompactionPlansRequest) */ { + public: + GetCompactionPlansRequest(); + virtual ~GetCompactionPlansRequest(); + + GetCompactionPlansRequest(const GetCompactionPlansRequest& from); + GetCompactionPlansRequest(GetCompactionPlansRequest&& from) noexcept + : GetCompactionPlansRequest() { + *this = ::std::move(from); + } + + inline GetCompactionPlansRequest& operator=(const GetCompactionPlansRequest& from) { + CopyFrom(from); + return *this; + } + inline GetCompactionPlansRequest& operator=(GetCompactionPlansRequest&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const GetCompactionPlansRequest& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetCompactionPlansRequest* internal_default_instance() { + return reinterpret_cast( + &_GetCompactionPlansRequest_default_instance_); + } + static constexpr int kIndexInFileMessages = + 72; + + friend void swap(GetCompactionPlansRequest& a, GetCompactionPlansRequest& b) { + a.Swap(&b); + } + inline void Swap(GetCompactionPlansRequest* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GetCompactionPlansRequest* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetCompactionPlansRequest* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const GetCompactionPlansRequest& from); + void MergeFrom(const GetCompactionPlansRequest& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetCompactionPlansRequest* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.GetCompactionPlansRequest"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kCompactionIDFieldNumber = 1, + }; + // int64 compactionID = 1; + void clear_compactionid(); + ::PROTOBUF_NAMESPACE_ID::int64 compactionid() const; + void set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.GetCompactionPlansRequest) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::int64 compactionid_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class GetCompactionPlansResponse : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.GetCompactionPlansResponse) */ { + public: + GetCompactionPlansResponse(); + virtual ~GetCompactionPlansResponse(); + + GetCompactionPlansResponse(const GetCompactionPlansResponse& from); + GetCompactionPlansResponse(GetCompactionPlansResponse&& from) noexcept + : GetCompactionPlansResponse() { + *this = ::std::move(from); + } + + inline GetCompactionPlansResponse& operator=(const GetCompactionPlansResponse& from) { + CopyFrom(from); + return *this; + } + inline GetCompactionPlansResponse& operator=(GetCompactionPlansResponse&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const GetCompactionPlansResponse& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const GetCompactionPlansResponse* internal_default_instance() { + return reinterpret_cast( + &_GetCompactionPlansResponse_default_instance_); + } + static constexpr int kIndexInFileMessages = + 73; + + friend void swap(GetCompactionPlansResponse& a, GetCompactionPlansResponse& b) { + a.Swap(&b); + } + inline void Swap(GetCompactionPlansResponse* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline GetCompactionPlansResponse* New() const final { + return CreateMaybeMessage(nullptr); + } + + GetCompactionPlansResponse* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const GetCompactionPlansResponse& from); + void MergeFrom(const GetCompactionPlansResponse& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(GetCompactionPlansResponse* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.GetCompactionPlansResponse"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kMergeInfosFieldNumber = 3, + kStatusFieldNumber = 1, + kStateFieldNumber = 2, + }; + // repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; + int mergeinfos_size() const; + void clear_mergeinfos(); + ::milvus::proto::milvus::CompactionMergeInfo* mutable_mergeinfos(int index); + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::CompactionMergeInfo >* + mutable_mergeinfos(); + const ::milvus::proto::milvus::CompactionMergeInfo& mergeinfos(int index) const; + ::milvus::proto::milvus::CompactionMergeInfo* add_mergeinfos(); + const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::CompactionMergeInfo >& + mergeinfos() const; + + // .milvus.proto.common.Status status = 1; + bool has_status() const; + void clear_status(); + const ::milvus::proto::common::Status& status() const; + ::milvus::proto::common::Status* release_status(); + ::milvus::proto::common::Status* mutable_status(); + void set_allocated_status(::milvus::proto::common::Status* status); + + // .milvus.proto.common.CompactionState state = 2; + void clear_state(); + ::milvus::proto::common::CompactionState state() const; + void set_state(::milvus::proto::common::CompactionState value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.GetCompactionPlansResponse) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::CompactionMergeInfo > mergeinfos_; + ::milvus::proto::common::Status* status_; + int state_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; +// ------------------------------------------------------------------- + +class CompactionMergeInfo : + public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:milvus.proto.milvus.CompactionMergeInfo) */ { + public: + CompactionMergeInfo(); + virtual ~CompactionMergeInfo(); + + CompactionMergeInfo(const CompactionMergeInfo& from); + CompactionMergeInfo(CompactionMergeInfo&& from) noexcept + : CompactionMergeInfo() { + *this = ::std::move(from); + } + + inline CompactionMergeInfo& operator=(const CompactionMergeInfo& from) { + CopyFrom(from); + return *this; + } + inline CompactionMergeInfo& operator=(CompactionMergeInfo&& from) noexcept { + if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { + if (this != &from) InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { + return GetMetadataStatic().descriptor; + } + static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { + return GetMetadataStatic().reflection; + } + static const CompactionMergeInfo& default_instance(); + + static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY + static inline const CompactionMergeInfo* internal_default_instance() { + return reinterpret_cast( + &_CompactionMergeInfo_default_instance_); + } + static constexpr int kIndexInFileMessages = + 74; + + friend void swap(CompactionMergeInfo& a, CompactionMergeInfo& b) { + a.Swap(&b); + } + inline void Swap(CompactionMergeInfo* other) { + if (other == this) return; + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + inline CompactionMergeInfo* New() const final { + return CreateMaybeMessage(nullptr); + } + + CompactionMergeInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { + return CreateMaybeMessage(arena); + } + void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; + void CopyFrom(const CompactionMergeInfo& from); + void MergeFrom(const CompactionMergeInfo& from); + PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; + bool IsInitialized() const final; + + size_t ByteSizeLong() const final; + #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; + #else + bool MergePartialFromCodedStream( + ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; + #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER + void SerializeWithCachedSizes( + ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; + ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( + ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; + int GetCachedSize() const final { return _cached_size_.Get(); } + + private: + inline void SharedCtor(); + inline void SharedDtor(); + void SetCachedSize(int size) const final; + void InternalSwap(CompactionMergeInfo* other); + friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; + static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { + return "milvus.proto.milvus.CompactionMergeInfo"; + } + private: + inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { + return nullptr; + } + inline void* MaybeArenaPtr() const { + return nullptr; + } + public: + + ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; + private: + static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { + ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_milvus_2eproto); + return ::descriptor_table_milvus_2eproto.file_level_metadata[kIndexInFileMessages]; + } + + public: + + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + + enum : int { + kSourcesFieldNumber = 1, + kTargetFieldNumber = 2, + }; + // repeated int64 sources = 1; + int sources_size() const; + void clear_sources(); + ::PROTOBUF_NAMESPACE_ID::int64 sources(int index) const; + void set_sources(int index, ::PROTOBUF_NAMESPACE_ID::int64 value); + void add_sources(::PROTOBUF_NAMESPACE_ID::int64 value); + const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& + sources() const; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* + mutable_sources(); + + // int64 target = 2; + void clear_target(); + ::PROTOBUF_NAMESPACE_ID::int64 target() const; + void set_target(::PROTOBUF_NAMESPACE_ID::int64 value); + + // @@protoc_insertion_point(class_scope:milvus.proto.milvus.CompactionMergeInfo) + private: + class _Internal; + + ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; + ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > sources_; + mutable std::atomic _sources_cached_byte_size_; + ::PROTOBUF_NAMESPACE_ID::int64 target_; + mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; + friend struct ::TableStruct_milvus_2eproto; +}; // =================================================================== @@ -22532,6 +23562,383 @@ LoadBalanceRequest::mutable_sealed_segmentids() { return &sealed_segmentids_; } +// ------------------------------------------------------------------- + +// ManualCompactionRequest + +// int64 collectionID = 1; +inline void ManualCompactionRequest::clear_collectionid() { + collectionid_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 ManualCompactionRequest::collectionid() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ManualCompactionRequest.collectionID) + return collectionid_; +} +inline void ManualCompactionRequest::set_collectionid(::PROTOBUF_NAMESPACE_ID::int64 value) { + + collectionid_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ManualCompactionRequest.collectionID) +} + +// uint64 timetravel = 2; +inline void ManualCompactionRequest::clear_timetravel() { + timetravel_ = PROTOBUF_ULONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::uint64 ManualCompactionRequest::timetravel() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ManualCompactionRequest.timetravel) + return timetravel_; +} +inline void ManualCompactionRequest::set_timetravel(::PROTOBUF_NAMESPACE_ID::uint64 value) { + + timetravel_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ManualCompactionRequest.timetravel) +} + +// ------------------------------------------------------------------- + +// ManualCompactionResponse + +// .milvus.proto.common.Status status = 1; +inline bool ManualCompactionResponse::has_status() const { + return this != internal_default_instance() && status_ != nullptr; +} +inline const ::milvus::proto::common::Status& ManualCompactionResponse::status() const { + const ::milvus::proto::common::Status* p = status_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ManualCompactionResponse.status) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_Status_default_instance_); +} +inline ::milvus::proto::common::Status* ManualCompactionResponse::release_status() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.ManualCompactionResponse.status) + + ::milvus::proto::common::Status* temp = status_; + status_ = nullptr; + return temp; +} +inline ::milvus::proto::common::Status* ManualCompactionResponse::mutable_status() { + + if (status_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual()); + status_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.ManualCompactionResponse.status) + return status_; +} +inline void ManualCompactionResponse::set_allocated_status(::milvus::proto::common::Status* status) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); + } + if (status) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, status, submessage_arena); + } + + } else { + + } + status_ = status; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.ManualCompactionResponse.status) +} + +// int64 compactionID = 2; +inline void ManualCompactionResponse::clear_compactionid() { + compactionid_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 ManualCompactionResponse::compactionid() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.ManualCompactionResponse.compactionID) + return compactionid_; +} +inline void ManualCompactionResponse::set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value) { + + compactionid_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.ManualCompactionResponse.compactionID) +} + +// ------------------------------------------------------------------- + +// GetCompactionStateRequest + +// int64 compactionID = 1; +inline void GetCompactionStateRequest::clear_compactionid() { + compactionid_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 GetCompactionStateRequest::compactionid() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateRequest.compactionID) + return compactionid_; +} +inline void GetCompactionStateRequest::set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value) { + + compactionid_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionStateRequest.compactionID) +} + +// ------------------------------------------------------------------- + +// GetCompactionStateResponse + +// .milvus.proto.common.Status status = 1; +inline bool GetCompactionStateResponse::has_status() const { + return this != internal_default_instance() && status_ != nullptr; +} +inline const ::milvus::proto::common::Status& GetCompactionStateResponse::status() const { + const ::milvus::proto::common::Status* p = status_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateResponse.status) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_Status_default_instance_); +} +inline ::milvus::proto::common::Status* GetCompactionStateResponse::release_status() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.GetCompactionStateResponse.status) + + ::milvus::proto::common::Status* temp = status_; + status_ = nullptr; + return temp; +} +inline ::milvus::proto::common::Status* GetCompactionStateResponse::mutable_status() { + + if (status_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual()); + status_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.GetCompactionStateResponse.status) + return status_; +} +inline void GetCompactionStateResponse::set_allocated_status(::milvus::proto::common::Status* status) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); + } + if (status) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, status, submessage_arena); + } + + } else { + + } + status_ = status; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.GetCompactionStateResponse.status) +} + +// .milvus.proto.common.CompactionState state = 2; +inline void GetCompactionStateResponse::clear_state() { + state_ = 0; +} +inline ::milvus::proto::common::CompactionState GetCompactionStateResponse::state() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateResponse.state) + return static_cast< ::milvus::proto::common::CompactionState >(state_); +} +inline void GetCompactionStateResponse::set_state(::milvus::proto::common::CompactionState value) { + + state_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionStateResponse.state) +} + +// int64 executingPlanNo = 3; +inline void GetCompactionStateResponse::clear_executingplanno() { + executingplanno_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 GetCompactionStateResponse::executingplanno() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateResponse.executingPlanNo) + return executingplanno_; +} +inline void GetCompactionStateResponse::set_executingplanno(::PROTOBUF_NAMESPACE_ID::int64 value) { + + executingplanno_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionStateResponse.executingPlanNo) +} + +// int64 timeoutPlanNo = 4; +inline void GetCompactionStateResponse::clear_timeoutplanno() { + timeoutplanno_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 GetCompactionStateResponse::timeoutplanno() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateResponse.timeoutPlanNo) + return timeoutplanno_; +} +inline void GetCompactionStateResponse::set_timeoutplanno(::PROTOBUF_NAMESPACE_ID::int64 value) { + + timeoutplanno_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionStateResponse.timeoutPlanNo) +} + +// int64 completedPlanNo = 5; +inline void GetCompactionStateResponse::clear_completedplanno() { + completedplanno_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 GetCompactionStateResponse::completedplanno() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionStateResponse.completedPlanNo) + return completedplanno_; +} +inline void GetCompactionStateResponse::set_completedplanno(::PROTOBUF_NAMESPACE_ID::int64 value) { + + completedplanno_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionStateResponse.completedPlanNo) +} + +// ------------------------------------------------------------------- + +// GetCompactionPlansRequest + +// int64 compactionID = 1; +inline void GetCompactionPlansRequest::clear_compactionid() { + compactionid_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 GetCompactionPlansRequest::compactionid() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionPlansRequest.compactionID) + return compactionid_; +} +inline void GetCompactionPlansRequest::set_compactionid(::PROTOBUF_NAMESPACE_ID::int64 value) { + + compactionid_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionPlansRequest.compactionID) +} + +// ------------------------------------------------------------------- + +// GetCompactionPlansResponse + +// .milvus.proto.common.Status status = 1; +inline bool GetCompactionPlansResponse::has_status() const { + return this != internal_default_instance() && status_ != nullptr; +} +inline const ::milvus::proto::common::Status& GetCompactionPlansResponse::status() const { + const ::milvus::proto::common::Status* p = status_; + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionPlansResponse.status) + return p != nullptr ? *p : *reinterpret_cast( + &::milvus::proto::common::_Status_default_instance_); +} +inline ::milvus::proto::common::Status* GetCompactionPlansResponse::release_status() { + // @@protoc_insertion_point(field_release:milvus.proto.milvus.GetCompactionPlansResponse.status) + + ::milvus::proto::common::Status* temp = status_; + status_ = nullptr; + return temp; +} +inline ::milvus::proto::common::Status* GetCompactionPlansResponse::mutable_status() { + + if (status_ == nullptr) { + auto* p = CreateMaybeMessage<::milvus::proto::common::Status>(GetArenaNoVirtual()); + status_ = p; + } + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.GetCompactionPlansResponse.status) + return status_; +} +inline void GetCompactionPlansResponse::set_allocated_status(::milvus::proto::common::Status* status) { + ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); + if (message_arena == nullptr) { + delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(status_); + } + if (status) { + ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; + if (message_arena != submessage_arena) { + status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( + message_arena, status, submessage_arena); + } + + } else { + + } + status_ = status; + // @@protoc_insertion_point(field_set_allocated:milvus.proto.milvus.GetCompactionPlansResponse.status) +} + +// .milvus.proto.common.CompactionState state = 2; +inline void GetCompactionPlansResponse::clear_state() { + state_ = 0; +} +inline ::milvus::proto::common::CompactionState GetCompactionPlansResponse::state() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionPlansResponse.state) + return static_cast< ::milvus::proto::common::CompactionState >(state_); +} +inline void GetCompactionPlansResponse::set_state(::milvus::proto::common::CompactionState value) { + + state_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.GetCompactionPlansResponse.state) +} + +// repeated .milvus.proto.milvus.CompactionMergeInfo mergeInfos = 3; +inline int GetCompactionPlansResponse::mergeinfos_size() const { + return mergeinfos_.size(); +} +inline void GetCompactionPlansResponse::clear_mergeinfos() { + mergeinfos_.Clear(); +} +inline ::milvus::proto::milvus::CompactionMergeInfo* GetCompactionPlansResponse::mutable_mergeinfos(int index) { + // @@protoc_insertion_point(field_mutable:milvus.proto.milvus.GetCompactionPlansResponse.mergeInfos) + return mergeinfos_.Mutable(index); +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::CompactionMergeInfo >* +GetCompactionPlansResponse::mutable_mergeinfos() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.GetCompactionPlansResponse.mergeInfos) + return &mergeinfos_; +} +inline const ::milvus::proto::milvus::CompactionMergeInfo& GetCompactionPlansResponse::mergeinfos(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.GetCompactionPlansResponse.mergeInfos) + return mergeinfos_.Get(index); +} +inline ::milvus::proto::milvus::CompactionMergeInfo* GetCompactionPlansResponse::add_mergeinfos() { + // @@protoc_insertion_point(field_add:milvus.proto.milvus.GetCompactionPlansResponse.mergeInfos) + return mergeinfos_.Add(); +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::milvus::proto::milvus::CompactionMergeInfo >& +GetCompactionPlansResponse::mergeinfos() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.GetCompactionPlansResponse.mergeInfos) + return mergeinfos_; +} + +// ------------------------------------------------------------------- + +// CompactionMergeInfo + +// repeated int64 sources = 1; +inline int CompactionMergeInfo::sources_size() const { + return sources_.size(); +} +inline void CompactionMergeInfo::clear_sources() { + sources_.Clear(); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 CompactionMergeInfo::sources(int index) const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.CompactionMergeInfo.sources) + return sources_.Get(index); +} +inline void CompactionMergeInfo::set_sources(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) { + sources_.Set(index, value); + // @@protoc_insertion_point(field_set:milvus.proto.milvus.CompactionMergeInfo.sources) +} +inline void CompactionMergeInfo::add_sources(::PROTOBUF_NAMESPACE_ID::int64 value) { + sources_.Add(value); + // @@protoc_insertion_point(field_add:milvus.proto.milvus.CompactionMergeInfo.sources) +} +inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& +CompactionMergeInfo::sources() const { + // @@protoc_insertion_point(field_list:milvus.proto.milvus.CompactionMergeInfo.sources) + return sources_; +} +inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* +CompactionMergeInfo::mutable_sources() { + // @@protoc_insertion_point(field_mutable_list:milvus.proto.milvus.CompactionMergeInfo.sources) + return &sources_; +} + +// int64 target = 2; +inline void CompactionMergeInfo::clear_target() { + target_ = PROTOBUF_LONGLONG(0); +} +inline ::PROTOBUF_NAMESPACE_ID::int64 CompactionMergeInfo::target() const { + // @@protoc_insertion_point(field_get:milvus.proto.milvus.CompactionMergeInfo.target) + return target_; +} +inline void CompactionMergeInfo::set_target(::PROTOBUF_NAMESPACE_ID::int64 value) { + + target_ = value; + // @@protoc_insertion_point(field_set:milvus.proto.milvus.CompactionMergeInfo.target) +} + #ifdef __GNUC__ #pragma GCC diagnostic pop #endif // __GNUC__ @@ -22669,6 +24076,20 @@ LoadBalanceRequest::mutable_sealed_segmentids() { // ------------------------------------------------------------------- +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + +// ------------------------------------------------------------------- + // @@protoc_insertion_point(namespace_scope) diff --git a/internal/datacoord/compaction.go b/internal/datacoord/compaction.go index f2e9c68643..422599cb26 100644 --- a/internal/datacoord/compaction.go +++ b/internal/datacoord/compaction.go @@ -33,8 +33,8 @@ type compactionPlanContext interface { expireCompaction(ts Timestamp) error // isFull return true if the task pool is full isFull() bool - // get compaction by signal id and return the number of executing/completed/timeout plans - getCompactionBySignalID(signalID int64) (executing, completed, timeout int) + // get compaction tasks by signal id + getCompactionTasksBySignalID(signalID int64) []*compactionTask } type compactionTaskState int8 @@ -55,6 +55,7 @@ type compactionTask struct { plan *datapb.CompactionPlan state compactionTaskState dataNodeID int64 + result *datapb.CompactionResult } func (t *compactionTask) shadowClone(opts ...compactionTaskOpt) *compactionTask { @@ -188,6 +189,7 @@ func (c *compactionPlanHandler) completeCompaction(result *datapb.CompactionResu return errors.New("unknown compaction type") } c.plans[planID] = c.plans[planID].shadowClone(setState(completed)) + c.plans[planID] = c.plans[planID].shadowClone(setResult(result)) c.executingTaskNum-- if c.plans[planID].plan.GetType() == datapb.CompactionType_MergeCompaction { c.flushCh <- result.GetSegmentID() @@ -258,25 +260,19 @@ func (c *compactionPlanHandler) getExecutingCompactions() []*compactionTask { return tasks } -// get compaction by signal id and return the number of executing/completed/timeout plans -func (c *compactionPlanHandler) getCompactionBySignalID(signalID int64) (executingPlans int, completedPlans int, timeoutPlans int) { +// get compaction tasks by signal id +func (c *compactionPlanHandler) getCompactionTasksBySignalID(signalID int64) []*compactionTask { c.mu.RLock() defer c.mu.RUnlock() + var tasks []*compactionTask for _, t := range c.plans { if t.triggerInfo.id != signalID { continue } - switch t.state { - case executing: - executingPlans++ - case completed: - completedPlans++ - case timeout: - timeoutPlans++ - } + tasks = append(tasks, t) } - return + return tasks } type compactionTaskOpt func(task *compactionTask) @@ -286,3 +282,9 @@ func setState(state compactionTaskState) compactionTaskOpt { task.state = state } } + +func setResult(result *datapb.CompactionResult) compactionTaskOpt { + return func(task *compactionTask) { + task.result = result + } +} diff --git a/internal/datacoord/compaction_test.go b/internal/datacoord/compaction_test.go index 17a43f8f25..f2f7315888 100644 --- a/internal/datacoord/compaction_test.go +++ b/internal/datacoord/compaction_test.go @@ -365,3 +365,63 @@ func Test_newCompactionPlanHandler(t *testing.T) { }) } } + +func Test_getCompactionTasksBySignalID(t *testing.T) { + type fields struct { + plans map[int64]*compactionTask + } + type args struct { + signalID int64 + } + tests := []struct { + name string + fields fields + args args + want []*compactionTask + }{ + { + "test get compaction tasks", + fields{ + plans: map[int64]*compactionTask{ + 1: { + triggerInfo: &compactionSignal{id: 1}, + state: executing, + }, + 2: { + triggerInfo: &compactionSignal{id: 1}, + state: completed, + }, + 3: { + triggerInfo: &compactionSignal{id: 1}, + state: timeout, + }, + }, + }, + args{1}, + []*compactionTask{ + { + triggerInfo: &compactionSignal{id: 1}, + state: executing, + }, + { + triggerInfo: &compactionSignal{id: 1}, + state: completed, + }, + { + triggerInfo: &compactionSignal{id: 1}, + state: timeout, + }, + }, + }, + } + + for _, tt := range tests { + t.Run(tt.name, func(t *testing.T) { + h := &compactionPlanHandler{ + plans: tt.fields.plans, + } + got := h.getCompactionTasksBySignalID(tt.args.signalID) + assert.ElementsMatch(t, tt.want, got) + }) + } +} diff --git a/internal/datacoord/compaction_trigger_test.go b/internal/datacoord/compaction_trigger_test.go index 389c6636de..f703ca4693 100644 --- a/internal/datacoord/compaction_trigger_test.go +++ b/internal/datacoord/compaction_trigger_test.go @@ -42,8 +42,8 @@ func (h *spyCompactionHandler) isFull() bool { return false } -// get compaction by signal id and return the number of executing/completed/timeout plans -func (h *spyCompactionHandler) getCompactionBySignalID(signalID int64) (executing int, completed int, timeout int) { +// get compaction tasks by signal id +func (h *spyCompactionHandler) getCompactionTasksBySignalID(signalID int64) []*compactionTask { panic("not implemented") // TODO: Implement } diff --git a/internal/datacoord/mock_test.go b/internal/datacoord/mock_test.go index 5cc141ea4a..0993349bdf 100644 --- a/internal/datacoord/mock_test.go +++ b/internal/datacoord/mock_test.go @@ -521,10 +521,10 @@ func (h *mockCompactionHandler) isFull() bool { panic("not implemented") } -// get compaction by signal id and return the number of executing/completed/timeout plans -func (h *mockCompactionHandler) getCompactionBySignalID(signalID int64) (executing int, completed int, timeout int) { - if f, ok := h.methods["getCompactionBySignalID"]; ok { - if ff, ok := f.(func(signalID int64) (executing int, completed int, timeout int)); ok { +// get compaction tasks by signal id +func (h *mockCompactionHandler) getCompactionTasksBySignalID(signalID int64) []*compactionTask { + if f, ok := h.methods["getCompactionTasksBySignalID"]; ok { + if ff, ok := f.(func(signalID int64) []*compactionTask); ok { return ff(signalID) } } diff --git a/internal/datacoord/server_test.go b/internal/datacoord/server_test.go index 7099aff0da..eba973dacc 100644 --- a/internal/datacoord/server_test.go +++ b/internal/datacoord/server_test.go @@ -1312,16 +1312,18 @@ func TestGetCompactionState(t *testing.T) { svr.compactionHandler = &mockCompactionHandler{ methods: map[string]interface{}{ - "getCompactionBySignalID": func(signalID int64) (executing, completed, timeout int) { - return 0, 1, 0 + "getCompactionTasksBySignalID": func(signalID int64) []*compactionTask { + return []*compactionTask{ + {state: completed}, + } }, }, } - resp, err := svr.GetCompactionState(context.Background(), &datapb.GetCompactionStateRequest{}) + resp, err := svr.GetCompactionState(context.Background(), &milvuspb.GetCompactionStateRequest{}) assert.NoError(t, err) assert.Equal(t, commonpb.ErrorCode_Success, resp.GetStatus().GetErrorCode()) - assert.Equal(t, datapb.CompactionState_Completed, resp.GetState()) + assert.Equal(t, commonpb.CompactionState_Completed, resp.GetState()) }) t.Run("test get compaction state in running", func(t *testing.T) { svr := &Server{} @@ -1329,16 +1331,23 @@ func TestGetCompactionState(t *testing.T) { svr.compactionHandler = &mockCompactionHandler{ methods: map[string]interface{}{ - "getCompactionBySignalID": func(signalID int64) (executing, completed, timeout int) { - return 3, 2, 1 + "getCompactionTasksBySignalID": func(signalID int64) []*compactionTask { + return []*compactionTask{ + {state: executing}, + {state: executing}, + {state: executing}, + {state: completed}, + {state: completed}, + {state: timeout}, + } }, }, } - resp, err := svr.GetCompactionState(context.Background(), &datapb.GetCompactionStateRequest{CompactionID: 1}) + resp, err := svr.GetCompactionState(context.Background(), &milvuspb.GetCompactionStateRequest{CompactionID: 1}) assert.NoError(t, err) assert.Equal(t, commonpb.ErrorCode_Success, resp.GetStatus().GetErrorCode()) - assert.Equal(t, datapb.CompactionState_Executing, resp.GetState()) + assert.Equal(t, commonpb.CompactionState_Executing, resp.GetState()) assert.EqualValues(t, 3, resp.GetExecutingPlanNo()) assert.EqualValues(t, 2, resp.GetCompletedPlanNo()) assert.EqualValues(t, 1, resp.GetTimeoutPlanNo()) @@ -1348,7 +1357,7 @@ func TestGetCompactionState(t *testing.T) { svr := &Server{} svr.isServing = ServerStateStopped - resp, err := svr.GetCompactionState(context.Background(), &datapb.GetCompactionStateRequest{}) + resp, err := svr.GetCompactionState(context.Background(), &milvuspb.GetCompactionStateRequest{}) assert.Nil(t, err) assert.Equal(t, commonpb.ErrorCode_UnexpectedError, resp.GetStatus().GetErrorCode()) assert.Equal(t, msgDataCoordIsUnhealthy(Params.NodeID), resp.GetStatus().GetReason()) @@ -1412,7 +1421,7 @@ func TestManualCompaction(t *testing.T) { }, } - resp, err := svr.ManualCompaction(context.TODO(), &datapb.ManualCompactionRequest{ + resp, err := svr.ManualCompaction(context.TODO(), &milvuspb.ManualCompactionRequest{ CollectionID: 1, Timetravel: 1, }) @@ -1431,7 +1440,7 @@ func TestManualCompaction(t *testing.T) { }, } - resp, err := svr.ManualCompaction(context.TODO(), &datapb.ManualCompactionRequest{ + resp, err := svr.ManualCompaction(context.TODO(), &milvuspb.ManualCompactionRequest{ CollectionID: 1, Timetravel: 1, }) @@ -1450,7 +1459,7 @@ func TestManualCompaction(t *testing.T) { }, } - resp, err := svr.ManualCompaction(context.TODO(), &datapb.ManualCompactionRequest{ + resp, err := svr.ManualCompaction(context.TODO(), &milvuspb.ManualCompactionRequest{ CollectionID: 1, Timetravel: 1, }) @@ -1460,6 +1469,56 @@ func TestManualCompaction(t *testing.T) { }) } +func TestGetCompactionStateWithPlans(t *testing.T) { + t.Run("test get compaction state successfully", func(t *testing.T) { + svr := &Server{} + svr.isServing = ServerStateHealthy + svr.compactionHandler = &mockCompactionHandler{ + methods: map[string]interface{}{ + "getCompactionTasksBySignalID": func(signalID int64) []*compactionTask { + return []*compactionTask{ + { + triggerInfo: &compactionSignal{id: 1}, + state: executing, + }, + } + }, + }, + } + + resp, err := svr.GetCompactionStateWithPlans(context.TODO(), &milvuspb.GetCompactionPlansRequest{ + CompactionID: 1, + }) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_Success, resp.Status.ErrorCode) + assert.Equal(t, commonpb.CompactionState_Executing, resp.State) + }) + + t.Run("test get compaction state with closed server", func(t *testing.T) { + svr := &Server{} + svr.isServing = ServerStateStopped + svr.compactionHandler = &mockCompactionHandler{ + methods: map[string]interface{}{ + "getCompactionTasksBySignalID": func(signalID int64) []*compactionTask { + return []*compactionTask{ + { + triggerInfo: &compactionSignal{id: 1}, + state: executing, + }, + } + }, + }, + } + + resp, err := svr.GetCompactionStateWithPlans(context.TODO(), &milvuspb.GetCompactionPlansRequest{ + CompactionID: 1, + }) + assert.Nil(t, err) + assert.Equal(t, commonpb.ErrorCode_UnexpectedError, resp.Status.ErrorCode) + assert.Equal(t, msgDataCoordIsUnhealthy(Params.NodeID), resp.Status.Reason) + }) +} + func TestOptions(t *testing.T) { t.Run("SetRootCoordCreator", func(t *testing.T) { svr := newTestServer(t, nil) diff --git a/internal/datacoord/services.go b/internal/datacoord/services.go index 6c2e856fd3..1d2a712717 100644 --- a/internal/datacoord/services.go +++ b/internal/datacoord/services.go @@ -645,10 +645,10 @@ func (s *Server) CompleteCompaction(ctx context.Context, req *datapb.CompactionR return resp, nil } -func (s *Server) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { +func (s *Server) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { log.Debug("receive manual compaction", zap.Int64("collectionID", req.GetCollectionID())) - resp := &datapb.ManualCompactionResponse{ + resp := &milvuspb.ManualCompactionResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, }, @@ -679,9 +679,9 @@ func (s *Server) ManualCompaction(ctx context.Context, req *datapb.ManualCompact return resp, nil } -func (s *Server) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { +func (s *Server) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { log.Debug("receive get compaction state request", zap.Int64("compactionID", req.GetCompactionID())) - resp := &datapb.GetCompactionStateResponse{ + resp := &milvuspb.GetCompactionStateResponse{ Status: &commonpb.Status{ ErrorCode: commonpb.ErrorCode_UnexpectedError, }, @@ -699,16 +699,80 @@ func (s *Server) GetCompactionState(ctx context.Context, req *datapb.GetCompacti return resp, nil } - executing, completed, timeout := s.compactionHandler.getCompactionBySignalID(req.GetCompactionID()) - if executing != 0 { - resp.State = datapb.CompactionState_Executing - } else { - resp.State = datapb.CompactionState_Completed - } + tasks := s.compactionHandler.getCompactionTasksBySignalID(req.GetCompactionID()) + state, executingCnt, completedCnt, timeoutCnt := getCompactionState(tasks) - resp.ExecutingPlanNo = int64(executing) - resp.CompletedPlanNo = int64(completed) - resp.TimeoutPlanNo = int64(timeout) + resp.State = state + resp.ExecutingPlanNo = int64(executingCnt) + resp.CompletedPlanNo = int64(completedCnt) + resp.TimeoutPlanNo = int64(timeoutCnt) resp.Status.ErrorCode = commonpb.ErrorCode_Success return resp, nil } + +func (s *Server) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + log.Debug("received GetCompactionStateWithPlans request", zap.Int64("compactionID", req.GetCompactionID())) + + resp := &milvuspb.GetCompactionPlansResponse{ + Status: &commonpb.Status{ErrorCode: commonpb.ErrorCode_UnexpectedError}, + } + + if s.isClosed() { + log.Warn("failed to get compaction state with plans", zap.Int64("compactionID", req.GetCompactionID()), zap.Error(errDataCoordIsUnhealthy(Params.NodeID))) + resp.Status.Reason = msgDataCoordIsUnhealthy(Params.NodeID) + return resp, nil + } + + if !Params.EnableCompaction { + resp.Status.Reason = "compaction disabled" + return resp, nil + } + + tasks := s.compactionHandler.getCompactionTasksBySignalID(req.GetCompactionID()) + for _, task := range tasks { + resp.MergeInfos = append(resp.MergeInfos, getCompactionMergeInfo(task)) + } + + state, _, _, _ := getCompactionState(tasks) + + resp.Status.ErrorCode = commonpb.ErrorCode_Success + resp.State = state + return resp, nil +} + +func getCompactionMergeInfo(task *compactionTask) *milvuspb.CompactionMergeInfo { + segments := task.plan.GetSegmentBinlogs() + var sources []int64 + for _, s := range segments { + sources = append(sources, s.GetSegmentID()) + } + + var target int64 = -1 + if task.result != nil { + target = task.result.GetSegmentID() + } + + return &milvuspb.CompactionMergeInfo{ + Sources: sources, + Target: target, + } +} + +func getCompactionState(tasks []*compactionTask) (state commonpb.CompactionState, executingCnt, completedCnt, timeoutCnt int) { + for _, t := range tasks { + switch t.state { + case executing: + executingCnt++ + case completed: + completedCnt++ + case timeout: + timeoutCnt++ + } + } + if executingCnt != 0 { + state = commonpb.CompactionState_Executing + } else { + state = commonpb.CompactionState_Completed + } + return +} diff --git a/internal/distributed/datacoord/client/client.go b/internal/distributed/datacoord/client/client.go index 24dfe3d9f1..8b9d29e0d4 100644 --- a/internal/distributed/datacoord/client/client.go +++ b/internal/distributed/datacoord/client/client.go @@ -546,7 +546,7 @@ func (c *Client) CompleteCompaction(ctx context.Context, req *datapb.CompactionR return ret.(*commonpb.Status), err } -func (c *Client) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { +func (c *Client) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient() if err != nil { @@ -558,10 +558,10 @@ func (c *Client) ManualCompaction(ctx context.Context, req *datapb.ManualCompact if err != nil || ret == nil { return nil, err } - return ret.(*datapb.ManualCompactionResponse), err + return ret.(*milvuspb.ManualCompactionResponse), err } -func (c *Client) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { +func (c *Client) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient() if err != nil { @@ -573,5 +573,20 @@ func (c *Client) GetCompactionState(ctx context.Context, req *datapb.GetCompacti if err != nil || ret == nil { return nil, err } - return ret.(*datapb.GetCompactionStateResponse), err + return ret.(*milvuspb.GetCompactionStateResponse), err +} + +func (c *Client) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + ret, err := c.recall(func() (interface{}, error) { + client, err := c.getGrpcClient() + if err != nil { + return nil, err + } + + return client.GetCompactionStateWithPlans(ctx, req) + }) + if err != nil || ret == nil { + return nil, err + } + return ret.(*milvuspb.GetCompactionPlansResponse), err } diff --git a/internal/distributed/datacoord/client/client_test.go b/internal/distributed/datacoord/client/client_test.go index f41283ef73..6e6854ad0c 100644 --- a/internal/distributed/datacoord/client/client_test.go +++ b/internal/distributed/datacoord/client/client_test.go @@ -98,12 +98,16 @@ func (m *MockDataCoordClient) CompleteCompaction(ctx context.Context, req *datap return &commonpb.Status{}, m.err } -func (m *MockDataCoordClient) ManualCompaction(ctx context.Context, in *datapb.ManualCompactionRequest, opts ...grpc.CallOption) (*datapb.ManualCompactionResponse, error) { - return &datapb.ManualCompactionResponse{}, m.err +func (m *MockDataCoordClient) ManualCompaction(ctx context.Context, in *milvuspb.ManualCompactionRequest, opts ...grpc.CallOption) (*milvuspb.ManualCompactionResponse, error) { + return &milvuspb.ManualCompactionResponse{}, m.err } -func (m *MockDataCoordClient) GetCompactionState(ctx context.Context, in *datapb.GetCompactionStateRequest, opts ...grpc.CallOption) (*datapb.GetCompactionStateResponse, error) { - return &datapb.GetCompactionStateResponse{}, m.err +func (m *MockDataCoordClient) GetCompactionState(ctx context.Context, in *milvuspb.GetCompactionStateRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionStateResponse, error) { + return &milvuspb.GetCompactionStateResponse{}, m.err +} + +func (m *MockDataCoordClient) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionPlansResponse, error) { + return &milvuspb.GetCompactionPlansResponse{}, m.err } func Test_NewClient(t *testing.T) { @@ -187,6 +191,9 @@ func Test_NewClient(t *testing.T) { r18, err := client.ManualCompaction(ctx, nil) retCheck(retNotNil, r18, err) + + r19, err := client.GetCompactionStateWithPlans(ctx, nil) + retCheck(retNotNil, r19, err) } client.getGrpcClient = func() (datapb.DataCoordClient, error) { diff --git a/internal/distributed/datacoord/service.go b/internal/distributed/datacoord/service.go index 7645cb04fe..5aa29f78ad 100644 --- a/internal/distributed/datacoord/service.go +++ b/internal/distributed/datacoord/service.go @@ -267,10 +267,14 @@ func (s *Server) CompleteCompaction(ctx context.Context, req *datapb.CompactionR return s.dataCoord.CompleteCompaction(ctx, req) } -func (s *Server) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { +func (s *Server) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { return s.dataCoord.ManualCompaction(ctx, req) } -func (s *Server) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { +func (s *Server) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { return s.dataCoord.GetCompactionState(ctx, req) } + +func (s *Server) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return s.dataCoord.GetCompactionStateWithPlans(ctx, req) +} diff --git a/internal/distributed/datacoord/service_test.go b/internal/distributed/datacoord/service_test.go index 9d7e89b37e..a4ec896566 100644 --- a/internal/distributed/datacoord/service_test.go +++ b/internal/distributed/datacoord/service_test.go @@ -48,8 +48,9 @@ type MockDataCoord struct { recoverResp *datapb.GetRecoveryInfoResponse flushSegResp *datapb.GetFlushedSegmentsResponse metricResp *milvuspb.GetMetricsResponse - compactionStateResp *datapb.GetCompactionStateResponse - manualCompactionResp *datapb.ManualCompactionResponse + compactionStateResp *milvuspb.GetCompactionStateResponse + manualCompactionResp *milvuspb.ManualCompactionResponse + compactionPlansResp *milvuspb.GetCompactionPlansResponse } func (m *MockDataCoord) Init() error { @@ -132,14 +133,18 @@ func (m *MockDataCoord) CompleteCompaction(ctx context.Context, req *datapb.Comp return m.status, m.err } -func (m *MockDataCoord) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { +func (m *MockDataCoord) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { return m.manualCompactionResp, m.err } -func (m *MockDataCoord) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { +func (m *MockDataCoord) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { return m.compactionStateResp, m.err } +func (m *MockDataCoord) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return m.compactionPlansResp, m.err +} + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// func Test_NewServer(t *testing.T) { ctx := context.Background() diff --git a/internal/distributed/proxy/service.go b/internal/distributed/proxy/service.go index 0fa149b66f..7b27bb5195 100644 --- a/internal/distributed/proxy/service.go +++ b/internal/distributed/proxy/service.go @@ -449,3 +449,15 @@ func (s *Server) DropAlias(ctx context.Context, request *milvuspb.DropAliasReque func (s *Server) AlterAlias(ctx context.Context, request *milvuspb.AlterAliasRequest) (*commonpb.Status, error) { return s.proxy.AlterAlias(ctx, request) } + +func (s *Server) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { + return s.proxy.GetCompactionState(ctx, req) +} + +func (s *Server) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { + return s.proxy.ManualCompaction(ctx, req) +} + +func (s *Server) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return s.proxy.GetCompactionStateWithPlans(ctx, req) +} diff --git a/internal/distributed/proxy/service_test.go b/internal/distributed/proxy/service_test.go index c5b125b228..ef2c0b5554 100644 --- a/internal/distributed/proxy/service_test.go +++ b/internal/distributed/proxy/service_test.go @@ -383,11 +383,15 @@ func (m *MockDataCoord) CompleteCompaction(ctx context.Context, req *datapb.Comp return nil, nil } -func (m *MockDataCoord) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { +func (m *MockDataCoord) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { return nil, nil } -func (m *MockDataCoord) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { +func (m *MockDataCoord) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { + return nil, nil +} + +func (m *MockDataCoord) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { return nil, nil } @@ -589,6 +593,18 @@ func (m *MockProxy) UpdateStateCode(stateCode internalpb.StateCode) { } +func (m *MockProxy) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { + return nil, nil +} + +func (m *MockProxy) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { + return nil, nil +} + +func (m *MockProxy) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return nil, nil +} + /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// func Test_NewServer(t *testing.T) { ctx := context.Background() @@ -807,6 +823,21 @@ func Test_NewServer(t *testing.T) { assert.Nil(t, err) }) + t.Run("GetCompactionState", func(t *testing.T) { + _, err := server.GetCompactionState(ctx, nil) + assert.Nil(t, err) + }) + + t.Run("ManualCompaction", func(t *testing.T) { + _, err := server.ManualCompaction(ctx, nil) + assert.Nil(t, err) + }) + + t.Run("GetCompactionStateWithPlans", func(t *testing.T) { + _, err := server.GetCompactionStateWithPlans(ctx, nil) + assert.Nil(t, err) + }) + err = server.Stop() assert.Nil(t, err) } diff --git a/internal/proto/common.proto b/internal/proto/common.proto index f3313c05cb..a05d0ca846 100644 --- a/internal/proto/common.proto +++ b/internal/proto/common.proto @@ -175,3 +175,9 @@ message DMLMsgHeader { common.MsgBase base = 1; string shardName = 2; } + +enum CompactionState { + UndefiedState = 0; + Executing = 1; + Completed = 2; +} diff --git a/internal/proto/commonpb/common.pb.go b/internal/proto/commonpb/common.pb.go index bfbc790c1f..f755a6d2a3 100644 --- a/internal/proto/commonpb/common.pb.go +++ b/internal/proto/commonpb/common.pb.go @@ -412,6 +412,34 @@ func (DslType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_555bd8c177793206, []int{4} } +type CompactionState int32 + +const ( + CompactionState_UndefiedState CompactionState = 0 + CompactionState_Executing CompactionState = 1 + CompactionState_Completed CompactionState = 2 +) + +var CompactionState_name = map[int32]string{ + 0: "UndefiedState", + 1: "Executing", + 2: "Completed", +} + +var CompactionState_value = map[string]int32{ + "UndefiedState": 0, + "Executing": 1, + "Completed": 2, +} + +func (x CompactionState) String() string { + return proto.EnumName(CompactionState_name, int32(x)) +} + +func (CompactionState) EnumDescriptor() ([]byte, []int) { + return fileDescriptor_555bd8c177793206, []int{5} +} + type Status struct { ErrorCode ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=milvus.proto.common.ErrorCode" json:"error_code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` @@ -796,6 +824,7 @@ func init() { proto.RegisterEnum("milvus.proto.common.SegmentState", SegmentState_name, SegmentState_value) proto.RegisterEnum("milvus.proto.common.MsgType", MsgType_name, MsgType_value) proto.RegisterEnum("milvus.proto.common.DslType", DslType_name, DslType_value) + proto.RegisterEnum("milvus.proto.common.CompactionState", CompactionState_name, CompactionState_value) proto.RegisterType((*Status)(nil), "milvus.proto.common.Status") proto.RegisterType((*KeyValuePair)(nil), "milvus.proto.common.KeyValuePair") proto.RegisterType((*KeyDataPair)(nil), "milvus.proto.common.KeyDataPair") @@ -809,92 +838,95 @@ func init() { func init() { proto.RegisterFile("common.proto", fileDescriptor_555bd8c177793206) } var fileDescriptor_555bd8c177793206 = []byte{ - // 1390 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4b, 0x73, 0x1b, 0x37, - 0x12, 0xd6, 0x70, 0x28, 0x51, 0x84, 0x28, 0x09, 0x82, 0x1e, 0x96, 0xbd, 0xda, 0x2d, 0x17, 0x4f, - 0x2e, 0x55, 0x59, 0xda, 0x5d, 0xd7, 0xee, 0x9e, 0x7c, 0x90, 0x38, 0x7a, 0xb0, 0x6c, 0x3d, 0x76, - 0x28, 0x3b, 0xa9, 0x1c, 0xe2, 0x82, 0x66, 0x9a, 0x24, 0xe2, 0x19, 0x80, 0x01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 0x5d, 0x2e, 0x12, 0x88, 0x69, 0x89, - 0x2d, 0x11, 0x7a, 0x0c, 0x3a, 0x15, 0xc6, 0x08, 0x25, 0x03, 0x90, 0x02, 0x62, 0xea, 0xb3, 0x0b, - 0x64, 0xb1, 0xa1, 0x92, 0x04, 0x22, 0x2b, 0x94, 0x3c, 0x54, 0x76, 0xe7, 0x5c, 0x18, 0x6b, 0x68, - 0x19, 0x69, 0x9b, 0x49, 0x02, 0x1d, 0x9e, 0x6c, 0xe9, 0x4e, 0x3f, 0x05, 0x69, 0xe9, 0x24, 0x72, - 0xe4, 0x60, 0x20, 0x52, 0x90, 0xc8, 0x44, 0x2b, 0x05, 0xb4, 0x29, 0x63, 0x38, 0xc7, 0xfe, 0xd0, - 0x69, 0x76, 0x91, 0x2c, 0xe7, 0x68, 0x21, 0x01, 0x4f, 0x81, 0x56, 0xd9, 0x3c, 0x99, 0xc9, 0xb7, - 0x4e, 0x8e, 0x8e, 0x6f, 0x50, 0x52, 0x60, 0x08, 0xd5, 0xbd, 0x10, 0x22, 0xa5, 0x63, 0x3a, 0x53, - 0x28, 0xe1, 0x36, 0x44, 0x56, 0xe9, 0x66, 0x40, 0x6b, 0x58, 0x70, 0x0e, 0xb6, 0x80, 0xeb, 0xa8, - 0x1b, 0x82, 0xe9, 0x27, 0x96, 0xce, 0x32, 0x4a, 0x6a, 0xbb, 0x22, 0x81, 0x43, 0x65, 0x77, 0x55, - 0x5f, 0xc6, 0x74, 0x8e, 0xcd, 0x11, 0x72, 0x00, 0x96, 0xe7, 0x0a, 0xcc, 0x63, 0xda, 0x06, 0x8f, - 0xba, 0x90, 0x03, 0x94, 0xad, 0x10, 0xd6, 0xe0, 0x52, 0x2a, 0xdb, 0xd0, 0xc0, 0x2d, 0xec, 0xaa, - 0x24, 0x06, 0x4d, 0x17, 0xb0, 0x9c, 0x67, 0x70, 0x91, 0x00, 0x65, 0x63, 0xef, 0x00, 0x12, 0x18, - 0x79, 0x2f, 0x8e, 0xbd, 0x73, 0x1c, 0xbd, 0x97, 0xb0, 0xf8, 0xed, 0xbe, 0x48, 0x62, 0x27, 0x49, - 0xd6, 0x96, 0x65, 0xac, 0x31, 0x2f, 0xfe, 0xf0, 0x66, 0xb3, 0x75, 0x42, 0x57, 0xd8, 0x32, 0x59, - 0xc8, 0x91, 0x03, 0xb0, 0x5a, 0x44, 0x4e, 0xbc, 0x0b, 0x58, 0xea, 0x51, 0xdf, 0x1e, 0xb5, 0x0f, - 0x20, 0x55, 0x7a, 0x40, 0x57, 0xb1, 0xa1, 0x8e, 0x69, 0xd8, 0x22, 0x7a, 0x11, 0x33, 0xec, 0xa4, - 0x3d, 0x3b, 0x18, 0xcb, 0x4b, 0x2f, 0x31, 0x46, 0x66, 0x83, 0x20, 0x84, 0xd7, 0xfb, 0x60, 0x6c, - 0xc8, 0x23, 0xa0, 0x3f, 0x55, 0xd6, 0x5f, 0x26, 0xc4, 0xc5, 0xe2, 0x83, 0x04, 0x8c, 0x91, 0xb9, - 0xb1, 0x75, 0xa8, 0x24, 0xd0, 0x09, 0x56, 0x23, 0xd3, 0xb7, 0xa4, 0x30, 0xa6, 0x0f, 0x31, 0xf5, - 0x50, 0xb7, 0xa6, 0x3c, 0xd6, 0xaa, 0x83, 0x57, 0x9a, 0x96, 0x70, 0x77, 0x57, 0x48, 0x61, 0xba, - 0x6e, 0x62, 0x08, 0x99, 0xca, 0x05, 0x2c, 0xaf, 0xb7, 0x49, 0xad, 0x05, 0x1d, 0x1c, 0x8e, 0x8c, - 0x7b, 0x89, 0xd0, 0xa2, 0x3d, 0x66, 0x1f, 0x95, 0xed, 0xe1, 0xf0, 0xee, 0x69, 0x75, 0x4f, 0xc8, - 0x0e, 0x2d, 0x21, 0x59, 0x0b, 0x78, 0xe2, 0x88, 0x67, 0x48, 0x65, 0x37, 0xe9, 0xbb, 0x2c, 0x65, - 0x97, 0x13, 0x0d, 0x74, 0x9b, 0x5c, 0x7f, 0x3c, 0xed, 0x9e, 0x0c, 0x77, 0xf3, 0x67, 0x49, 0xf5, - 0x96, 0x8c, 0xa1, 0x2d, 0x24, 0xc4, 0x74, 0xc2, 0xa9, 0xef, 0xba, 0x54, 0x90, 0x21, 0xc6, 0x43, - 0x06, 0x5a, 0xf5, 0x0a, 0x18, 0xa0, 0x84, 0xfb, 0xdc, 0x14, 0xa0, 0x36, 0xb6, 0x34, 0x00, 0x13, - 0x69, 0x71, 0x5a, 0x0c, 0xef, 0xa0, 0xb4, 0xad, 0xae, 0xba, 0x37, 0xc6, 0x0c, 0xed, 0x62, 0xa6, - 0x3d, 0xb0, 0xad, 0x81, 0xb1, 0x90, 0x36, 0x94, 0x6c, 0x8b, 0x8e, 0xa1, 0x02, 0x33, 0xdd, 0x54, - 0x3c, 0x2e, 0x84, 0xbf, 0x86, 0x4d, 0x0d, 0x21, 0x01, 0x6e, 0x8a, 0xac, 0x77, 0xdd, 0xfc, 0xb9, - 0x52, 0xb7, 0x12, 0xc1, 0x0d, 0x4d, 0xf0, 0x28, 0x58, 0x65, 0x66, 0xa6, 0xa8, 0xfb, 0x56, 0x62, - 0x41, 0x67, 0xb6, 0x64, 0x4b, 0x64, 0x3e, 0xf3, 0x3f, 0xe6, 0xda, 0x0a, 0x47, 0xf2, 0xa5, 0xe7, - 0x3a, 0xac, 0x55, 0x6f, 0x8c, 0x7d, 0x85, 0xd7, 0xbd, 0xb6, 0xcf, 0xcd, 0x18, 0xfa, 0xda, 0x63, - 0x2b, 0x64, 0x61, 0x78, 0xb4, 0x31, 0xfe, 0x8d, 0xc7, 0x16, 0xc9, 0x1c, 0x1e, 0x6d, 0x84, 0x19, - 0xfa, 0xad, 0x03, 0xf1, 0x10, 0x05, 0xf0, 0x3b, 0xc7, 0x90, 0x9f, 0xa2, 0x80, 0x7f, 0xef, 0x92, - 0x21, 0x43, 0xde, 0x68, 0x43, 0x1f, 0x78, 0x58, 0xe9, 0x30, 0x59, 0x0e, 0xd3, 0x87, 0xce, 0x11, - 0x59, 0x47, 0x8e, 0x8f, 0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xdd, - 0xfe, 0x29, 0x7e, 0xdf, 0x37, 0xb3, 0x0f, 0xfe, 0x55, 0xa1, 0xf2, 0xd5, 0xa6, 0x90, 0x16, 0xb4, - 0xe4, 0xc9, 0xa6, 0xfb, 0x07, 0xd8, 0xcc, 0xfe, 0x01, 0x7a, 0xa7, 0xa7, 0x53, 0xce, 0xbe, 0xf6, - 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0x26, 0x52, 0x92, 0x64, 0x54, 0x0a, 0x00, 0x00, + // 1426 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x56, 0x4b, 0x73, 0xdb, 0xc8, + 0x11, 0x16, 0x08, 0x4a, 0x14, 0x5b, 0x94, 0x34, 0x1a, 0x3d, 0x2c, 0x3b, 0x4a, 0xca, 0xc5, 0x93, + 0x4b, 0x55, 0x96, 0x92, 0xb8, 0x92, 0x9c, 0x7c, 0x90, 0x08, 0x3d, 0x58, 0xb6, 0x1e, 0x01, 0x65, + 0x27, 0x95, 0x43, 0x5c, 0x23, 0xa0, 0x49, 0x4e, 0x0c, 0x60, 0x18, 0xcc, 0x40, 0x16, 0x6f, 0xc9, + 0x3f, 0x48, 0xfc, 0x3b, 0x92, 0x54, 0x92, 0x7d, 0xd6, 0xfe, 0x82, 0x7d, 0x9f, 0x77, 0xff, 0xc1, + 0xfe, 0x80, 0x7d, 0xfa, 0xb9, 0xd5, 0x03, 0x90, 0x84, 0xab, 0xec, 0xd3, 0xde, 0xa6, 0xbf, 0xe9, + 0xfe, 0xa6, 0xe7, 0xeb, 0x9e, 0x06, 0xa0, 0x11, 0xa8, 0x38, 0x56, 0xc9, 0xd6, 0x20, 0x55, 0x46, + 0xf1, 0xe5, 0x58, 0x46, 0x17, 0x99, 0xce, 0xad, 0xad, 0x7c, 0xab, 0xf9, 0x00, 0x66, 0x3a, 0x46, + 0x98, 0x4c, 0xf3, 0xdb, 0x00, 0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0x6b, 0x86, 0xda, 0xf8, + 0x22, 0x40, 0xf6, 0x55, 0x6d, 0xf3, 0x8f, 0x00, 0x36, 0x96, 0x06, 0x12, 0x72, 0x0e, 0x0b, 0x13, + 0xeb, 0x58, 0x25, 0xc8, 0xa6, 0x78, 0x03, 0x66, 0xef, 0x25, 0x52, 0xeb, 0x0c, 0x43, 0xe6, 0x90, + 0x6e, 0xed, 0xe4, 0x34, 0x55, 0x3d, 0x7a, 0xd2, 0xac, 0x42, 0xbb, 0xfb, 0x32, 0x91, 0xba, 0x6f, + 0x3b, 0x06, 0x60, 0xa6, 0x10, 0xb0, 0xba, 0xd9, 0x85, 0x46, 0x07, 0x7b, 0xd4, 0x1c, 0x39, 0xf7, + 0x0a, 0xb0, 0xb2, 0x3d, 0x61, 0x1f, 0xa7, 0xed, 0x50, 0xf3, 0x1e, 0xa4, 0xea, 0x91, 0x4c, 0x7a, + 0xac, 0x42, 0x64, 0x1d, 0x14, 0x91, 0x25, 0x9e, 0x83, 0xda, 0x7e, 0x94, 0xd9, 0x53, 0xaa, 0xf6, + 0x4c, 0x32, 0xc8, 0x6d, 0x7a, 0xf3, 0xf9, 0xac, 0x1d, 0x19, 0xf6, 0xe5, 0xcf, 0x43, 0xfd, 0x5e, + 0x12, 0x62, 0x57, 0x26, 0x18, 0xb2, 0x29, 0xab, 0xbe, 0xad, 0x52, 0x49, 0x86, 0x90, 0x2e, 0xe9, + 0xa5, 0x6a, 0x50, 0xc2, 0x90, 0x24, 0x3c, 0x14, 0xba, 0x04, 0x75, 0xa9, 0xa4, 0x1e, 0xea, 0x20, + 0x95, 0xe7, 0xe5, 0xf0, 0x1e, 0x49, 0xdb, 0xe9, 0xab, 0x47, 0x13, 0x4c, 0xb3, 0x3e, 0x9d, 0x74, + 0x80, 0xa6, 0x33, 0xd4, 0x06, 0xe3, 0x96, 0x4a, 0xba, 0xb2, 0xa7, 0x99, 0xa4, 0x93, 0xee, 0x2a, + 0x11, 0x96, 0xc2, 0xff, 0x42, 0x45, 0xf5, 0x31, 0x42, 0xa1, 0xcb, 0xac, 0x0f, 0x6d, 0xff, 0xd9, + 0x54, 0x77, 0x22, 0x29, 0x34, 0x8b, 0xe8, 0x2a, 0x94, 0x65, 0x6e, 0xc6, 0xa4, 0xfb, 0x4e, 0x64, + 0x30, 0xcd, 0xed, 0x84, 0xaf, 0xc0, 0x62, 0xee, 0x7f, 0x2a, 0x52, 0x23, 0x2d, 0xc9, 0x87, 0x8e, + 0xad, 0x70, 0xaa, 0x06, 0x13, 0xec, 0x23, 0x7a, 0xee, 0x8d, 0x43, 0xa1, 0x27, 0xd0, 0xc7, 0x0e, + 0x5f, 0x83, 0xa5, 0xd1, 0xd5, 0x26, 0xf8, 0x27, 0x0e, 0x5f, 0x86, 0x05, 0xba, 0xda, 0x18, 0xd3, + 0xec, 0x53, 0x0b, 0xd2, 0x25, 0x4a, 0xe0, 0x67, 0x96, 0xa1, 0xb8, 0x45, 0x09, 0xff, 0xdc, 0x1e, + 0x46, 0x0c, 0x45, 0xa1, 0x35, 0x7b, 0xe2, 0x50, 0xa6, 0xa3, 0xc3, 0x0a, 0x98, 0x3d, 0xb5, 0x8e, + 0xc4, 0x3a, 0x76, 0x7c, 0x66, 0x1d, 0x0b, 0xce, 0x31, 0xfa, 0xdc, 0xa2, 0x87, 0x22, 0x09, 0x55, + 0xb7, 0x3b, 0x46, 0x5f, 0x38, 0x7c, 0x1d, 0x96, 0x29, 0x7c, 0x57, 0x44, 0x22, 0x09, 0x26, 0xfe, + 0x2f, 0x1d, 0xce, 0x46, 0x42, 0xda, 0x46, 0x66, 0xff, 0xaa, 0x58, 0x51, 0x8a, 0x04, 0x72, 0xec, + 0xdf, 0x15, 0xbe, 0x90, 0xab, 0x9b, 0xdb, 0xff, 0xa9, 0xf0, 0x39, 0x98, 0x69, 0x27, 0x1a, 0x53, + 0xc3, 0xfe, 0x41, 0xcd, 0x36, 0x93, 0x3f, 0x57, 0xf6, 0x4f, 0x6a, 0xe9, 0x69, 0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00, 0x00, 0xff, 0xff, 0xcb, 0xb8, 0xc4, 0xb1, 0x98, 0x0a, + 0x00, 0x00, } diff --git a/internal/proto/data_coord.proto b/internal/proto/data_coord.proto index d8c1b49210..cf4c602a19 100644 --- a/internal/proto/data_coord.proto +++ b/internal/proto/data_coord.proto @@ -34,8 +34,9 @@ service DataCoord { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy rpc GetMetrics(milvus.GetMetricsRequest) returns (milvus.GetMetricsResponse) {} rpc CompleteCompaction(CompactionResult) returns (common.Status) {} - rpc ManualCompaction(ManualCompactionRequest) returns (ManualCompactionResponse) {} - rpc GetCompactionState(GetCompactionStateRequest) returns (GetCompactionStateResponse) {} + rpc ManualCompaction(milvus.ManualCompactionRequest) returns (milvus.ManualCompactionResponse) {} + rpc GetCompactionState(milvus.GetCompactionStateRequest) returns (milvus.GetCompactionStateResponse) {} + rpc GetCompactionStateWithPlans(milvus.GetCompactionPlansRequest) returns (milvus.GetCompactionPlansResponse) {} } service DataNode { @@ -343,36 +344,8 @@ message CompactionResult { repeated DeltaLogInfo deltalogs = 6; } -message ManualCompactionRequest { - int64 collectionID = 1; - uint64 timetravel = 2; -} - -message ManualCompactionResponse { - common.Status status = 1; - int64 compactionID = 2; -} - -message GetCompactionStateRequest { - int64 compactionID = 1; -} - -enum CompactionState { - UndefiedState = 0; - Executing = 1; - Completed = 2; -} - -message GetCompactionStateResponse { - common.Status status = 1; - CompactionState state = 2; - int64 executingPlanNo = 3; - int64 timeoutPlanNo = 4; - int64 completedPlanNo = 5; -} - // Deprecated message SegmentFieldBinlogMeta { int64 fieldID = 1; string binlog_path = 2; -} \ No newline at end of file +} diff --git a/internal/proto/datapb/data_coord.pb.go b/internal/proto/datapb/data_coord.pb.go index 91d5c35705..e2af5b146f 100644 --- a/internal/proto/datapb/data_coord.pb.go +++ b/internal/proto/datapb/data_coord.pb.go @@ -81,34 +81,6 @@ func (CompactionType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_82cd95f524594f49, []int{1} } -type CompactionState int32 - -const ( - CompactionState_UndefiedState CompactionState = 0 - CompactionState_Executing CompactionState = 1 - CompactionState_Completed CompactionState = 2 -) - -var CompactionState_name = map[int32]string{ - 0: "UndefiedState", - 1: "Executing", - 2: "Completed", -} - -var CompactionState_value = map[string]int32{ - "UndefiedState": 0, - "Executing": 1, - "Completed": 2, -} - -func (x CompactionState) String() string { - return proto.EnumName(CompactionState_name, int32(x)) -} - -func (CompactionState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{2} -} - type FlushRequest struct { Base *commonpb.MsgBase `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"` DbID int64 `protobuf:"varint,2,opt,name=dbID,proto3" json:"dbID,omitempty"` @@ -2636,210 +2608,6 @@ func (m *CompactionResult) GetDeltalogs() []*DeltaLogInfo { return nil } -type ManualCompactionRequest struct { - CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` - Timetravel uint64 `protobuf:"varint,2,opt,name=timetravel,proto3" json:"timetravel,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ManualCompactionRequest) Reset() { *m = ManualCompactionRequest{} } -func (m *ManualCompactionRequest) String() string { return proto.CompactTextString(m) } -func (*ManualCompactionRequest) ProtoMessage() {} -func (*ManualCompactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{42} -} - -func (m *ManualCompactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManualCompactionRequest.Unmarshal(m, b) -} -func (m *ManualCompactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManualCompactionRequest.Marshal(b, m, deterministic) -} -func (m *ManualCompactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCompactionRequest.Merge(m, src) -} -func (m *ManualCompactionRequest) XXX_Size() int { - return xxx_messageInfo_ManualCompactionRequest.Size(m) -} -func (m *ManualCompactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ManualCompactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ManualCompactionRequest proto.InternalMessageInfo - -func (m *ManualCompactionRequest) GetCollectionID() int64 { - if m != nil { - return m.CollectionID - } - return 0 -} - -func (m *ManualCompactionRequest) GetTimetravel() uint64 { - if m != nil { - return m.Timetravel - } - return 0 -} - -type ManualCompactionResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - CompactionID int64 `protobuf:"varint,2,opt,name=compactionID,proto3" json:"compactionID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ManualCompactionResponse) Reset() { *m = ManualCompactionResponse{} } -func (m *ManualCompactionResponse) String() string { return proto.CompactTextString(m) } -func (*ManualCompactionResponse) ProtoMessage() {} -func (*ManualCompactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{43} -} - -func (m *ManualCompactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ManualCompactionResponse.Unmarshal(m, b) -} -func (m *ManualCompactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ManualCompactionResponse.Marshal(b, m, deterministic) -} -func (m *ManualCompactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ManualCompactionResponse.Merge(m, src) -} -func (m *ManualCompactionResponse) XXX_Size() int { - return xxx_messageInfo_ManualCompactionResponse.Size(m) -} -func (m *ManualCompactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ManualCompactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ManualCompactionResponse proto.InternalMessageInfo - -func (m *ManualCompactionResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *ManualCompactionResponse) GetCompactionID() int64 { - if m != nil { - return m.CompactionID - } - return 0 -} - -type GetCompactionStateRequest struct { - CompactionID int64 `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCompactionStateRequest) Reset() { *m = GetCompactionStateRequest{} } -func (m *GetCompactionStateRequest) String() string { return proto.CompactTextString(m) } -func (*GetCompactionStateRequest) ProtoMessage() {} -func (*GetCompactionStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{44} -} - -func (m *GetCompactionStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCompactionStateRequest.Unmarshal(m, b) -} -func (m *GetCompactionStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCompactionStateRequest.Marshal(b, m, deterministic) -} -func (m *GetCompactionStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCompactionStateRequest.Merge(m, src) -} -func (m *GetCompactionStateRequest) XXX_Size() int { - return xxx_messageInfo_GetCompactionStateRequest.Size(m) -} -func (m *GetCompactionStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetCompactionStateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCompactionStateRequest proto.InternalMessageInfo - -func (m *GetCompactionStateRequest) GetCompactionID() int64 { - if m != nil { - return m.CompactionID - } - return 0 -} - -type GetCompactionStateResponse struct { - Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` - State CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.data.CompactionState" json:"state,omitempty"` - ExecutingPlanNo int64 `protobuf:"varint,3,opt,name=executingPlanNo,proto3" json:"executingPlanNo,omitempty"` - TimeoutPlanNo int64 `protobuf:"varint,4,opt,name=timeoutPlanNo,proto3" json:"timeoutPlanNo,omitempty"` - CompletedPlanNo int64 `protobuf:"varint,5,opt,name=completedPlanNo,proto3" json:"completedPlanNo,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *GetCompactionStateResponse) Reset() { *m = GetCompactionStateResponse{} } -func (m *GetCompactionStateResponse) String() string { return proto.CompactTextString(m) } -func (*GetCompactionStateResponse) ProtoMessage() {} -func (*GetCompactionStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{45} -} - -func (m *GetCompactionStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetCompactionStateResponse.Unmarshal(m, b) -} -func (m *GetCompactionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetCompactionStateResponse.Marshal(b, m, deterministic) -} -func (m *GetCompactionStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetCompactionStateResponse.Merge(m, src) -} -func (m *GetCompactionStateResponse) XXX_Size() int { - return xxx_messageInfo_GetCompactionStateResponse.Size(m) -} -func (m *GetCompactionStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetCompactionStateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetCompactionStateResponse proto.InternalMessageInfo - -func (m *GetCompactionStateResponse) GetStatus() *commonpb.Status { - if m != nil { - return m.Status - } - return nil -} - -func (m *GetCompactionStateResponse) GetState() CompactionState { - if m != nil { - return m.State - } - return CompactionState_UndefiedState -} - -func (m *GetCompactionStateResponse) GetExecutingPlanNo() int64 { - if m != nil { - return m.ExecutingPlanNo - } - return 0 -} - -func (m *GetCompactionStateResponse) GetTimeoutPlanNo() int64 { - if m != nil { - return m.TimeoutPlanNo - } - return 0 -} - -func (m *GetCompactionStateResponse) GetCompletedPlanNo() int64 { - if m != nil { - return m.CompletedPlanNo - } - return 0 -} - // Deprecated type SegmentFieldBinlogMeta struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` @@ -2853,7 +2621,7 @@ func (m *SegmentFieldBinlogMeta) Reset() { *m = SegmentFieldBinlogMeta{} func (m *SegmentFieldBinlogMeta) String() string { return proto.CompactTextString(m) } func (*SegmentFieldBinlogMeta) ProtoMessage() {} func (*SegmentFieldBinlogMeta) Descriptor() ([]byte, []int) { - return fileDescriptor_82cd95f524594f49, []int{46} + return fileDescriptor_82cd95f524594f49, []int{42} } func (m *SegmentFieldBinlogMeta) XXX_Unmarshal(b []byte) error { @@ -2891,7 +2659,6 @@ func (m *SegmentFieldBinlogMeta) GetBinlogPath() string { func init() { proto.RegisterEnum("milvus.proto.data.ChannelWatchState", ChannelWatchState_name, ChannelWatchState_value) proto.RegisterEnum("milvus.proto.data.CompactionType", CompactionType_name, CompactionType_value) - proto.RegisterEnum("milvus.proto.data.CompactionState", CompactionState_name, CompactionState_value) proto.RegisterType((*FlushRequest)(nil), "milvus.proto.data.FlushRequest") proto.RegisterType((*FlushResponse)(nil), "milvus.proto.data.FlushResponse") proto.RegisterType((*SegmentIDRequest)(nil), "milvus.proto.data.SegmentIDRequest") @@ -2934,182 +2701,171 @@ func init() { proto.RegisterType((*CompactionSegmentBinlogs)(nil), "milvus.proto.data.CompactionSegmentBinlogs") proto.RegisterType((*CompactionPlan)(nil), "milvus.proto.data.CompactionPlan") proto.RegisterType((*CompactionResult)(nil), "milvus.proto.data.CompactionResult") - proto.RegisterType((*ManualCompactionRequest)(nil), "milvus.proto.data.ManualCompactionRequest") - proto.RegisterType((*ManualCompactionResponse)(nil), "milvus.proto.data.ManualCompactionResponse") - proto.RegisterType((*GetCompactionStateRequest)(nil), "milvus.proto.data.GetCompactionStateRequest") - proto.RegisterType((*GetCompactionStateResponse)(nil), "milvus.proto.data.GetCompactionStateResponse") proto.RegisterType((*SegmentFieldBinlogMeta)(nil), "milvus.proto.data.SegmentFieldBinlogMeta") } func init() { proto.RegisterFile("data_coord.proto", fileDescriptor_82cd95f524594f49) } var fileDescriptor_82cd95f524594f49 = []byte{ - // 2631 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x3a, 0xcb, 0x6f, 0x1c, 0x49, - 0xf9, 0xee, 0x79, 0xd8, 0x9e, 0x6f, 0x1e, 0x1e, 0x57, 0xf2, 0x73, 0xe6, 0x37, 0x49, 0x1c, 0xa7, - 0x37, 0x9b, 0x78, 0xbd, 0x59, 0x3b, 0x71, 0x58, 0x11, 0x91, 0x5d, 0xa2, 0x75, 0x9c, 0x98, 0x11, - 0x76, 0x30, 0x3d, 0xde, 0x5d, 0xc4, 0x0a, 0x8d, 0xda, 0xd3, 0xe5, 0x71, 0x93, 0xe9, 0xee, 0xd9, - 0xae, 0x1e, 0xc7, 0xde, 0xcb, 0xae, 0x16, 0x81, 0x04, 0x02, 0x16, 0xc4, 0x85, 0x03, 0x12, 0x88, - 0x13, 0x12, 0x17, 0x2e, 0x5c, 0xe0, 0xc2, 0x11, 0xc1, 0x85, 0x13, 0x7f, 0x0f, 0xaa, 0x47, 0x57, - 0x3f, 0x67, 0xa6, 0x6d, 0xe7, 0x71, 0x9b, 0xfa, 0xfa, 0x7b, 0xd5, 0x57, 0xdf, 0xb3, 0x6a, 0xa0, - 0x6e, 0xe8, 0x9e, 0xde, 0xe9, 0x3a, 0x8e, 0x6b, 0xac, 0x0e, 0x5c, 0xc7, 0x73, 0xd0, 0xbc, 0x65, - 0xf6, 0x8f, 0x86, 0x84, 0xaf, 0x56, 0xe9, 0xe7, 0x66, 0xa5, 0xeb, 0x58, 0x96, 0x63, 0x73, 0x50, - 0xb3, 0x66, 0xda, 0x1e, 0x76, 0x6d, 0xbd, 0x2f, 0xd6, 0x95, 0x30, 0x41, 0xb3, 0x42, 0xba, 0x87, - 0xd8, 0xd2, 0xf9, 0x4a, 0x3d, 0x86, 0xca, 0x93, 0xfe, 0x90, 0x1c, 0x6a, 0xf8, 0xd3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0xfb, 0x50, 0x3a, 0x12, 0xd6, 0xf3, 0x93, 0xce, 0xb5, 0x14, 0x85, 0xc2, - 0xe7, 0xa4, 0x05, 0x14, 0xea, 0x3f, 0x15, 0xb8, 0xc8, 0x3a, 0x7f, 0x5f, 0xbb, 0x57, 0x1f, 0x19, - 0x13, 0xba, 0x7f, 0x74, 0x13, 0x6a, 0x96, 0xee, 0x3e, 0x6b, 0x07, 0x38, 0x45, 0x86, 0x13, 0x83, - 0xaa, 0xc7, 0x00, 0x62, 0xb5, 0x43, 0x7a, 0x67, 0xd0, 0xff, 0x3e, 0xcc, 0x08, 0xa9, 0x22, 0x48, - 0x26, 0x1d, 0xac, 0x8f, 0xae, 0xfe, 0x4b, 0x81, 0x5a, 0x90, 0xf6, 0x58, 0x28, 0xd4, 0x20, 0x27, - 0x03, 0x20, 0xd7, 0xda, 0x44, 0xef, 0xc3, 0x34, 0x9f, 0xf5, 0x04, 0xef, 0x37, 0xa3, 0xbc, 0xc5, - 0x1c, 0x18, 0xca, 0x9d, 0x0c, 0xa0, 0x09, 0x22, 0x6a, 0x23, 0x99, 0x2a, 0xf8, 0x58, 0x90, 0xd7, - 0x42, 0x10, 0xd4, 0x82, 0xb9, 0x68, 0xa7, 0xe5, 0x3b, 0xfa, 0xd2, 0xa8, 0x14, 0xb1, 0xa9, 0x7b, - 0x3a, 0xcb, 0x10, 0xb5, 0x48, 0xa3, 0x45, 0xd4, 0xff, 0x14, 0xa1, 0x1c, 0xda, 0x65, 0x62, 0x27, - 0xf1, 0x23, 0xcd, 0x4d, 0x4e, 0x76, 0xf9, 0x64, 0xbb, 0xff, 0x26, 0xd4, 0x4c, 0x56, 0x60, 0x3b, - 0xc2, 0x15, 0x59, 0x46, 0x2c, 0x69, 0x55, 0x0e, 0x15, 0x71, 0x81, 0x16, 0xa1, 0x6c, 0x0f, 0xad, - 0x8e, 0x73, 0xd0, 0x71, 0x9d, 0xe7, 0x44, 0xcc, 0x0d, 0x25, 0x7b, 0x68, 0x7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0x98, 0x8b, 0xbd, 0xaa, - 0xa7, 0x46, 0x5c, 0xfa, 0xcb, 0xfb, 0x24, 0x97, 0xf9, 0x58, 0xfc, 0x41, 0x56, 0x46, 0xd7, 0xad, - 0x51, 0x65, 0x39, 0x1e, 0x58, 0x13, 0x18, 0xbf, 0xf4, 0x30, 0x7a, 0x0a, 0x10, 0x72, 0xf3, 0xf1, - 0x73, 0x2b, 0xed, 0x8f, 0x27, 0x28, 0xbc, 0x71, 0xef, 0xfb, 0x77, 0x7b, 0xa6, 0x77, 0x38, 0xdc, - 0xa7, 0x5f, 0xd6, 0x38, 0xea, 0x3b, 0xa6, 0x23, 0x7e, 0xad, 0xf9, 0x27, 0xba, 0xc6, 0xa8, 0xd7, - 0xa8, 0x80, 0xc1, 0xfe, 0xfe, 0x34, 0x5b, 0xdd, 0xfb, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x6f, - 0x95, 0xc4, 0x82, 0x42, 0x2d, 0x00, 0x00, + // 2520 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x1a, 0x4b, 0x6f, 0x1b, 0xc7, + 0xd9, 0xcb, 0x87, 0x24, 0x7e, 0xa4, 0x28, 0x7a, 0xec, 0xca, 0x2c, 0x6d, 0xcb, 0xf2, 0x26, 0xb1, + 0x15, 0xc7, 0x91, 0x6c, 0xb9, 0x41, 0x83, 0x3a, 0x69, 0x10, 0x59, 0xb6, 0x4a, 0x54, 0x72, 0xd5, + 0xa5, 0x12, 0x17, 0xcd, 0x81, 0x58, 0x71, 0x47, 0xd4, 0xd6, 0xfb, 0xa0, 0x77, 0x86, 0xb2, 0x95, + 0x4b, 0x8c, 0x14, 0x28, 0xd0, 0xa2, 0x6d, 0x5a, 0xf4, 0xd2, 0x43, 0x81, 0x16, 0x3d, 0x15, 0xe8, + 0xa5, 0x97, 0x5e, 0xda, 0x3f, 0x50, 0x34, 0x97, 0x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f, 0x08, 0xc9, 0xc4, 0xb0, 0x81, 0x46, 0x78, 0x7f, 0xca, 0x40, 0xd2, + 0xb8, 0x91, 0x05, 0x55, 0x6d, 0x84, 0xf0, 0x74, 0x99, 0x68, 0xd8, 0xd1, 0xcd, 0x74, 0x1e, 0xe9, + 0xc3, 0x46, 0xe3, 0xdd, 0x8c, 0xd8, 0x4a, 0x68, 0x1b, 0x60, 0x0b, 0xd3, 0x1d, 0x4c, 0x03, 0xe6, + 0x23, 0xd7, 0x52, 0x4d, 0x1e, 0x21, 0x84, 0x62, 0xae, 0x4f, 0xc4, 0x53, 0x02, 0x7e, 0x02, 0x28, + 0xac, 0x73, 0xb1, 0x2b, 0xd9, 0x37, 0xc6, 0xf6, 0x45, 0xa2, 0x89, 0x99, 0x74, 0x36, 0x4f, 0xa0, + 0xb6, 0x63, 0x7a, 0x7d, 0xd3, 0x89, 0xf1, 0xbd, 0x99, 0xaa, 0x58, 0x12, 0x6d, 0x84, 0xb5, 0x46, + 0x62, 0xab, 0xcd, 0x3c, 0x55, 0x35, 0xd4, 0x54, 0x21, 0x88, 0x93, 0xb9, 0x25, 0xb2, 0x46, 0x02, + 0x71, 0x44, 0x6e, 0x19, 0x83, 0xaf, 0x04, 0x3f, 0xd7, 0xf8, 0x9f, 0x1b, 0x12, 0x08, 0x8f, 0x6c, + 0x7a, 0xc8, 0xda, 0x65, 0x92, 0x45, 0x05, 0x8e, 0x38, 0x85, 0x0a, 0x12, 0x3f, 0x54, 0x61, 0xfd, + 0xff, 0x05, 0x98, 0x0b, 0xef, 0x86, 0x5e, 0x43, 0x33, 0xf1, 0x1a, 0xaa, 0xfb, 0x67, 0xb0, 0x90, + 0x78, 0x7f, 0x4d, 0x0d, 0xfe, 0xf4, 0x37, 0xda, 0x49, 0xde, 0xfb, 0x48, 0xfe, 0x95, 0x52, 0x05, + 0xfa, 0xf5, 0x51, 0x1d, 0x42, 0x32, 0xc6, 0x27, 0x30, 0x7e, 0xe9, 0x11, 0xfd, 0x10, 0x20, 0x16, + 0x71, 0xe3, 0x27, 0x1c, 0xe6, 0x44, 0x13, 0x14, 0xde, 0xb8, 0xf3, 0xd3, 0xdb, 0x5d, 0x9b, 0x1e, + 0xf6, 0xf7, 0xd9, 0x97, 0x35, 0x81, 0xfa, 0xae, 0xed, 0xcb, 0x5f, 0x6b, 0xe1, 0x89, 0xae, 0x71, + 0xea, 0x35, 0x26, 0xa0, 0xb7, 0xbf, 0x3f, 0xc3, 0x57, 0x77, 0xbe, 0x09, 0x00, 0x00, 0xff, 0xff, + 0x3b, 0x13, 0xbe, 0xac, 0x6c, 0x2b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3141,8 +2897,9 @@ type DataCoordClient interface { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest, opts ...grpc.CallOption) (*milvuspb.GetMetricsResponse, error) CompleteCompaction(ctx context.Context, in *CompactionResult, opts ...grpc.CallOption) (*commonpb.Status, error) - ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) - GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) + ManualCompaction(ctx context.Context, in *milvuspb.ManualCompactionRequest, opts ...grpc.CallOption) (*milvuspb.ManualCompactionResponse, error) + GetCompactionState(ctx context.Context, in *milvuspb.GetCompactionStateRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionStateResponse, error) + GetCompactionStateWithPlans(ctx context.Context, in *milvuspb.GetCompactionPlansRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionPlansResponse, error) } type dataCoordClient struct { @@ -3297,8 +3054,8 @@ func (c *dataCoordClient) CompleteCompaction(ctx context.Context, in *Compaction return out, nil } -func (c *dataCoordClient) ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) { - out := new(ManualCompactionResponse) +func (c *dataCoordClient) ManualCompaction(ctx context.Context, in *milvuspb.ManualCompactionRequest, opts ...grpc.CallOption) (*milvuspb.ManualCompactionResponse, error) { + out := new(milvuspb.ManualCompactionResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/ManualCompaction", in, out, opts...) if err != nil { return nil, err @@ -3306,8 +3063,8 @@ func (c *dataCoordClient) ManualCompaction(ctx context.Context, in *ManualCompac return out, nil } -func (c *dataCoordClient) GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) { - out := new(GetCompactionStateResponse) +func (c *dataCoordClient) GetCompactionState(ctx context.Context, in *milvuspb.GetCompactionStateRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionStateResponse, error) { + out := new(milvuspb.GetCompactionStateResponse) err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetCompactionState", in, out, opts...) if err != nil { return nil, err @@ -3315,6 +3072,15 @@ func (c *dataCoordClient) GetCompactionState(ctx context.Context, in *GetCompact return out, nil } +func (c *dataCoordClient) GetCompactionStateWithPlans(ctx context.Context, in *milvuspb.GetCompactionPlansRequest, opts ...grpc.CallOption) (*milvuspb.GetCompactionPlansResponse, error) { + out := new(milvuspb.GetCompactionPlansResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.data.DataCoord/GetCompactionStateWithPlans", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // DataCoordServer is the server API for DataCoord service. type DataCoordServer interface { GetComponentStates(context.Context, *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) @@ -3334,8 +3100,9 @@ type DataCoordServer interface { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy GetMetrics(context.Context, *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) CompleteCompaction(context.Context, *CompactionResult) (*commonpb.Status, error) - ManualCompaction(context.Context, *ManualCompactionRequest) (*ManualCompactionResponse, error) - GetCompactionState(context.Context, *GetCompactionStateRequest) (*GetCompactionStateResponse, error) + ManualCompaction(context.Context, *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) + GetCompactionState(context.Context, *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) + GetCompactionStateWithPlans(context.Context, *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) } // UnimplementedDataCoordServer can be embedded to have forward compatible implementations. @@ -3390,12 +3157,15 @@ func (*UnimplementedDataCoordServer) GetMetrics(ctx context.Context, req *milvus func (*UnimplementedDataCoordServer) CompleteCompaction(ctx context.Context, req *CompactionResult) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method CompleteCompaction not implemented") } -func (*UnimplementedDataCoordServer) ManualCompaction(ctx context.Context, req *ManualCompactionRequest) (*ManualCompactionResponse, error) { +func (*UnimplementedDataCoordServer) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ManualCompaction not implemented") } -func (*UnimplementedDataCoordServer) GetCompactionState(ctx context.Context, req *GetCompactionStateRequest) (*GetCompactionStateResponse, error) { +func (*UnimplementedDataCoordServer) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCompactionState not implemented") } +func (*UnimplementedDataCoordServer) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCompactionStateWithPlans not implemented") +} func RegisterDataCoordServer(s *grpc.Server, srv DataCoordServer) { s.RegisterService(&_DataCoord_serviceDesc, srv) @@ -3690,7 +3460,7 @@ func _DataCoord_CompleteCompaction_Handler(srv interface{}, ctx context.Context, } func _DataCoord_ManualCompaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ManualCompactionRequest) + in := new(milvuspb.ManualCompactionRequest) if err := dec(in); err != nil { return nil, err } @@ -3702,13 +3472,13 @@ func _DataCoord_ManualCompaction_Handler(srv interface{}, ctx context.Context, d FullMethod: "/milvus.proto.data.DataCoord/ManualCompaction", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).ManualCompaction(ctx, req.(*ManualCompactionRequest)) + return srv.(DataCoordServer).ManualCompaction(ctx, req.(*milvuspb.ManualCompactionRequest)) } return interceptor(ctx, in, info, handler) } func _DataCoord_GetCompactionState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetCompactionStateRequest) + in := new(milvuspb.GetCompactionStateRequest) if err := dec(in); err != nil { return nil, err } @@ -3720,7 +3490,25 @@ func _DataCoord_GetCompactionState_Handler(srv interface{}, ctx context.Context, FullMethod: "/milvus.proto.data.DataCoord/GetCompactionState", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(DataCoordServer).GetCompactionState(ctx, req.(*GetCompactionStateRequest)) + return srv.(DataCoordServer).GetCompactionState(ctx, req.(*milvuspb.GetCompactionStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _DataCoord_GetCompactionStateWithPlans_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(milvuspb.GetCompactionPlansRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(DataCoordServer).GetCompactionStateWithPlans(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.data.DataCoord/GetCompactionStateWithPlans", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(DataCoordServer).GetCompactionStateWithPlans(ctx, req.(*milvuspb.GetCompactionPlansRequest)) } return interceptor(ctx, in, info, handler) } @@ -3801,6 +3589,10 @@ var _DataCoord_serviceDesc = grpc.ServiceDesc{ MethodName: "GetCompactionState", Handler: _DataCoord_GetCompactionState_Handler, }, + { + MethodName: "GetCompactionStateWithPlans", + Handler: _DataCoord_GetCompactionStateWithPlans_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "data_coord.proto", diff --git a/internal/proto/milvus.proto b/internal/proto/milvus.proto index 5e1f8e3ae5..d6feab5b88 100644 --- a/internal/proto/milvus.proto +++ b/internal/proto/milvus.proto @@ -52,6 +52,8 @@ service MilvusService { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy rpc GetMetrics(GetMetricsRequest) returns (GetMetricsResponse) {} rpc LoadBalance(LoadBalanceRequest) returns (common.Status) {} + rpc GetCompactionState(GetCompactionStateRequest) returns (GetCompactionStateResponse) {} + rpc ManualCompaction(ManualCompactionRequest) returns (ManualCompactionResponse) {} } message CreateAliasRequest { @@ -716,6 +718,43 @@ message LoadBalanceRequest { repeated int64 sealed_segmentIDs = 4; } +message ManualCompactionRequest { + int64 collectionID = 1; + uint64 timetravel = 2; +} + +message ManualCompactionResponse { + common.Status status = 1; + int64 compactionID = 2; +} + +message GetCompactionStateRequest { + int64 compactionID = 1; +} + +message GetCompactionStateResponse { + common.Status status = 1; + common.CompactionState state = 2; + int64 executingPlanNo = 3; + int64 timeoutPlanNo = 4; + int64 completedPlanNo = 5; +} + +message GetCompactionPlansRequest { + int64 compactionID = 1; +} + +message GetCompactionPlansResponse { + common.Status status = 1; + common.CompactionState state = 2; + repeated CompactionMergeInfo mergeInfos = 3; +} + +message CompactionMergeInfo { + repeated int64 sources = 1; + int64 target = 2; +} + service ProxyService { rpc RegisterLink(RegisterLinkRequest) returns (RegisterLinkResponse) {} } diff --git a/internal/proto/milvuspb/milvus.pb.go b/internal/proto/milvuspb/milvus.pb.go index 0184c7a0b6..6ab3dbee7f 100644 --- a/internal/proto/milvuspb/milvus.pb.go +++ b/internal/proto/milvuspb/milvus.pb.go @@ -4456,6 +4456,351 @@ func (m *LoadBalanceRequest) GetSealedSegmentIDs() []int64 { return nil } +type ManualCompactionRequest struct { + CollectionID int64 `protobuf:"varint,1,opt,name=collectionID,proto3" json:"collectionID,omitempty"` + Timetravel uint64 `protobuf:"varint,2,opt,name=timetravel,proto3" json:"timetravel,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManualCompactionRequest) Reset() { *m = ManualCompactionRequest{} } +func (m *ManualCompactionRequest) String() string { return proto.CompactTextString(m) } +func (*ManualCompactionRequest) ProtoMessage() {} +func (*ManualCompactionRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{67} +} + +func (m *ManualCompactionRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManualCompactionRequest.Unmarshal(m, b) +} +func (m *ManualCompactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManualCompactionRequest.Marshal(b, m, deterministic) +} +func (m *ManualCompactionRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManualCompactionRequest.Merge(m, src) +} +func (m *ManualCompactionRequest) XXX_Size() int { + return xxx_messageInfo_ManualCompactionRequest.Size(m) +} +func (m *ManualCompactionRequest) XXX_DiscardUnknown() { + xxx_messageInfo_ManualCompactionRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_ManualCompactionRequest proto.InternalMessageInfo + +func (m *ManualCompactionRequest) GetCollectionID() int64 { + if m != nil { + return m.CollectionID + } + return 0 +} + +func (m *ManualCompactionRequest) GetTimetravel() uint64 { + if m != nil { + return m.Timetravel + } + return 0 +} + +type ManualCompactionResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + CompactionID int64 `protobuf:"varint,2,opt,name=compactionID,proto3" json:"compactionID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *ManualCompactionResponse) Reset() { *m = ManualCompactionResponse{} } +func (m *ManualCompactionResponse) String() string { return proto.CompactTextString(m) } +func (*ManualCompactionResponse) ProtoMessage() {} +func (*ManualCompactionResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{68} +} + +func (m *ManualCompactionResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_ManualCompactionResponse.Unmarshal(m, b) +} +func (m *ManualCompactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_ManualCompactionResponse.Marshal(b, m, deterministic) +} +func (m *ManualCompactionResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_ManualCompactionResponse.Merge(m, src) +} +func (m *ManualCompactionResponse) XXX_Size() int { + return xxx_messageInfo_ManualCompactionResponse.Size(m) +} +func (m *ManualCompactionResponse) XXX_DiscardUnknown() { + xxx_messageInfo_ManualCompactionResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_ManualCompactionResponse proto.InternalMessageInfo + +func (m *ManualCompactionResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *ManualCompactionResponse) GetCompactionID() int64 { + if m != nil { + return m.CompactionID + } + return 0 +} + +type GetCompactionStateRequest struct { + CompactionID int64 `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCompactionStateRequest) Reset() { *m = GetCompactionStateRequest{} } +func (m *GetCompactionStateRequest) String() string { return proto.CompactTextString(m) } +func (*GetCompactionStateRequest) ProtoMessage() {} +func (*GetCompactionStateRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{69} +} + +func (m *GetCompactionStateRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCompactionStateRequest.Unmarshal(m, b) +} +func (m *GetCompactionStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCompactionStateRequest.Marshal(b, m, deterministic) +} +func (m *GetCompactionStateRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCompactionStateRequest.Merge(m, src) +} +func (m *GetCompactionStateRequest) XXX_Size() int { + return xxx_messageInfo_GetCompactionStateRequest.Size(m) +} +func (m *GetCompactionStateRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCompactionStateRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCompactionStateRequest proto.InternalMessageInfo + +func (m *GetCompactionStateRequest) GetCompactionID() int64 { + if m != nil { + return m.CompactionID + } + return 0 +} + +type GetCompactionStateResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + State commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"` + ExecutingPlanNo int64 `protobuf:"varint,3,opt,name=executingPlanNo,proto3" json:"executingPlanNo,omitempty"` + TimeoutPlanNo int64 `protobuf:"varint,4,opt,name=timeoutPlanNo,proto3" json:"timeoutPlanNo,omitempty"` + CompletedPlanNo int64 `protobuf:"varint,5,opt,name=completedPlanNo,proto3" json:"completedPlanNo,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCompactionStateResponse) Reset() { *m = GetCompactionStateResponse{} } +func (m *GetCompactionStateResponse) String() string { return proto.CompactTextString(m) } +func (*GetCompactionStateResponse) ProtoMessage() {} +func (*GetCompactionStateResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{70} +} + +func (m *GetCompactionStateResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCompactionStateResponse.Unmarshal(m, b) +} +func (m *GetCompactionStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCompactionStateResponse.Marshal(b, m, deterministic) +} +func (m *GetCompactionStateResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCompactionStateResponse.Merge(m, src) +} +func (m *GetCompactionStateResponse) XXX_Size() int { + return xxx_messageInfo_GetCompactionStateResponse.Size(m) +} +func (m *GetCompactionStateResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCompactionStateResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCompactionStateResponse proto.InternalMessageInfo + +func (m *GetCompactionStateResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetCompactionStateResponse) GetState() commonpb.CompactionState { + if m != nil { + return m.State + } + return commonpb.CompactionState_UndefiedState +} + +func (m *GetCompactionStateResponse) GetExecutingPlanNo() int64 { + if m != nil { + return m.ExecutingPlanNo + } + return 0 +} + +func (m *GetCompactionStateResponse) GetTimeoutPlanNo() int64 { + if m != nil { + return m.TimeoutPlanNo + } + return 0 +} + +func (m *GetCompactionStateResponse) GetCompletedPlanNo() int64 { + if m != nil { + return m.CompletedPlanNo + } + return 0 +} + +type GetCompactionPlansRequest struct { + CompactionID int64 `protobuf:"varint,1,opt,name=compactionID,proto3" json:"compactionID,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCompactionPlansRequest) Reset() { *m = GetCompactionPlansRequest{} } +func (m *GetCompactionPlansRequest) String() string { return proto.CompactTextString(m) } +func (*GetCompactionPlansRequest) ProtoMessage() {} +func (*GetCompactionPlansRequest) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{71} +} + +func (m *GetCompactionPlansRequest) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCompactionPlansRequest.Unmarshal(m, b) +} +func (m *GetCompactionPlansRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCompactionPlansRequest.Marshal(b, m, deterministic) +} +func (m *GetCompactionPlansRequest) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCompactionPlansRequest.Merge(m, src) +} +func (m *GetCompactionPlansRequest) XXX_Size() int { + return xxx_messageInfo_GetCompactionPlansRequest.Size(m) +} +func (m *GetCompactionPlansRequest) XXX_DiscardUnknown() { + xxx_messageInfo_GetCompactionPlansRequest.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCompactionPlansRequest proto.InternalMessageInfo + +func (m *GetCompactionPlansRequest) GetCompactionID() int64 { + if m != nil { + return m.CompactionID + } + return 0 +} + +type GetCompactionPlansResponse struct { + Status *commonpb.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` + State commonpb.CompactionState `protobuf:"varint,2,opt,name=state,proto3,enum=milvus.proto.common.CompactionState" json:"state,omitempty"` + MergeInfos []*CompactionMergeInfo `protobuf:"bytes,3,rep,name=mergeInfos,proto3" json:"mergeInfos,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *GetCompactionPlansResponse) Reset() { *m = GetCompactionPlansResponse{} } +func (m *GetCompactionPlansResponse) String() string { return proto.CompactTextString(m) } +func (*GetCompactionPlansResponse) ProtoMessage() {} +func (*GetCompactionPlansResponse) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{72} +} + +func (m *GetCompactionPlansResponse) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_GetCompactionPlansResponse.Unmarshal(m, b) +} +func (m *GetCompactionPlansResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_GetCompactionPlansResponse.Marshal(b, m, deterministic) +} +func (m *GetCompactionPlansResponse) XXX_Merge(src proto.Message) { + xxx_messageInfo_GetCompactionPlansResponse.Merge(m, src) +} +func (m *GetCompactionPlansResponse) XXX_Size() int { + return xxx_messageInfo_GetCompactionPlansResponse.Size(m) +} +func (m *GetCompactionPlansResponse) XXX_DiscardUnknown() { + xxx_messageInfo_GetCompactionPlansResponse.DiscardUnknown(m) +} + +var xxx_messageInfo_GetCompactionPlansResponse proto.InternalMessageInfo + +func (m *GetCompactionPlansResponse) GetStatus() *commonpb.Status { + if m != nil { + return m.Status + } + return nil +} + +func (m *GetCompactionPlansResponse) GetState() commonpb.CompactionState { + if m != nil { + return m.State + } + return commonpb.CompactionState_UndefiedState +} + +func (m *GetCompactionPlansResponse) GetMergeInfos() []*CompactionMergeInfo { + if m != nil { + return m.MergeInfos + } + return nil +} + +type CompactionMergeInfo struct { + Sources []int64 `protobuf:"varint,1,rep,packed,name=sources,proto3" json:"sources,omitempty"` + Target int64 `protobuf:"varint,2,opt,name=target,proto3" json:"target,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` +} + +func (m *CompactionMergeInfo) Reset() { *m = CompactionMergeInfo{} } +func (m *CompactionMergeInfo) String() string { return proto.CompactTextString(m) } +func (*CompactionMergeInfo) ProtoMessage() {} +func (*CompactionMergeInfo) Descriptor() ([]byte, []int) { + return fileDescriptor_02345ba45cc0e303, []int{73} +} + +func (m *CompactionMergeInfo) XXX_Unmarshal(b []byte) error { + return xxx_messageInfo_CompactionMergeInfo.Unmarshal(m, b) +} +func (m *CompactionMergeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + return xxx_messageInfo_CompactionMergeInfo.Marshal(b, m, deterministic) +} +func (m *CompactionMergeInfo) XXX_Merge(src proto.Message) { + xxx_messageInfo_CompactionMergeInfo.Merge(m, src) +} +func (m *CompactionMergeInfo) XXX_Size() int { + return xxx_messageInfo_CompactionMergeInfo.Size(m) +} +func (m *CompactionMergeInfo) XXX_DiscardUnknown() { + xxx_messageInfo_CompactionMergeInfo.DiscardUnknown(m) +} + +var xxx_messageInfo_CompactionMergeInfo proto.InternalMessageInfo + +func (m *CompactionMergeInfo) GetSources() []int64 { + if m != nil { + return m.Sources + } + return nil +} + +func (m *CompactionMergeInfo) GetTarget() int64 { + if m != nil { + return m.Target + } + return 0 +} + func init() { proto.RegisterEnum("milvus.proto.milvus.ShowType", ShowType_name, ShowType_value) proto.RegisterEnum("milvus.proto.milvus.PlaceholderType", PlaceholderType_name, PlaceholderType_value) @@ -4527,215 +4872,236 @@ func init() { proto.RegisterType((*GetMetricsRequest)(nil), "milvus.proto.milvus.GetMetricsRequest") proto.RegisterType((*GetMetricsResponse)(nil), "milvus.proto.milvus.GetMetricsResponse") proto.RegisterType((*LoadBalanceRequest)(nil), "milvus.proto.milvus.LoadBalanceRequest") + proto.RegisterType((*ManualCompactionRequest)(nil), "milvus.proto.milvus.ManualCompactionRequest") + proto.RegisterType((*ManualCompactionResponse)(nil), "milvus.proto.milvus.ManualCompactionResponse") + proto.RegisterType((*GetCompactionStateRequest)(nil), "milvus.proto.milvus.GetCompactionStateRequest") + proto.RegisterType((*GetCompactionStateResponse)(nil), "milvus.proto.milvus.GetCompactionStateResponse") + proto.RegisterType((*GetCompactionPlansRequest)(nil), "milvus.proto.milvus.GetCompactionPlansRequest") + proto.RegisterType((*GetCompactionPlansResponse)(nil), "milvus.proto.milvus.GetCompactionPlansResponse") + proto.RegisterType((*CompactionMergeInfo)(nil), "milvus.proto.milvus.CompactionMergeInfo") } func init() { proto.RegisterFile("milvus.proto", fileDescriptor_02345ba45cc0e303) } var fileDescriptor_02345ba45cc0e303 = []byte{ - // 3241 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5b, 0xcf, 0x6f, 0x1b, 0xc7, - 0xf5, 0xd7, 0x92, 0xe2, 0xaf, 0x47, 0x52, 0xa2, 0x47, 0xb2, 0xcc, 0xd0, 0x76, 0x2c, 0x6f, 0xbe, - 0x8e, 0x65, 0x3b, 0xb1, 0x63, 0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 0x65, 0xfe, 0x99, 0x07, 0x63, 0x0a, - 0x94, 0xfb, 0x7d, 0xc6, 0xc7, 0x01, 0x04, 0x68, 0x65, 0x73, 0x41, 0x36, 0x0b, 0x8a, 0x38, 0xc2, - 0x3e, 0x36, 0xa0, 0x21, 0xa6, 0x20, 0xe7, 0xd3, 0xe5, 0xdd, 0x0e, 0xc8, 0x18, 0x03, 0x32, 0x23, - 0xb6, 0xd0, 0xff, 0x41, 0x51, 0x19, 0x36, 0x3f, 0xae, 0x61, 0x95, 0xc0, 0x0e, 0xd3, 0x30, 0x7f, - 0x66, 0xc0, 0xe1, 0x01, 0x93, 0x4f, 0x82, 0xe8, 0x37, 0x00, 0xc9, 0x19, 0x3a, 0xfd, 0x69, 0x47, - 0xc7, 0xed, 0x29, 0xed, 0xd9, 0x32, 0x68, 0x24, 0xeb, 0x90, 0x3b, 0x40, 0xa1, 0xe6, 0xdf, 0x0c, - 0x38, 0x76, 0x8d, 0x30, 0xc1, 0x7a, 0x85, 0xfb, 0x8e, 0xb5, 0x30, 0xd8, 0x0c, 0x09, 0xa5, 0x07, - 0x17, 0x1f, 0x3f, 0x94, 0xf1, 0x99, 0x6e, 0x4a, 0x93, 0xd8, 0xff, 0x24, 0xd4, 0xc4, 0x18, 0xc4, - 0xb1, 0xc3, 0xe0, 0x3e, 0x55, 0x38, 0xaa, 0x2a, 0x9a, 0x15, 0xdc, 0x17, 0x80, 0x60, 0x01, 0xc3, - 0x9e, 0x64, 0x50, 0x07, 0x83, 0xa0, 0xf0, 0x66, 0xb1, 0x07, 0x23, 0xc5, 0x78, 0xe7, 0xe4, 0xe0, - 0xda, 0xf8, 0x17, 0x06, 0x1c, 0x1e, 0x98, 0xca, 0x24, 0xb6, 0x7d, 0x4e, 0x46, 0x8f, 0x72, 0x32, - 0x33, 0xcb, 0x27, 0xb4, 0x32, 0x89, 0xc1, 0x24, 0x37, 0x3a, 0x01, 0xd5, 0x3b, 0xd8, 0xf5, 0xec, - 0x90, 0x60, 0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 0xa8, 0x27, - 0x96, 0xa6, 0xe4, 0xc8, 0x1f, 0xe8, 0x09, 0xa8, 0x07, 0x3d, 0xd6, 0xed, 0x31, 0x5b, 0xfa, 0x9d, - 0x66, 0x59, 0xa8, 0x57, 0x93, 0x44, 0xe1, 0x96, 0x28, 0x7a, 0x15, 0xea, 0x54, 0x98, 0x32, 0x8a, - 0xbc, 0x2b, 0xe3, 0x06, 0x88, 0x35, 0x29, 0x27, 0x43, 0x6f, 0x74, 0x06, 0x1a, 0x2c, 0xc4, 0xf7, - 0x88, 0x97, 0x78, 0xd6, 0x02, 0xb1, 0xdb, 0x66, 0x25, 0xbd, 0xff, 0xa4, 0x75, 0x01, 0xe6, 0x36, - 0x7b, 0x38, 0xc4, 0x3e, 0x23, 0x24, 0xc1, 0x5d, 0x15, 0xdc, 0x28, 0x6e, 0x8a, 0x05, 0xcc, 0xd7, - 0x60, 0xfa, 0xba, 0xcb, 0x84, 0x21, 0xb9, 0xcf, 0x32, 0xc4, 0x3d, 0x47, 0x78, 0xa6, 0xc7, 0xa0, - 0x1c, 0x06, 0xf7, 0xa5, 0x0f, 0xce, 0x09, 0x08, 0x96, 0xc2, 0xe0, 0xbe, 0x70, 0xb0, 0xe2, 0xe1, - 0x3e, 0x08, 0x15, 0x36, 0x73, 0x96, 0xfa, 0x32, 0xbf, 0x65, 0xf4, 0xc1, 0xc3, 0xdd, 0x27, 0x7d, - 0x38, 0xff, 0xf9, 0x32, 0x94, 0x42, 0x29, 0x3f, 0xf2, 0x19, 0x33, 0x39, 0x92, 0x38, 0x03, 0x22, - 0x29, 0xf3, 0x9b, 0x06, 0xd4, 0x5e, 0xf5, 0x7a, 0xf4, 0x51, 0x60, 0x58, 0xf7, 0x68, 0x90, 0xd7, - 0x3f, 0x58, 0x7c, 0x2f, 0x07, 0x75, 0xa5, 0xc6, 0x24, 0xb1, 0x4d, 0xa6, 0x2a, 0xeb, 0x50, 0xe5, - 0x43, 0xda, 0x94, 0x6c, 0x46, 0x19, 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b, - 0x71, 0xc6, 0xfa, 0x69, 0x2e, 0xd6, 0xad, 0x33, 0x63, 0x70, 0xc6, 0xc3, 0xd8, 0x00, 0xfd, 0xdb, - 0x69, 0xc6, 0xe9, 0x30, 0x74, 0x41, 0x6e, 0x9d, 0xde, 0x91, 0x2f, 0x79, 0x50, 0x26, 0xee, 0x9b, - 0x19, 0x27, 0xc5, 0xf0, 0x8d, 0x74, 0x07, 0xff, 0xb3, 0xdc, 0x83, 0xda, 0x5a, 0x18, 0x3c, 0xd8, - 0x8e, 0x2e, 0x6b, 0xff, 0x1d, 0x73, 0x5d, 0x79, 0xee, 0x6b, 0x97, 0x36, 0x5d, 0xb6, 0xd5, 0xdb, - 0xe0, 0x0a, 0x5d, 0x90, 0xbc, 0x4f, 0xbb, 0x81, 0xfa, 0x75, 0xc1, 0xf5, 0x19, 0x09, 0x7d, 0xec, - 0x5d, 0x10, 0x7d, 0x29, 0x6a, 0x77, 0x63, 0xa3, 0x28, 0xbe, 0x2f, 0xfd, 0x27, 0x00, 0x00, 0xff, - 0xff, 0x54, 0x59, 0x31, 0x8a, 0x2f, 0x3f, 0x00, 0x00, + // 3471 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x1b, 0x4d, 0x6f, 0x1b, 0xc7, + 0x55, 0x4b, 0x4a, 0x22, 0xf9, 0x44, 0x4a, 0xf4, 0x48, 0x96, 0x69, 0xc6, 0xb2, 0xe5, 0x4d, 0x1c, + 0xcb, 0x76, 0x6c, 0xc7, 0x72, 0xd2, 0xa4, 0x4e, 0xdb, 0xc4, 0xb6, 0x1a, 0x5b, 0x88, 0xed, 0x2a, + 0xab, 0x24, 0x40, 0x1a, 0x18, 0xc4, 0x88, 0x3b, 0xa6, 0x16, 0x5e, 0xee, 0x32, 0x3b, 0x43, 0xdb, + 0xca, 0xa9, 0x40, 0xfa, 0x81, 0x22, 0x69, 0x82, 0xa2, 0x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0x26, 0xd2, 0x8b, 0xf1, 0xee, 0x38, 0xd4, 0x75, 0x93, 0x1a, + 0x45, 0x7d, 0x5f, 0x8e, 0x76, 0x54, 0x4e, 0x10, 0x9d, 0x48, 0x12, 0x29, 0x1f, 0xde, 0x1b, 0x6d, + 0x5d, 0x00, 0xa2, 0x8d, 0x97, 0x9e, 0x55, 0x5e, 0x33, 0xab, 0x65, 0x38, 0x78, 0xcf, 0x09, 0x58, + 0x17, 0xbb, 0x8d, 0xe6, 0x26, 0xf6, 0x3c, 0xe2, 0x0a, 0x3d, 0x71, 0x57, 0x93, 0x5f, 0x2a, 0x59, + 0xb3, 0xaa, 0xf3, 0xaa, 0xec, 0xe3, 0xca, 0xa2, 0xe8, 0x19, 0x98, 0xef, 0x6c, 0x6e, 0x51, 0xa7, + 0xd9, 0x47, 0x34, 0x21, 0x88, 0xe6, 0xc2, 0xde, 0x04, 0xd5, 0x19, 0x38, 0xd0, 0x14, 0xde, 0xca, + 0x6e, 0x70, 0xad, 0x49, 0x35, 0x4e, 0x0a, 0x35, 0x56, 0x55, 0xc7, 0x6b, 0x21, 0x9c, 0x8b, 0x15, + 0x22, 0x77, 0x59, 0x33, 0x46, 0x50, 0x10, 0x04, 0xb3, 0xaa, 0xf3, 0x75, 0xd6, 0xec, 0xd1, 0x24, + 0xfd, 0x4c, 0x31, 0xe5, 0x67, 0x50, 0x0d, 0x0a, 0xc2, 0x6f, 0x12, 0x5a, 0x2b, 0x09, 0x31, 0xc3, + 0x26, 0x5a, 0x85, 0x19, 0xca, 0x70, 0xc0, 0x1a, 0x1d, 0x9f, 0x3a, 0x5c, 0x2f, 0xb4, 0x06, 0x8b, + 0xf9, 0xa5, 0xa9, 0xe5, 0x45, 0xed, 0x22, 0xbd, 0x42, 0xb6, 0x56, 0x30, 0xc3, 0x6b, 0xd8, 0x09, + 0xac, 0x69, 0x41, 0xb8, 0x16, 0xd2, 0x09, 0x67, 0x76, 0xc3, 0xc7, 0xf6, 0xde, 0x70, 0x66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 0x22, 0x4c, 0x2a, 0xc5, 0xe6, 0x87, 0x55, 0xac, 0x22, 0xd8, 0x66, 0x1a, 0xe6, 0x2f, 0x0c, + 0x38, 0x98, 0x52, 0xf9, 0x28, 0x16, 0xfd, 0x1a, 0x20, 0x39, 0x43, 0xbb, 0x37, 0xed, 0xf0, 0xb8, + 0x3d, 0xa1, 0x3d, 0x5b, 0xd2, 0x4a, 0xb2, 0x0e, 0x38, 0x29, 0x08, 0x35, 0xff, 0x6e, 0xc0, 0x91, + 0x6b, 0x84, 0x09, 0xd4, 0x2b, 0xdc, 0x77, 0xac, 0x05, 0x7e, 0x2b, 0x20, 0x94, 0xee, 0x5f, 0xfb, + 0xf8, 0x91, 0x8c, 0xcf, 0x74, 0x53, 0x1a, 0x45, 0xff, 0xc7, 0xa1, 0x2c, 0xc6, 0x20, 0x76, 0x23, + 0xf0, 0xef, 0x53, 0x65, 0x47, 0x53, 0x0a, 0x66, 0xf9, 0xf7, 0x85, 0x41, 0x30, 0x9f, 0x61, 0x57, + 0x22, 0xa8, 0x83, 0x41, 0x40, 0x78, 0xb7, 0xd8, 0x83, 0xa1, 0x60, 0x9c, 0x39, 0xd9, 0xbf, 0x3a, + 0xfe, 0x95, 0x01, 0x07, 0x53, 0x53, 0x19, 0x45, 0xb7, 0xcf, 0xca, 0xe8, 0x51, 0x4e, 0x66, 0x7a, + 0xf9, 0x98, 0x96, 0x26, 0x36, 0x98, 0xc4, 0x46, 0xc7, 0x60, 0xea, 0x0e, 0x76, 0xdc, 0x46, 0x40, + 0x30, 0xf5, 0x3d, 0x35, 0x51, 0xe0, 0x20, 0x4b, 0x40, 0xcc, 0x4f, 0x0d, 0xf9, 0x90, 0xb4, 0xcf, + 0x3d, 0xde, 0x2f, 0x73, 0x50, 0x59, 0xf5, 0x28, 0x09, 0xd8, 0xde, 0xbf, 0x61, 0xa0, 0x17, 0x61, + 0x4a, 0x4c, 0x8c, 0x36, 0x6c, 0xcc, 0xb0, 0x3a, 0xae, 0x8e, 0x6a, 0x33, 0xd9, 0x2f, 0x73, 0xbc, + 0x15, 0xcc, 0xb0, 0x25, 0xb5, 0x43, 0xf9, 0x37, 0x7a, 0x0c, 0x4a, 0x9b, 0x98, 0x6e, 0x36, 0xee, + 0x92, 0x2d, 0x19, 0xf6, 0x55, 0xac, 0x22, 0x07, 0xbc, 0x42, 0xb6, 0x28, 0x3a, 0x0c, 0x45, 0xaf, + 0xdb, 0x96, 0x1b, 0xac, 0xb0, 0x68, 0x2c, 0x55, 0xac, 0x82, 0xd7, 0x6d, 0x8b, 0xed, 0xf5, 0xd7, + 0x1c, 0x4c, 0xdf, 0xec, 0xf2, 0xfb, 0x8c, 0xc8, 0xc3, 0x77, 0x5d, 0xf6, 0x70, 0xc6, 0x78, 0x1a, + 0xf2, 0x32, 0x66, 0xe0, 0x14, 0x35, 0xad, 0xe0, 0xab, 0x2b, 0xd4, 0xe2, 0x48, 0x22, 0x07, 0xdd, + 0x6d, 0x36, 0x55, 0x90, 0x95, 0x17, 0xc2, 0x96, 0x38, 0x44, 0x58, 0x1c, 0x9f, 0x0a, 0x09, 0x82, + 0x28, 0x04, 0x13, 0x53, 0x21, 0x41, 0x20, 0x3b, 0x4d, 0x28, 0xe3, 0xe6, 0x5d, 0xcf, 0xbf, 0xef, + 0x12, 0xbb, 0x45, 0x6c, 0xb1, 0xec, 0x45, 0x2b, 0x01, 0x93, 0x86, 0xc1, 0x17, 0xbe, 0xd1, 0xf4, + 0x98, 0xb8, 0x48, 0xe4, 0xb9, 0x61, 0x70, 0xc8, 0x55, 0x8f, 0xf1, 0x6e, 0x9b, 0xb8, 0x84, 0x11, + 0xd1, 0x5d, 0x90, 0xdd, 0x12, 0xa2, 0xba, 0xbb, 0x9d, 0x88, 0xba, 0x28, 0xbb, 0x25, 0x84, 0x77, + 0x1f, 0x81, 0x52, 0x2f, 0xd1, 0x5e, 0xea, 0x65, 0x03, 0x05, 0xc0, 0xfc, 0xb7, 0x01, 0x95, 0x15, + 0xc1, 0x6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de, 0x1d, 0x3f, 0x4c, 0x92, 0x9d, 0xd6, + 0x07, 0xd4, 0xda, 0x71, 0x25, 0xa1, 0xf9, 0xfb, 0x1c, 0x54, 0x85, 0xaf, 0xde, 0x85, 0xe5, 0x6f, + 0x93, 0x76, 0x83, 0x3a, 0xef, 0x90, 0x70, 0xf9, 0xdb, 0xa4, 0xbd, 0xee, 0xbc, 0x43, 0x12, 0x96, + 0x31, 0x91, 0xb4, 0x8c, 0x64, 0x1a, 0x61, 0x72, 0x40, 0x12, 0xb4, 0x90, 0x4c, 0x82, 0xce, 0xc3, + 0xa4, 0xe7, 0xdb, 0x64, 0x75, 0x45, 0x5d, 0x12, 0x55, 0xab, 0x67, 0x6a, 0xa5, 0x1d, 0x9a, 0xda, + 0x07, 0x06, 0xd4, 0xaf, 0x11, 0x96, 0xd6, 0xdd, 0xee, 0x59, 0xd9, 0x87, 0x06, 0x3c, 0xa6, 0x15, + 0x68, 0x14, 0x03, 0x7b, 0x21, 0x69, 0x60, 0xfa, 0x1b, 0x5b, 0xdf, 0x90, 0xca, 0xb6, 0x2e, 0x40, + 0x79, 0xa5, 0xdb, 0x6e, 0x47, 0x91, 0xd4, 0x71, 0x28, 0x07, 0xf2, 0x53, 0x5e, 0x68, 0xe4, 0xf9, + 0x3b, 0xa5, 0x60, 0xfc, 0xda, 0x62, 0x9e, 0x81, 0x8a, 0x22, 0x51, 0x52, 0xd7, 0xa1, 0x18, 0xa8, + 0x6f, 0x85, 0x1f, 0xb5, 0xcd, 0x83, 0x30, 0x6b, 0x91, 0x16, 0x37, 0xed, 0xe0, 0x86, 0xe3, 0xdd, + 0x55, 0xc3, 0x98, 0xef, 0x1a, 0x30, 0x97, 0x84, 0x2b, 0x5e, 0x5f, 0x80, 0x02, 0xb6, 0xed, 0x80, + 0x50, 0x3a, 0x70, 0x59, 0x2e, 0x4b, 0x1c, 0x2b, 0x44, 0x8e, 0x69, 0x2e, 0x37, 0xb4, 0xe6, 0xcc, + 0x06, 0x1c, 0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, 0xef, 0x27, 0xb4, 0x34, 0xe9, 0x11, 0x55, 0x12, + 0x7c, 0x09, 0x66, 0xc8, 0x03, 0xd2, 0xec, 0x32, 0xc7, 0x6b, 0xad, 0xb9, 0xd8, 0xbb, 0xe5, 0xab, + 0x03, 0x25, 0x0d, 0x46, 0x4f, 0x40, 0x85, 0x6b, 0xdf, 0xef, 0x32, 0x85, 0x27, 0x4f, 0x96, 0x24, + 0x90, 0xf3, 0xe3, 0xf3, 0x75, 0x09, 0x23, 0xb6, 0xc2, 0x93, 0xc7, 0x4c, 0x1a, 0xdc, 0xa7, 0x4a, + 0x0e, 0xa6, 0x3b, 0x51, 0xe5, 0xbf, 0x8c, 0x94, 0x2a, 0x15, 0x87, 0xdd, 0x52, 0xe5, 0x75, 0x80, + 0x36, 0x09, 0x5a, 0x64, 0x55, 0x38, 0x75, 0x79, 0x21, 0x5f, 0xd2, 0x3a, 0xf5, 0x1e, 0x83, 0x9b, + 0x21, 0x81, 0x15, 0xa3, 0x35, 0xaf, 0xc1, 0xac, 0x06, 0x85, 0xfb, 0x2b, 0xea, 0x77, 0x83, 0x26, + 0x09, 0x53, 0x35, 0x61, 0x93, 0x9f, 0x6f, 0x0c, 0x07, 0x2d, 0xc2, 0x94, 0xd1, 0xaa, 0xd6, 0xe9, + 0xe3, 0x50, 0x0c, 0x4b, 0x44, 0x50, 0x01, 0xf2, 0x97, 0x5d, 0xb7, 0x3a, 0x86, 0xca, 0x50, 0x5c, + 0x55, 0x75, 0x10, 0x55, 0xe3, 0xf4, 0x57, 0x60, 0x26, 0x95, 0x83, 0x44, 0x45, 0x18, 0xbf, 0xe5, + 0x7b, 0xa4, 0x3a, 0x86, 0xaa, 0x50, 0xbe, 0xe2, 0x78, 0x38, 0xd8, 0x92, 0x31, 0x7f, 0xd5, 0x46, + 0x33, 0x30, 0x25, 0x62, 0x5f, 0x05, 0x20, 0xcb, 0x3f, 0x59, 0x80, 0xca, 0x4d, 0x31, 0xad, 0x75, + 0x12, 0xd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 0x99, 0x19, + 0x55, 0x57, 0xb1, 0x42, 0x8d, 0xfa, 0xe3, 0x5a, 0x9c, 0x64, 0x99, 0x82, 0x64, 0x2a, 0xdf, 0xda, + 0x33, 0x98, 0x26, 0x1e, 0xe2, 0x87, 0x65, 0x6a, 0xc1, 0xa4, 0x7c, 0x64, 0xcb, 0x60, 0x9a, 0x78, + 0x28, 0xae, 0x0f, 0xc6, 0x91, 0x2f, 0x73, 0x63, 0x68, 0x0d, 0x26, 0xc4, 0x63, 0x14, 0x3a, 0x3e, + 0xe8, 0xa1, 0x6a, 0x10, 0xc7, 0xc4, 0x5b, 0x96, 0x39, 0x86, 0xbe, 0x06, 0x13, 0x22, 0x45, 0x92, + 0xc1, 0x31, 0xfe, 0xda, 0x54, 0x1f, 0x88, 0x12, 0x8a, 0x68, 0x43, 0x39, 0x9e, 0x8b, 0xce, 0x38, + 0xb2, 0x34, 0xd9, 0xfa, 0xfa, 0x30, 0x98, 0xe1, 0x28, 0xdf, 0x35, 0xa0, 0x96, 0x95, 0xb6, 0x44, + 0x99, 0x71, 0xc9, 0xa0, 0xdc, 0x6b, 0xfd, 0xd9, 0x1d, 0x52, 0x45, 0x2a, 0x7c, 0x07, 0x66, 0x35, + 0xb9, 0x2d, 0x74, 0x3e, 0x8b, 0x5f, 0x46, 0x5a, 0xae, 0xfe, 0xf4, 0xf0, 0x04, 0xd1, 0xd8, 0x6b, + 0x30, 0x21, 0x72, 0x52, 0x19, 0xcb, 0x17, 0x4f, 0x71, 0x65, 0x18, 0x44, 0x22, 0xa5, 0x65, 0x8e, + 0x21, 0x02, 0xe5, 0x78, 0x82, 0x2a, 0x63, 0xfd, 0x34, 0xb9, 0xad, 0xfa, 0xa9, 0x21, 0x30, 0xa3, + 0x61, 0x1a, 0x00, 0xbd, 0x04, 0x51, 0xc6, 0xe9, 0xd0, 0x97, 0xa3, 0xaa, 0x9f, 0xdc, 0x16, 0x2f, + 0x7e, 0x50, 0xc6, 0x52, 0x3e, 0x19, 0x27, 0x45, 0x7f, 0x52, 0x68, 0x88, 0xe8, 0xbd, 0x3f, 0xfd, + 0x90, 0x11, 0xbd, 0x67, 0x66, 0x3a, 0xea, 0xe7, 0x87, 0xc6, 0x8f, 0xe6, 0xf3, 0x36, 0x54, 0xd3, + 0xe9, 0x9a, 0x8c, 0x5b, 0x61, 0x46, 0xd2, 0xa8, 0x7e, 0x76, 0x48, 0xec, 0x70, 0xc8, 0xe5, 0x2e, + 0x94, 0xd7, 0x02, 0xff, 0xc1, 0x56, 0x78, 0x31, 0xfd, 0xff, 0x98, 0xc6, 0x95, 0x67, 0xbf, 0x7e, + 0xb1, 0xe5, 0xb0, 0xcd, 0xee, 0x06, 0x57, 0xfe, 0x79, 0x89, 0x7b, 0xd6, 0xf1, 0xd5, 0xd7, 0x79, + 0xc7, 0x63, 0x24, 0xf0, 0xb0, 0x7b, 0x5e, 0xf0, 0x52, 0xd0, 0xce, 0xc6, 0xc6, 0xa4, 0x68, 0x5f, + 0xfc, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x68, 0x6e, 0x3b, 0x29, 0x9e, 0x43, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -4787,6 +5153,8 @@ type MilvusServiceClient interface { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy GetMetrics(ctx context.Context, in *GetMetricsRequest, opts ...grpc.CallOption) (*GetMetricsResponse, error) LoadBalance(ctx context.Context, in *LoadBalanceRequest, opts ...grpc.CallOption) (*commonpb.Status, error) + GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) + ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) } type milvusServiceClient struct { @@ -5112,6 +5480,24 @@ func (c *milvusServiceClient) LoadBalance(ctx context.Context, in *LoadBalanceRe return out, nil } +func (c *milvusServiceClient) GetCompactionState(ctx context.Context, in *GetCompactionStateRequest, opts ...grpc.CallOption) (*GetCompactionStateResponse, error) { + out := new(GetCompactionStateResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/GetCompactionState", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *milvusServiceClient) ManualCompaction(ctx context.Context, in *ManualCompactionRequest, opts ...grpc.CallOption) (*ManualCompactionResponse, error) { + out := new(ManualCompactionResponse) + err := c.cc.Invoke(ctx, "/milvus.proto.milvus.MilvusService/ManualCompaction", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // MilvusServiceServer is the server API for MilvusService service. type MilvusServiceServer interface { CreateCollection(context.Context, *CreateCollectionRequest) (*commonpb.Status, error) @@ -5151,6 +5537,8 @@ type MilvusServiceServer interface { // https://wiki.lfaidata.foundation/display/MIL/MEP+8+--+Add+metrics+for+proxy GetMetrics(context.Context, *GetMetricsRequest) (*GetMetricsResponse, error) LoadBalance(context.Context, *LoadBalanceRequest) (*commonpb.Status, error) + GetCompactionState(context.Context, *GetCompactionStateRequest) (*GetCompactionStateResponse, error) + ManualCompaction(context.Context, *ManualCompactionRequest) (*ManualCompactionResponse, error) } // UnimplementedMilvusServiceServer can be embedded to have forward compatible implementations. @@ -5262,6 +5650,12 @@ func (*UnimplementedMilvusServiceServer) GetMetrics(ctx context.Context, req *Ge func (*UnimplementedMilvusServiceServer) LoadBalance(ctx context.Context, req *LoadBalanceRequest) (*commonpb.Status, error) { return nil, status.Errorf(codes.Unimplemented, "method LoadBalance not implemented") } +func (*UnimplementedMilvusServiceServer) GetCompactionState(ctx context.Context, req *GetCompactionStateRequest) (*GetCompactionStateResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetCompactionState not implemented") +} +func (*UnimplementedMilvusServiceServer) ManualCompaction(ctx context.Context, req *ManualCompactionRequest) (*ManualCompactionResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ManualCompaction not implemented") +} func RegisterMilvusServiceServer(s *grpc.Server, srv MilvusServiceServer) { s.RegisterService(&_MilvusService_serviceDesc, srv) @@ -5897,6 +6291,42 @@ func _MilvusService_LoadBalance_Handler(srv interface{}, ctx context.Context, de return interceptor(ctx, in, info, handler) } +func _MilvusService_GetCompactionState_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetCompactionStateRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusServiceServer).GetCompactionState(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.milvus.MilvusService/GetCompactionState", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusServiceServer).GetCompactionState(ctx, req.(*GetCompactionStateRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _MilvusService_ManualCompaction_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ManualCompactionRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(MilvusServiceServer).ManualCompaction(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/milvus.proto.milvus.MilvusService/ManualCompaction", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(MilvusServiceServer).ManualCompaction(ctx, req.(*ManualCompactionRequest)) + } + return interceptor(ctx, in, info, handler) +} + var _MilvusService_serviceDesc = grpc.ServiceDesc{ ServiceName: "milvus.proto.milvus.MilvusService", HandlerType: (*MilvusServiceServer)(nil), @@ -6041,6 +6471,14 @@ var _MilvusService_serviceDesc = grpc.ServiceDesc{ MethodName: "LoadBalance", Handler: _MilvusService_LoadBalance_Handler, }, + { + MethodName: "GetCompactionState", + Handler: _MilvusService_GetCompactionState_Handler, + }, + { + MethodName: "ManualCompaction", + Handler: _MilvusService_ManualCompaction_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "milvus.proto", diff --git a/internal/proxy/data_coord_mock_test.go b/internal/proxy/data_coord_mock_test.go index ae5fbd86bd..36741ad177 100644 --- a/internal/proxy/data_coord_mock_test.go +++ b/internal/proxy/data_coord_mock_test.go @@ -168,12 +168,16 @@ func (coord *DataCoordMock) CompleteCompaction(ctx context.Context, req *datapb. return &commonpb.Status{}, nil } -func (coord *DataCoordMock) ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) { - return &datapb.ManualCompactionResponse{}, nil +func (coord *DataCoordMock) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { + return &milvuspb.ManualCompactionResponse{}, nil } -func (coord *DataCoordMock) GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) { - return &datapb.GetCompactionStateResponse{}, nil +func (coord *DataCoordMock) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { + return &milvuspb.GetCompactionStateResponse{}, nil +} + +func (coord *DataCoordMock) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + return &milvuspb.GetCompactionPlansResponse{}, nil } func NewDataCoordMock() *DataCoordMock { diff --git a/internal/proxy/impl.go b/internal/proxy/impl.go index 651acfc74b..bd31007a75 100644 --- a/internal/proxy/impl.go +++ b/internal/proxy/impl.go @@ -2462,6 +2462,45 @@ func (node *Proxy) LoadBalance(ctx context.Context, req *milvuspb.LoadBalanceReq return status, nil } +func (node *Proxy) GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) { + log.Info("received GetCompactionState request", zap.Int64("compactionID", req.GetCompactionID())) + resp := &milvuspb.GetCompactionStateResponse{} + if !node.checkHealthy() { + resp.Status = unhealthyStatus() + return resp, nil + } + + resp, err := node.dataCoord.GetCompactionState(ctx, req) + log.Info("received GetCompactionState response", zap.Int64("compactionID", req.GetCompactionID()), zap.Any("resp", resp), zap.Error(err)) + return resp, err +} + +func (node *Proxy) ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) { + log.Info("received ManualCompaction request", zap.Int64("collectionID", req.GetCollectionID())) + resp := &milvuspb.ManualCompactionResponse{} + if !node.checkHealthy() { + resp.Status = unhealthyStatus() + return resp, nil + } + + resp, err := node.dataCoord.ManualCompaction(ctx, req) + log.Info("received ManualCompaction response", zap.Int64("collectionID", req.GetCollectionID()), zap.Any("resp", resp), zap.Error(err)) + return resp, err +} + +func (node *Proxy) GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) { + log.Info("received GetCompactionStateWithPlans request", zap.Int64("compactionID", req.GetCompactionID())) + resp := &milvuspb.GetCompactionPlansResponse{} + if !node.checkHealthy() { + resp.Status = unhealthyStatus() + return resp, nil + } + + resp, err := node.dataCoord.GetCompactionStateWithPlans(ctx, req) + log.Info("received GetCompactionStateWithPlans response", zap.Int64("compactionID", req.GetCompactionID()), zap.Any("resp", resp), zap.Error(err)) + return resp, err +} + // checkHealthy checks proxy state is Healthy func (node *Proxy) checkHealthy() bool { code := node.stateCode.Load().(internalpb.StateCode) diff --git a/internal/proxy/proxy_test.go b/internal/proxy/proxy_test.go index 1d26a5107d..62693a6f74 100644 --- a/internal/proxy/proxy_test.go +++ b/internal/proxy/proxy_test.go @@ -2406,3 +2406,61 @@ func TestProxy(t *testing.T) { wg.Wait() cancel() } + +func Test_GetCompactionState(t *testing.T) { + t.Run("get compaction state", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Healthy) + resp, err := proxy.GetCompactionState(context.TODO(), nil) + assert.EqualValues(t, &milvuspb.GetCompactionStateResponse{}, resp) + assert.Nil(t, err) + }) + + t.Run("get compaction state with unhealthy proxy", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Abnormal) + resp, err := proxy.GetCompactionState(context.TODO(), nil) + assert.EqualValues(t, unhealthyStatus(), resp.Status) + assert.Nil(t, err) + }) +} + +func Test_ManualCompaction(t *testing.T) { + t.Run("test manual compaction", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Healthy) + resp, err := proxy.ManualCompaction(context.TODO(), nil) + assert.EqualValues(t, &milvuspb.ManualCompactionResponse{}, resp) + assert.Nil(t, err) + }) + t.Run("test manual compaction with unhealthy", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Abnormal) + resp, err := proxy.ManualCompaction(context.TODO(), nil) + assert.EqualValues(t, unhealthyStatus(), resp.Status) + assert.Nil(t, err) + }) +} + +func Test_GetCompactionStateWithPlans(t *testing.T) { + t.Run("test get compaction state with plans", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Healthy) + resp, err := proxy.GetCompactionStateWithPlans(context.TODO(), nil) + assert.EqualValues(t, &milvuspb.GetCompactionPlansResponse{}, resp) + assert.Nil(t, err) + }) + t.Run("test get compaction state with plans with unhealthy proxy", func(t *testing.T) { + datacoord := &DataCoordMock{} + proxy := &Proxy{dataCoord: datacoord} + proxy.stateCode.Store(internalpb.StateCode_Abnormal) + resp, err := proxy.GetCompactionStateWithPlans(context.TODO(), nil) + assert.EqualValues(t, unhealthyStatus(), resp.Status) + assert.Nil(t, err) + }) +} diff --git a/internal/types/types.go b/internal/types/types.go index 055ea70a46..b7042a4d82 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -1,5 +1,4 @@ -// Copyright (C) 2019-2020 Zilliz. All rights reserved. -// +// 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 // @@ -225,9 +224,10 @@ type DataCoord interface { // CompleteCompaction completes a compaction with the result CompleteCompaction(ctx context.Context, req *datapb.CompactionResult) (*commonpb.Status, error) // ManualCompaction triggers a compaction for a collection - ManualCompaction(ctx context.Context, req *datapb.ManualCompactionRequest) (*datapb.ManualCompactionResponse, error) + ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) // GetCompactionState gets the state of a compaction - GetCompactionState(ctx context.Context, req *datapb.GetCompactionStateRequest) (*datapb.GetCompactionStateResponse, error) + GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) + GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) } // IndexNode is the interface `indexnode` package implements @@ -953,6 +953,9 @@ type ProxyComponent interface { // otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause. // error is always nil AlterAlias(ctx context.Context, request *milvuspb.AlterAliasRequest) (*commonpb.Status, error) + GetCompactionState(ctx context.Context, req *milvuspb.GetCompactionStateRequest) (*milvuspb.GetCompactionStateResponse, error) + ManualCompaction(ctx context.Context, req *milvuspb.ManualCompactionRequest) (*milvuspb.ManualCompactionResponse, error) + GetCompactionStateWithPlans(ctx context.Context, req *milvuspb.GetCompactionPlansRequest) (*milvuspb.GetCompactionPlansResponse, error) } // QueryNode is the interface `querynode` package implements