You've already forked mariadb-columnstore-engine
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:
committed by
Patrick LeBlanc
parent
95f0caaf63
commit
7a16877aae
@ -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 (...)
|
||||||
|
Reference in New Issue
Block a user