提交 14b22540 编写于 作者: W wxyu

MS-415 Add command tasktable to dump all tasktables


Former-commit-id: 7ce1dedf36d020668af2bcaafa66b5232d4c18a5
上级 2d9762af
......@@ -52,6 +52,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-413 - Remove thrift dependency
- MS-410 - Add resource config comment
- MS-414 - Add TaskType in Scheduler::Task
- MS-415 - Add command tasktable to dump all tasktables
## New Feature
- MS-343 - Implement ResourceMgr
......
......@@ -13,6 +13,7 @@
#include "version.h"
#include "GrpcMilvusServer.h"
#include "db/Utils.h"
#include "scheduler/SchedInst.h"
#include "src/server/Server.h"
......@@ -753,7 +754,10 @@ ServerError
CmdTask::OnExecute() {
if (cmd_ == "version") {
result_ = MILVUS_VERSION;
} else {
} else if (cmd_ == "tasktable") {
result_ = engine::ResMgrInst::GetInstance()->DumpTaskTables();
}
else {
result_ = "OK";
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册