未验证 提交 0b020b82 编写于 作者: C cqy123456 提交者: GitHub

sq8h loading problem (#4060)

Signed-off-by: Ncqy <yaya645@126.com>
上级 8e0f0a34
......@@ -472,16 +472,6 @@ ExecutionEngineImpl::Load(bool to_cache) {
LOG_ENGINE_ERROR_ << msg;
return Status(DB_ERROR, msg);
} else {
bool gpu_enable = false;
#ifdef MILVUS_GPU_VERSION
server::Config& config = server::Config::GetInstance();
STATUS_CHECK(config.GetGpuResourceConfigEnable(gpu_enable));
#endif
if (!gpu_enable && index_->index_mode() == knowhere::IndexMode::MODE_GPU) {
std::string err_msg = "Index with type " + index_->index_type() + " must be used in GPU mode";
LOG_ENGINE_ERROR_ << err_msg;
return Status(DB_ERROR, err_msg);
}
segment::DeletedDocsPtr deleted_docs_ptr;
auto status = segment_reader_ptr->LoadDeletedDocs(deleted_docs_ptr);
if (!status.ok()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册