MS-474 - Create index hang if use branch-0.3.1 server config

Former-commit-id: 73bb1d714bb99c027bf96ee6a8696e9e68ecec23
This commit is contained in:
Yu Kun 2019-09-07 16:19:27 +08:00
parent e7f5681561
commit ac659beda3
2 changed files with 5 additions and 2 deletions

View File

@ -29,6 +29,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-492 - Drop index failed if index have been created with index_type: FLAT
- MS-493 - Knowhere unittest crash
- MS-453 - GPU search error when nprobe set more than 1024
- MS-474 - Create index hang if use branch-0.3.1 server config
## Improvement
- MS-327 - Clean code for milvus

View File

@ -80,13 +80,15 @@ StartSchedulerService() {
auto connection = Connection(connect_name, connect_speed);
ResMgrInst::GetInstance()->Connect(left, right, connection);
}
ResMgrInst::GetInstance()->Start();
SchedInst::GetInstance()->Start();
} catch (const char* msg) {
SERVER_LOG_ERROR << msg;
std::cerr << msg << std::endl;
std::cerr << "Milvus server shut down!" << std::endl;
exit(-1);
}
ResMgrInst::GetInstance()->Start();
SchedInst::GetInstance()->Start();
}
void