Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.1.20
-
None
-
10.2.4-5
Description
Prepare of partial backup (with --tables option) sporadically fails with following error :
InnoDB: Error: tablespace size stored in header is 4864 pages, but
InnoDB: the sum of data file sizes is only 768 pages
InnoDB: Cannot start InnoDB. The tail of the system tablespace is
InnoDB: missing.
Attached are:
test_partial_uncommitted.sh - test which reliably demonstrates the problem in my environment
test_partial_uncommitted.log - corresponding log
my.cnf - config used
partial_uncommitted.test 'identical' mtr test, which DOES NOT demonstrate the problem (for unknown reasons (generated xtrabackup_info and backup-my.cnf are identical to .sh test).
Interesting observation is that all tables are backed up - this should be another bug eventually if not fixed as part of this.
Attachments
Issue Links
- causes
-
MDEV-12027 posix_fallocate returned OS error 201.
-
- Closed
-
-
MDEV-12075 innodb_use_fallocate does not work in MariaDB Server 10.1.21
-
- Closed
-
-
MDEV-22501 Various issues when using --innodb-data-file-size-debug=-1 | SIGABRT in fil_mutex_enter_and_prepare_for_io
-
- Closed
-
- relates to
-
MDEV-11690 Remove UNIV_HOTBACKUP
-
- Closed
-
-
MDEV-11915 Detect InnoDB system tablespace size mismatch early
-
- Closed
-
-
MDEV-12022 InnoDB wrongly ignores the end of an .ibd file
-
- Closed
-
-
MDEV-13822 Mariabackup --prepare --incremental sets file size incorrectly
-
- Closed
-
-
MDEV-14082 Enforcing innodb_open_files leads to fil_system->mutex problem
-
- Closed
-
-
MDEV-18194 Incremental prepare tries to access page which is out of tablespace bounds.
-
- Closed
-
-
MDEV-30069 InnoDB: Trying to write ... bytes at ... outside the bounds of the file ...
-
- Closed
-
-
MDEV-11968 With innodb_page_size=8K crash with 'Error 17' after "Tried to read 65536 bytes at offset 0. Was only able to read 49152."
-
- Closed
-
-
MDEV-12893 innodb.log_data_file_size failed in buildbot with InnoDB: Database page corruption
-
- Closed
-
-
MDEV-14447 mariabackup --incremental --prepare fails to extend last file when applying ibdata1.delta
-
- Closed
-
-
MDEV-23190 Assertion `id.page_no() < space.size' during recovery
-
- Closed
-
-
MDEV-26068 Server crashes when innodb-data-file-size-debug set to 1
-
- Closed
-
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | test_partial_uncommitted.log [ 42995 ] | |
Attachment | test_partial_uncommitted.sh [ 42996 ] |
Attachment | my.cnf [ 42997 ] |
Attachment | partial_uncommitted.test [ 42998 ] |
Fix Version/s | 10.1 [ 16100 ] |
Attachment | problem.tar.gz [ 43000 ] |
Assignee | Vladislav Vaintroub [ wlad ] | Marko Mäkelä [ marko ] |
Attachment | error.txt [ 43008 ] |
Comment |
[ ok, it looks that the real problem in this and some similar phantoms is that for some reasons Xtradb and InnoDB start/initialize several times inside mysqld in my builds. (See attached mysqld error log Errors.txt). That may explain 'too late checks' as well probably. Not sure how that might happen, but it looks 'proper' builds are not affected.
Suggest closing as invalid, unless somebody wants to investigate how that build may happen at all. ] |
Attachment | error.txt [ 43008 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Sprint | 10.2.4-5 [ 125 ] |
Rank | Ranked higher |
Summary | Prepare of partial backup fails "tablespace size stored in header is 4864 pages, but the sum of data file sizes is only 768" | InnoDB redo log apply fails to adjust data file sizes |
Assignee | Marko Mäkelä [ marko ] | Jan Lindström [ jplindst ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Jan Lindström [ jplindst ] | Marko Mäkelä [ marko ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10002 ] |
Assignee | Marko Mäkelä [ marko ] | Jan Lindström [ jplindst ] |
Assignee | Jan Lindström [ jplindst ] | Marko Mäkelä [ marko ] |
Status | In Review [ 10002 ] | Stalled [ 10000 ] |
Status | Stalled [ 10000 ] | In Progress [ 3 ] |
issue.field.resolutiondate | 2016-12-30 11:49:58.0 | 2016-12-30 11:49:58.745 |
Component/s | Storage Engine - InnoDB [ 10129 ] | |
Fix Version/s | 10.1.21 [ 22113 ] | |
Fix Version/s | 10.2.4 [ 22116 ] | |
Fix Version/s | 10.1 [ 16100 ] | |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue relates to |
Link |
This issue causes |
Link |
This issue relates to |
Link |
This issue relates to |
Workflow | MariaDB v3 [ 78752 ] | MariaDB v4 [ 151370 ] |
Link |
This issue relates to |