#579 update index build error message

pull/624/head
yudong.cai 2019-11-30 12:00:47 +08:00
parent dcbe1a0c3f
commit 525b6df0b6
1 changed files with 0 additions and 4 deletions

View File

@ -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);
}