提交 54bc7b58 编写于 作者: J jinhai

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: 34e1f77cd94cf66d03462c96f068caf7e629d409
......@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册