Description:
In trying to recover my Cluster Slave, I had copied over the latest backup (#50) to the slave and tried to restore. When atempting the restore I recieved:
[ndbdev@ndb10 BACKUP-50]$ ndb_restore -c $ndbc -n 2 -b 50 -m -e -r ./
Nodeid = 2
Backup Id = 50
backup path = ./
Ndb version in backup files: Version 5.1.9
Unsupported table type!! 0
Restore: Failed to load content
NDBT_ProgramExit: 1 - Failed
Yet, trying an older backup (#48) it started to restore then cored. I will open a different bug for the core.
BACKUP-48]$ ndb_restore -c $ndbc -n 2 -b 48 -m -e -r ./
Nodeid = 2
Backup Id = 48
backup path = ./
Ndb version in backup files: Version 5.1.9
Connected to ndb!!
Creating logfile group: lg1...done
Creating tablespace: TESTER2_TS...done
Creating tablespace: TPCB_TS...done
Creating tablespace: BANK_TS...done
Creating datafile "./BANK_DF/datafile02.dat"...done
Creating datafile "./tpcb_ts/datafile.dat"...done
Creating datafile "./BANK_DF/datafile.dat"...done
Creating undofile "./lg1/undofile.dat"...done
Creating undofile "./lg1/undofile2.dat"...done
Creating datafile "./tester2_ts/datafile.dat"...done
Creating undofile "./lg1/undofile3.dat"...done
Successfully restored table BANK2/def/SYSTEM_VALUES
Successfully restored table event REPL$BANK2/SYSTEM_VALUES
Successfully restored table BANK2/def/ACCOUNT
Successfully restored table event REPL$BANK2/ACCOUNT
Successfully restored table hlr/def/matable
Successfully restored table event REPL$hlr/matable
Successfully restored table BANK/def/GL
Successfully restored table event REPL$BANK/GL
Successfully restored table TPCB/def/teller
Successfully restored table event REPL$TPCB/teller
Successfully restored table TPCB/def/branch
Successfully restored table event REPL$TPCB/branch
Successfully restored table TPCB/def/history
Successfully restored table event REPL$TPCB/history
Successfully restored table BANK/def/SYSTEM_VALUES
Successfully restored table event REPL$BANK/SYSTEM_VALUES
Successfully restored table TPCB/def/trans
Successfully restored table event REPL$TPCB/trans
Successfully restored table BANK/def/TRANSACTION
Successfully restored table event REPL$BANK/TRANSACTION
Successfully restored table BANK2/def/ACCOUNT_TYPES
Successfully restored table event REPL$BANK2/ACCOUNT_TYPES
Successfully restored table TPCB/def/account
Successfully restored table event REPL$TPCB/account
Successfully restored table BANK2/def/GL
Successfully restored table event REPL$BANK2/GL
Successfully restored table TESTER2/def/t1
Successfully restored table event REPL$TESTER2/t1
Successfully restored table BANK/def/ACCOUNT
Successfully restored table event REPL$BANK/ACCOUNT
Successfully restored table BANK/def/ACCOUNT_TYPES
Successfully restored table event REPL$BANK/ACCOUNT_TYPES
Successfully restored table BANK2/def/TRANSACTION
Successfully restored table event REPL$BANK2/TRANSACTION
Successfully created index PRIMARY on trans
Successfully created index PRIMARY on branch
Successfully created index PRIMARY on history
Successfully created index PRIMARY on account
Successfully created index PRIMARY on teller
_____________________________________________________
Processing data in table: BANK2/def/SYSTEM_VALUES(24) fragment 0
_____________________________________________________
Processing data in table: BANK2/def/ACCOUNT(22) fragment 0
_____________________________________________________
Processing data in table: cluster/def/NDB$BLOB_2_3(3) fragment 0
_____________________________________________________
Processing data in table: hlr/def/matable(34) fragment 0
_____________________________________________________
Processing data in table: BANK/def/GL(29) fragment 0
_____________________________________________________
Processing data in table: TPCB/def/teller(15) fragment 0
_____________________________________________________
Processing data in table: TPCB/def/branch(13) fragment 0
_____________________________________________________
Processing data in table: TPCB/def/history(17) fragment 0
_____________________________________________________
Processing data in table: sys/def/NDB$EVENTS_0(1) fragment 0
_____________________________________________________
Processing data in table: BANK/def/SYSTEM_VALUES(32) fragment 0
_____________________________________________________
Processing data in table: TPCB/def/trans(19) fragment 0
_____________________________________________________
Processing data in table: BANK/def/TRANSACTION(31) fragment 0
_____________________________________________________
Processing data in table: BANK2/def/ACCOUNT_TYPES(25) fragment 0
_____________________________________________________
Processing data in table: TPCB/def/account(11) fragment 0
_____________________________________________________
Processing data in table: cluster/def/schema(2) fragment 0
_____________________________________________________
Processing data in table: BANK2/def/GL(21) fragment 0
_____________________________________________________
Processing data in table: cluster/def/apply_status(4) fragment 0
_____________________________________________________
Processing data in table: TESTER2/def/t1(37) fragment 0
_____________________________________________________
Processing data in table: BANK/def/ACCOUNT(30) fragment 0
_____________________________________________________
Processing data in table: BANK/def/ACCOUNT_TYPES(33) fragment 0
_____________________________________________________
Processing data in table: sys/def/SYSTAB_0(0) fragment 0
_____________________________________________________
Processing data in table: BANK2/def/TRANSACTION(23) fragment 0
Aborted (core dumped)
How to repeat:
Setup a 2 data node cluster with 2 replicas and try to restore the backup for #50