Error (2): trying to extend a single-table tablespace 20 applying log on a compact backup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB |
Fix Released
|
Undecided
|
Alexey Kopytov |
Bug Description
I am playing with
lp:~akopytov/percona-xtrabackup/compact-backups
Backup was taken as
innobackupex --compact /mnt/fio/back/ --socket=
now trying to apply log:
innobackupex --apply-log --rebuild-indexes --use-memory=10G /mnt/fio/
InnoDB Backup Utility v1.5.1-xtrabackup; Copyright 2003, 2009 Innobase Oy
and Percona Inc 2009-2012. All Rights Reserved.
This software is published under
the GNU GENERAL PUBLIC LICENSE Version 2, June 1991.
IMPORTANT: Please check that the apply-log run completes successfully.
At the end of a successful apply-log run innobackupex
prints "completed OK!".
121211 18:24:59 innobackupex: Starting ibbackup with command: xtrabackup_55 --defaults-
xtrabackup_55 version 2.1.0 for Percona Server 5.5.16 Linux (x86_64) (revision id: undefined)
xtrabackup: cd to /mnt/fio/
xtrabackup: This target seems to be not prepared yet.
xtrabackup: xtrabackup_logfile detected: size=2097152, start_lsn=
xtrabackup: Temporary instance for recovery is set as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
Starting to expand compacted .ibd files.
121211 18:24:59 InnoDB: Warning: allocated tablespace 23, old maximum was 9
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
Expanding ./tpccw2500/
xtrabackup: Temporary instance for recovery is set as followings.
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: innodb_
xtrabackup: Starting InnoDB instance for recovery.
xtrabackup: Using 10737418240 bytes for buffer pool (set by --use-memory parameter)
121211 18:41:39 InnoDB: The InnoDB memory heap is disabled
121211 18:41:39 InnoDB: Mutexes and rw_locks use GCC atomic builtins
121211 18:41:39 InnoDB: Compressed tables use zlib 1.2.3
121211 18:41:39 InnoDB: Initializing buffer pool, size = 10.0G
121211 18:41:40 InnoDB: Completed initialization of buffer pool
121211 18:41:40 InnoDB: highest supported file format is Barracuda.
121211 18:41:41 InnoDB: Waiting for the background threads to start
Rebuilding indexes for table tpccw2500/customer (space id: 20)
Found index idx_customer
Dropping 1 index(es).
Rebuilding 1 index(es).
InnoDB: Error (2): trying to extend a single-table tablespace 20
InnoDB: by single page(s) though the space size 1123712. Page no 1123712.
innobackupex: Error:
innobackupex: ibbackup failed at /usr/bin/
Related branches
- Stewart Smith (community): Approve
- Hrvoje Matijakovic: Pending (doc) requested
-
Diff: 3973 lines (+2019/-639)25 files modifiedinnobackupex (+22/-2)
patches/innodb51.patch (+128/-65)
patches/innodb55.patch (+142/-63)
patches/xtradb51.patch (+125/-59)
patches/xtradb55.patch (+138/-59)
src/Makefile (+4/-3)
src/compact.c (+960/-0)
src/compact.h (+44/-0)
src/datasink.c (+1/-0)
src/ds_tmpfile.c (+1/-1)
src/fil_cur.c (+5/-3)
src/fil_cur.h (+2/-1)
src/innodb_int.c (+45/-0)
src/innodb_int.h (+22/-0)
src/write_filt.c (+1/-102)
src/write_filt.h (+1/-5)
src/xb0xb.h (+40/-0)
src/xbstream.c (+3/-2)
src/xtrabackup.c (+251/-249)
src/xtrabackup.h (+28/-0)
test/inc/incremental_sample-db/incremental_sample-schema.sql (+3/-2)
test/t/compact.sh (+5/-6)
test/t/compact_compressed.sh (+33/-9)
test/testrun.sh (+2/-1)
utils/build.sh (+13/-7)
Changed in percona-xtrabackup: | |
status: | New → Fix Committed |
Changed in percona-xtrabackup: | |
status: | Fix Committed → Fix Released |
Changed in percona-xtrabackup: | |
assignee: | nobody → Alexey Kopytov (akopytov) |
NOTE: this bug was only ever in the compact-backups branch, and before it was merged into trunk.