1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

MCOL-4170 Refactor services/systemd units to finish their bootstrap ...

This commit is contained in:
Alexander Barkov
2020-10-07 12:38:09 +04:00
parent 2992ee3c31
commit ab44ef6ddb
21 changed files with 875 additions and 181 deletions

View File

@@ -2493,7 +2493,7 @@ PrimitiveServer::~PrimitiveServer()
{
}
void PrimitiveServer::start()
void PrimitiveServer::start(Service *service)
{
// start all the server threads
for ( int i = 1; i <= fServerThreads; i++)
@@ -2515,6 +2515,8 @@ void PrimitiveServer::start()
catch (...) {}
}
service->NotifyServiceStarted();
fServerpool.wait();
cerr << "PrimitiveServer::start() exiting!" << endl;