mirror of https://github.com/milvus-io/milvus.git
#579 update index build error message
parent
dcbe1a0c3f
commit
525b6df0b6
|
@ -1033,11 +1033,7 @@ DBImpl::BuildTableIndexRecursively(const std::string& table_id, const TableIndex
|
|||
if (!failed_files.empty()) {
|
||||
std::string msg = "Failed to build index for " + std::to_string(failed_files.size()) +
|
||||
((failed_files.size() == 1) ? " file" : " files");
|
||||
#ifdef MILVUS_GPU_VERSION
|
||||
msg += ", file size is too large or gpu memory is not enough.";
|
||||
#else
|
||||
msg += ", please double check index parameters.";
|
||||
#endif
|
||||
return Status(DB_ERROR, msg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue