| 1 |
# |
| 2 |
# Test coordinator abort of active schema operation |
| 3 |
# |
| 4 |
# Setup coordinator to restart when first schema op result is |
| 5 |
# received, this will trigger test of "abort active" |
| 6 |
set GLOBAL debug="+d,ndb_schema_dist_coord_abort_active"; |
| 7 |
# Do schema operation which will cause the coordinator to abort the |
| 8 |
# active schema operation |
| 9 |
CREATE TABLE t1( |
| 10 |
a int primary key |
| 11 |
) engine = NDB; |
| 12 |
Warnings: |
| 13 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 14 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 15 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 16 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 17 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 18 |
Warning 1296 Node <nodeid> 'Coordinator aborted' |
| 19 |
set GLOBAL debug="-d,ndb_schema_dist_coord_abort_active"; |
| 20 |
DROP TABLE t1; |
| 21 |
# Setup coordinator to restart when schema operation is received, this |
| 22 |
# will trigger test of "fail all schema ops" |
| 23 |
set GLOBAL debug="+d,ndb_schema_dist_coord_fail_all"; |
| 24 |
# Do schema operation which will cause the coordinator to abort the |
| 25 |
# schema operation(s) |
| 26 |
CREATE TABLE t1( |
| 27 |
a int primary key |
| 28 |
) engine = NDB; |
| 29 |
Warnings: |
| 30 |
Warning 1296 Node <nodeid> 'Aborted during shutdown' |
| 31 |
set GLOBAL debug="-d,ndb_schema_dist_coord_fail_all"; |
| 32 |
DROP TABLE t1; |