File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2003, 2016 , Oracle and/or its affiliates. All rights reserved.
2
+ Copyright (c) 2003, 2017 , Oracle and/or its affiliates. All rights reserved.
3
3
4
4
This program is free software; you can redistribute it and/or modify
5
5
it under the terms of the GNU General Public License as published by
@@ -2577,10 +2577,15 @@ runLoad(NDBT_Context* ctx, NDBT_Step* step)
2577
2577
int retries = 0 ;
2578
2578
while (!ctx->isTestStopped () && myDict->createTable (*copy)!= 0 )
2579
2579
{
2580
- // 4009 Cluster Failure is acceptable since SR is in progress
2581
- CHK (myDict->getNdbError ().code == 4009 , myDict->getNdbError ().message );
2580
+ /* '4009 - Cluster Failure' is acceptable since SR is in progress.
2581
+ * '711 - System busy with node restart, schema operations not allowed'
2582
+ * is acceptable since the stale node performs an NR during SR.
2583
+ */
2584
+ CHK ((myDict->getNdbError ().code == 4009 ||
2585
+ myDict->getNdbError ().code == 711 ),
2586
+ myDict->getNdbError ().message );
2582
2587
retries++;
2583
- CHK (retries < 60 , " Creating table not finished within timeout" ); // 1 min
2588
+ CHK (retries < 180 , " Creating table not finished within timeout" ); // 3 min
2584
2589
NdbSleep_MilliSleep (1000 );
2585
2590
}
2586
2591
You can’t perform that action at this time.
0 commit comments