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
@@ -3270,10 +3270,15 @@ runLoad(NDBT_Context* ctx, NDBT_Step* step)
3270
3270
int retries = 0 ;
3271
3271
while (!ctx->isTestStopped () && myDict->createTable (*copy)!= 0 )
3272
3272
{
3273
- // 4009 Cluster Failure is acceptable since SR is in progress
3274
- CHK (myDict->getNdbError ().code == 4009 , myDict->getNdbError ().message );
3273
+ /* '4009 - Cluster Failure' is acceptable since SR is in progress.
3274
+ * '711 - System busy with node restart, schema operations not allowed'
3275
+ * is acceptable since the stale node performs an NR during SR.
3276
+ */
3277
+ CHK ((myDict->getNdbError ().code == 4009 ||
3278
+ myDict->getNdbError ().code == 711 ),
3279
+ myDict->getNdbError ().message );
3275
3280
retries++;
3276
- CHK (retries < 60 , " Creating table not finished within timeout" ); // 1 min
3281
+ CHK (retries < 180 , " Creating table not finished within timeout" ); // 3 min
3277
3282
NdbSleep_MilliSleep (1000 );
3278
3283
}
3279
3284
You can’t perform that action at this time.
0 commit comments