提交 bb43a771 编写于 作者: S starlord

update message


Former-commit-id: 0a5ad5dfd42d76032c5008d9d9e4e2213b161232
上级 dcc7fbd4
...@@ -475,8 +475,8 @@ Config::CheckDBConfigInsertBufferSize(const std::string& value) { ...@@ -475,8 +475,8 @@ Config::CheckDBConfigInsertBufferSize(const std::string& value) {
uint64_t total_mem = 0, free_mem = 0; uint64_t total_mem = 0, free_mem = 0;
CommonUtil::GetSystemMemInfo(total_mem, free_mem); CommonUtil::GetSystemMemInfo(total_mem, free_mem);
if (buffer_size >= total_mem) { if (buffer_size >= total_mem) {
std::string msg = std::string msg = "Invalid insert buffer size: " + value +
"Invalid insert buffer size: " + value + ". Possible reason: insert buffer size exceeds system memory."; ". Possible reason: db_config.insert_buffer_size exceeds system memory.";
return Status(SERVER_INVALID_ARGUMENT, msg); return Status(SERVER_INVALID_ARGUMENT, msg);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册