mirror of https://github.com/milvus-io/milvus.git
MS-404 Release index after search task done avoid memory increment continues
Former-commit-id: c73ee0674a6481aeabd4b055f7e62223cae9e205pull/191/head
parent
bfa7f7c95f
commit
49276fbf8c
|
@ -40,6 +40,7 @@ Please mark all change in change log and use the ticket from JIRA.
|
|||
- MS-394 - Update scheduler unittest
|
||||
- MS-400 - Add timestamp record in task state change function
|
||||
- MS-402 - Add dump implementation for TaskTableItem
|
||||
- MS-404 - Release index after search task done avoid memory increment continues
|
||||
|
||||
## New Feature
|
||||
- MS-343 - Implement ResourceMgr
|
||||
|
|
|
@ -207,6 +207,9 @@ XSearchTask::Execute() {
|
|||
CollectDurationMetrics(index_type_, total_time);
|
||||
|
||||
rc.ElapseFromBegin("totally cost");
|
||||
|
||||
// release index in resource
|
||||
index_engine_ = nullptr;
|
||||
}
|
||||
|
||||
TaskPtr
|
||||
|
|
Loading…
Reference in New Issue