Commit 525b6df0 authored by 蔡宇东's avatar 蔡宇东
Browse files

#579 update index build error message

parent dcbe1a0c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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);
    }