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