mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
MS-641 Segment fault(signal 11) in PickToLoad
Former-commit-id: 78149b38f89b1e0e6a9a35dac224c119f25467d2
This commit is contained in:
parent
4778a904df
commit
fcff83e083
@ -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
Block a user