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

MCOL-4018 Disable legacy OAM by default.

This commit is contained in:
Roman Nozdrin
2020-05-27 08:32:03 +00:00
parent aaaa350ad9
commit ee4589ef40
7 changed files with 16 additions and 26 deletions

View File

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