You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
add check of service status before sending to procmon
This commit is contained in:
@@ -2814,7 +2814,7 @@ namespace oam
|
|||||||
string cmd = startup::StartUp::installDir() + "/bin/columnstore status > /tmp/status.log";
|
string cmd = startup::StartUp::installDir() + "/bin/columnstore status > /tmp/status.log";
|
||||||
system(cmd.c_str());
|
system(cmd.c_str());
|
||||||
if (!checkLogStatus("/tmp/status.log", "MariaDB Columnstore is running") )
|
if (!checkLogStatus("/tmp/status.log", "MariaDB Columnstore is running") )
|
||||||
return;
|
return NULL;
|
||||||
|
|
||||||
for ( int i = 0 ; i < 5 ; i ++)
|
for ( int i = 0 ; i < 5 ; i ++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user