Add new mem manager

Former-commit-id: 577ceb1dbbe4b2aa0565f3363a3ca4d495a4f1b6
This commit is contained in:
zhiru 2019-07-08 11:14:28 +08:00 committed by jinhai
parent 35cd901c3f
commit 1cf7999f96
4 changed files with 6 additions and 4 deletions

View File

@ -17,7 +17,6 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-152 - Delete assert in MySQLMetaImpl and change MySQLConnectionPool impl
## New Feature
- MS-137 - Integrate knowhere
- MS-180 - Add new mem manager
## Task

View File

@ -22,6 +22,12 @@ class MemManagerAbstract {
virtual size_t GetCurrentMem() = 0;
virtual size_t GetCurrentMutableMem() = 0;
virtual size_t GetCurrentImmutableMem() = 0;
virtual size_t GetCurrentMem() = 0;
}; // MemManagerAbstract
using MemManagerAbstractPtr = std::shared_ptr<MemManagerAbstract>;

View File

@ -6,7 +6,6 @@
#include <mutex>
namespace zilliz {
namespace milvus {
namespace engine {

View File

@ -5,7 +5,6 @@
#include <thread>
namespace zilliz {
namespace milvus {
namespace engine {
@ -77,7 +76,6 @@ Status NewMemManager::Serialize(std::set<std::string> &table_ids) {
table_ids.insert(mem->GetTableId());
}
immu_mem_list_.clear();
return Status::OK();
}