mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
Add new mem manager
Former-commit-id: 577ceb1dbbe4b2aa0565f3363a3ca4d495a4f1b6
This commit is contained in:
parent
35cd901c3f
commit
1cf7999f96
@ -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
|
||||
|
@ -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>;
|
||||
|
@ -6,7 +6,6 @@
|
||||
|
||||
#include <mutex>
|
||||
|
||||
|
||||
namespace zilliz {
|
||||
namespace milvus {
|
||||
namespace engine {
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user