mirror of https://github.com/milvus-io/milvus.git
MS-415 Add command tasktable to dump all tasktables
Former-commit-id: 7ce1dedf36d020668af2bcaafa66b5232d4c18a5pull/191/head
parent
2d9762afce
commit
14b2254060
|
@ -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";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue