| 1 |
# xtrabackup backup |
| 2 |
CREATE TABLE t1(i int, t text, fulltext index(t)) ENGINE=InnoDB; |
| 3 |
INSERT into t1 values(1,'foo'); |
| 4 |
connect con2, localhost, root,,; |
| 5 |
connection con2; |
| 6 |
SET debug_sync='copy_data_between_tables_before_reset_backup_lock SIGNAL go WAIT_FOR after_backup_stage_block_commit' ; |
| 7 |
SET debug_sync='now WAIT_FOR after_backup_stage_start';ALTER TABLE test.t1 DROP t, algorithm=COPY;| |
| 8 |
connection default; |
| 9 |
connection con2; |
| 10 |
SET debug_sync='RESET'; |
| 11 |
disconnect con2; |
| 12 |
connection default; |
| 13 |
# xtrabackup prepare |
| 14 |
# shutdown server |
| 15 |
# remove datadir |
| 16 |
# xtrabackup move back |
| 17 |
# restart |
| 18 |
SELECT * FROM t1; |
| 19 |
i t |
| 20 |
1 foo |
| 21 |
DROP TABLE t1; |
| 22 |
SELECT * FROM INFORMATION_SCHEMA.innodb_sys_tablespaces WHERE name like '%/#sql%' or name like 'test/%'; |
| 23 |
SPACE NAME FLAG ROW_FORMAT PAGE_SIZE FILENAME FS_BLOCK_SIZE FILE_SIZE ALLOCATED_SIZE |
| 24 |
# restart |