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
MCOL-1222 - changed the delay from 10 to 3 seconds
This commit is contained in:
@@ -8844,10 +8844,11 @@ namespace oam
|
|||||||
SystemStatus systemstatus;
|
SystemStatus systemstatus;
|
||||||
SystemProcessStatus systemprocessstatus;
|
SystemProcessStatus systemprocessstatus;
|
||||||
bool bfirst = true;
|
bool bfirst = true;
|
||||||
|
int dot = 0;
|
||||||
|
|
||||||
for (int i = 0 ; i < 18 ; i ++)
|
for (int i = 0 ; i < 120 ; i ++, dot ++)
|
||||||
{
|
{
|
||||||
sleep (10);
|
sleep (3);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
getSystemStatus(systemstatus);
|
getSystemStatus(systemstatus);
|
||||||
@@ -8880,7 +8881,11 @@ namespace oam
|
|||||||
exceptionControl("waitForActive", API_FAILURE);
|
exceptionControl("waitForActive", API_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
cout << "." << flush;
|
if (dot >= 3 )
|
||||||
|
{
|
||||||
|
cout << "." << flush;
|
||||||
|
dot=0;
|
||||||
|
}
|
||||||
|
|
||||||
// Check DMLProc for a switch to BUSY_INIT.
|
// Check DMLProc for a switch to BUSY_INIT.
|
||||||
// In such a case, we need to print a message that rollbacks
|
// In such a case, we need to print a message that rollbacks
|
||||||
@@ -8907,7 +8912,7 @@ namespace oam
|
|||||||
catch (...)
|
catch (...)
|
||||||
{
|
{
|
||||||
// At some point, we need to give up, ProcMon just isn't going to respond.
|
// At some point, we need to give up, ProcMon just isn't going to respond.
|
||||||
if (i > 18) // 3 minutes
|
if (i > 60) // 3 minutes
|
||||||
{
|
{
|
||||||
cout << endl << endl << "TIMEOUT: ProcMon not responding to getSystemStatus";
|
cout << endl << endl << "TIMEOUT: ProcMon not responding to getSystemStatus";
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user