mirror of https://github.com/milvus-io/milvus.git
Merge branch 'branch-0.5.0' into 'branch-0.5.0'
MS-641 Segment fault(signal 11) in PickToLoad See merge request megasearch/milvus!697 Former-commit-id: 34e1f77cd94cf66d03462c96f068caf7e629d409pull/191/head
commit
54bc7b587f
|
@ -149,6 +149,11 @@ class TaskTable {
|
|||
}
|
||||
|
||||
public:
|
||||
TaskTableItemPtr& operator[](uint64_t index) {
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
return table_[index];
|
||||
}
|
||||
|
||||
std::deque<TaskTableItemPtr>::iterator
|
||||
begin() {
|
||||
return table_.begin();
|
||||
|
|
Loading…
Reference in New Issue