diff --git a/cpp/src/db/DBImpl.cpp b/cpp/src/db/DBImpl.cpp index 2fc8e90400..0cd976ccc0 100644 --- a/cpp/src/db/DBImpl.cpp +++ b/cpp/src/db/DBImpl.cpp @@ -6,10 +6,11 @@ #include #include #include -#include #include #include #include +#include +#include #include "DBImpl.h" #include "DBMetaImpl.h" #include "Env.h" @@ -238,6 +239,10 @@ Status DBImpl::merge_files(const std::string& group_id, const meta::DateT& date, LOG(DEBUG) << "New merged file " << group_file.file_id << " of size=" << group_file.rows; + /* auto to_cache = zilliz::vecwise::cache::DataObj(std::make_shared(index)); */ + zilliz::vecwise::cache::CpuCacheMgr::GetInstance()->InsertItem( + group_file.location, std::make_shared(index)); + return status; }