Commit 7c244ec8 authored by jinhai's avatar jinhai
Browse files

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: a6910e5984f3e4d72c953c6e903813a5ec046848
parents 3c96b9d1 91453160
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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();