1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

Merge pull request #1016 from dhall-MariaDB/MCOL-3744

MCOL-3744 mcssystemready to work with SKIP_OAM_INIT
This commit is contained in:
benthompson15
2020-01-30 14:29:30 -06:00
committed by Patrick LeBlanc
parent 95f0caaf63
commit 7a16877aae

View File

@ -294,13 +294,24 @@ extern "C"
try try
{ {
oam.getSystemStatus(systemstatus); if (getenv("SKIP_OAM_INIT"))
if (systemstatus.SystemOpState == ACTIVE
&& dbrm.getSystemReady()
&& dbrm.getSystemQueryReady())
{ {
return 1; if (dbrm.getSystemReady()
&& dbrm.getSystemQueryReady())
{
return 1;
}
}
else
{
oam.getSystemStatus(systemstatus);
if (systemstatus.SystemOpState == ACTIVE
&& dbrm.getSystemReady()
&& dbrm.getSystemQueryReady())
{
return 1;
}
} }
} }
catch (...) catch (...)