mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
fix: correct remote centroids path in clustering compaction (#39398)
issue: https://github.com/milvus-io/milvus/issues/39353 The path was modified unintentionally, change it back. Signed-off-by: chasingegg <chao.gao@zilliz.com>
This commit is contained in:
parent
9c4a81c80c
commit
1a680c29e2
@ -58,20 +58,20 @@ class KmeansClustering {
|
|||||||
return cluster_result_;
|
return cluster_result_;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ut
|
|
||||||
inline std::string
|
inline std::string
|
||||||
GetRemoteCentroidsObjectPrefix() const {
|
GetRemoteCentroidsObjectPrefix() const {
|
||||||
auto index_meta_ = file_manager_->GetIndexMeta();
|
auto index_meta_ = file_manager_->GetIndexMeta();
|
||||||
auto field_meta_ = file_manager_->GetFieldDataMeta();
|
auto field_meta_ = file_manager_->GetFieldDataMeta();
|
||||||
boost::filesystem::path prefix =
|
boost::filesystem::path prefix =
|
||||||
file_manager_->GetChunkManager()->GetRootPath();
|
file_manager_->GetChunkManager()->GetRootPath();
|
||||||
boost::filesystem::path path =
|
boost::filesystem::path path = std::string(ANALYZE_ROOT_PATH);
|
||||||
|
boost::filesystem::path path1 =
|
||||||
std::to_string(index_meta_.build_id) + "/" +
|
std::to_string(index_meta_.build_id) + "/" +
|
||||||
std::to_string(index_meta_.index_version) + "/" +
|
std::to_string(index_meta_.index_version) + "/" +
|
||||||
std::to_string(field_meta_.collection_id) + "/" +
|
std::to_string(field_meta_.collection_id) + "/" +
|
||||||
std::to_string(field_meta_.partition_id) + "/" +
|
std::to_string(field_meta_.partition_id) + "/" +
|
||||||
std::to_string(field_meta_.field_id);
|
std::to_string(field_meta_.field_id);
|
||||||
return (prefix / path).string();
|
return (prefix / path / path1).string();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline std::string
|
inline std::string
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user