提交 3963c93d 编写于 作者: Z zhiru

remove mem manager log


Former-commit-id: 886277f2db3f150db9475a9ffe490b0bc6d7fc63
上级 50ca5b4b
......@@ -14,6 +14,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-190 - use env variable to switch mem manager and fix cmake
- MS-224 - Return AlreadyExist status in MySQLMetaImpl::CreateTable if table already exists
- MS-232 - add MySQLMetaImpl::UpdateTableFilesToIndex and set maximum_memory to default if config value = 0
- MS-233 - remove mem manager log
## Improvement
- MS-156 - Add unittest for merge result functions
......
......@@ -125,9 +125,6 @@ Status MemManager::InsertVectors(const std::string &table_id_,
const float *vectors_,
IDNumbers &vector_ids_) {
LOG(DEBUG) << "MemManager::InsertVectors: mutable mem = " << GetCurrentMutableMem() <<
", immutable mem = " << GetCurrentImmutableMem() << ", total mem = " << GetCurrentMem();
std::unique_lock<std::mutex> lock(mutex_);
return InsertVectorsNoLock(table_id_, n_, vectors_, vector_ids_);
......
......@@ -29,9 +29,6 @@ Status NewMemManager::InsertVectors(const std::string &table_id_,
std::this_thread::sleep_for(std::chrono::milliseconds(1));
}
LOG(DEBUG) << "NewMemManager::InsertVectors: mutable mem = " << GetCurrentMutableMem() <<
", immutable mem = " << GetCurrentImmutableMem() << ", total mem = " << GetCurrentMem();
std::unique_lock<std::mutex> lock(mutex_);
return InsertVectorsNoLock(table_id_, n_, vectors_, vector_ids_);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册