Unverified Commit e22ba03f authored by op-hunter's avatar op-hunter Committed by GitHub
Browse files

fix issue 1901 (#1920)



* fix issue 1901

Signed-off-by: default avatarcmli <chengming.li@zilliz.com>

* update change log

Signed-off-by: default avatarcmli <chengming.li@zilliz.com>

Co-authored-by: default avatarcmli <chengming.li@zilliz.com>
parent bfb277d1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ Please mark all change in change log and use the issue from GitHub
-   \#1832 Fix crash in tracing module
-   \#1873 Fix index file serialize to incorrect path
-   \#1881 Fix bad alloc when index files lost
-   \#1901 Search failed with flat index
-   \#1903 Fix invalid annoy result
-   \#1910 C++ SDK GetIDsInSegment could not work for large dataset

+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ FaissFlatPass::Run(const TaskPtr& task) {
    } else {
        auto best_device_id = count_ % search_gpus_.size();
        SERVER_LOG_DEBUG << LogOut("[%s][%d] FaissFlatPass: nq > gpu_search_threshold, specify gpu %d to search!",
                                   best_device_id, "search", 0);
                                   "search", 0, best_device_id);
        ++count_;
        res_ptr = ResMgrInst::GetInstance()->GetResource(ResourceType::GPU, search_gpus_[best_device_id]);
    }