mariadb/storage/innobase/include
Jan Lindström 391b1af0fb MDEV-13471: Test failure on innodb.log_file_size,4k
Problem was that 4k page size is not really supported in
Galera. For reference see:
	codership/galera#398

Page size 4k is problematic because WSREP XID info location
that was set to constant UNIV_PAGE_SIZE - 3500 and that is conflicting
with rseg undo slots location if there is lot of undo tablespaces.
Undo tablespace identifiers and page numbers require
at least 126*8=1024 bytes starting from offset 56. Therefore,
WSREP XID startig from offset 596 would overwrite several
space_id,page_no pairs starting from 72th undo log tablespace
space_id,page_no pair at offset 594.
This will cause InnoDB startup failure seen as
[ERROR] InnoDB: Unable to open undo tablespace './undo30579'.

Originally, the undo tablespace ID would always be between
0 and 127. Starting with MySQL 5.6.36 which introduced
Bug  BACKPORT BUG  REMOVE SPACE_ID RESTRICTION
FOR UNDO TABLESPACES (merged to MariaDB 10.0.31)
it is possible for an undo tablespace ID to be 0x7773. But in
this case, the page number should be 3, not 0x72650003.
This is just the first collision. The WSREP XID data would
overwrite subsequent slots.

trx0sys.h

trx0sys.cc
	Code formatting and add comments.
2017-08-10 13:09:27 +03:00
..
api0api.h 5.6.31 2016-06-21 14:21:03 +02:00
api0misc.h move to storage/innobase 2015-05-04 19:17:21 +02:00
btr0btr.h 5.6.31 2016-06-21 14:21:03 +02:00
btr0btr.ic 5.6.31 2016-06-21 14:21:03 +02:00
btr0cur.h MDEV-12358 Work around what looks like a bug in GCC 7.1.0 2017-05-17 16:09:22 +03:00
btr0cur.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
btr0pcur.h 5.6.31 2016-06-21 14:21:03 +02:00
btr0pcur.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
btr0sea.h 5.6.31 2016-06-21 14:21:03 +02:00
btr0sea.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
btr0types.h 5.6.31 2016-06-21 14:21:03 +02:00
buf0buddy.h 5.6.31 2016-06-21 14:21:03 +02:00
buf0buddy.ic 5.6.31 2016-06-21 14:21:03 +02:00
buf0buf.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
buf0buf.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0checksum.h move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0dblwr.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
buf0dump.h move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0flu.h MDEV-13039 innodb_fast_shutdown=0 may fail to purge all undo log 2017-06-09 16:20:42 +03:00
buf0flu.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0lru.h 5.6.31 2016-06-21 14:21:03 +02:00
buf0lru.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0rea.h move to storage/innobase 2015-05-04 19:17:21 +02:00
buf0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
data0data.h 5.6.31 2016-06-21 14:21:03 +02:00
data0data.ic 5.6.31 2016-06-21 14:21:03 +02:00
data0type.h move to storage/innobase 2015-05-04 19:17:21 +02:00
data0type.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:07:02 +03:00
data0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
db0err.h move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0boot.h 5.6.31 2016-06-21 14:21:03 +02:00
dict0boot.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0crea.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
dict0crea.ic 5.6.31 2016-06-21 14:21:03 +02:00
dict0dict.h MDEV-13325: InnoDB assert dict_sys->size > 0 during ALTER TABLE 2017-07-21 16:05:20 +03:00
dict0dict.ic Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
dict0load.h 5.6.31 2016-06-21 14:21:03 +02:00
dict0load.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0mem.h Merge tag 'mariadb-10.0.30' into bb-sachin-10.0-galera-merge 2017-03-17 02:05:20 +05:30
dict0mem.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0priv.h move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0priv.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0stats.h 5.6.31 2016-06-21 14:21:03 +02:00
dict0stats.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0stats_bg.h MDEV-13039 innodb_fast_shutdown=0 may fail to purge all undo log 2017-06-09 16:20:42 +03:00
dict0stats_bg.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
dict0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
dyn0dyn.h 5.6.31 2016-06-21 14:21:03 +02:00
dyn0dyn.ic Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
eval0eval.h move to storage/innobase 2015-05-04 19:17:21 +02:00
eval0eval.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
eval0proc.h move to storage/innobase 2015-05-04 19:17:21 +02:00
eval0proc.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
fil0fil.h Merge remote-tracking branch 'origin/10.0' into 10.0 2017-05-18 15:45:55 +03:00
fsp0fsp.h Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
fsp0fsp.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
fsp0types.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
fts0ast.h 5.6.31 2016-06-21 14:21:03 +02:00
fts0blex.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fts0fts.h MDEV-11233 CREATE FULLTEXT INDEX with a token longer than 127 bytes 2017-01-27 10:19:39 +02:00
fts0opt.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fts0pars.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fts0priv.h 5.6.31 2016-06-21 14:21:03 +02:00
fts0priv.ic 5.6.31 2016-06-21 14:21:03 +02:00
fts0tlex.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fts0types.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
fts0types.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
fts0vlc.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
fut0fut.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fut0fut.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
fut0lst.h move to storage/innobase 2015-05-04 19:17:21 +02:00
fut0lst.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ha0ha.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
ha0ha.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ha0storage.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ha0storage.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ha_prototypes.h Merge tag 'mariadb-10.0.31' into 10.0-galera 2017-05-30 15:28:52 +05:30
handler0alter.h 5.6.31 2016-06-21 14:21:03 +02:00
hash0hash.h move to storage/innobase 2015-05-04 19:17:21 +02:00
hash0hash.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ibuf0ibuf.h 5.6.31 2016-06-21 14:21:03 +02:00
ibuf0ibuf.ic 5.6.27 2015-10-09 17:21:46 +02:00
ibuf0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
lock0iter.h move to storage/innobase 2015-05-04 19:17:21 +02:00
lock0lock.h Merge tag 'mariadb-10.0.30' into bb-sachin-10.0-galera-merge 2017-03-17 02:05:20 +05:30
lock0lock.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
lock0priv.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
lock0priv.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
lock0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
log0log.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
log0log.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
log0recv.h Merge 5.5 into 10.0 2017-03-08 11:40:43 +02:00
log0recv.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
mach0data.h 5.6.31 2016-06-21 14:21:03 +02:00
mach0data.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:07:02 +03:00
mem0dbg.h move to storage/innobase 2015-05-04 19:17:21 +02:00
mem0dbg.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
mem0mem.h 5.6.31 2016-06-21 14:21:03 +02:00
mem0mem.ic 5.6.31 2016-06-21 14:21:03 +02:00
mem0pool.h move to storage/innobase 2015-05-04 19:17:21 +02:00
mem0pool.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
mtr0log.h move to storage/innobase 2015-05-04 19:17:21 +02:00
mtr0log.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
mtr0mtr.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
mtr0mtr.ic Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
mtr0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
os0file.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
os0file.ic 5.6.36 2017-05-15 17:17:16 +03:00
os0once.h move to storage/innobase 2015-05-04 19:17:21 +02:00
os0proc.h move to storage/innobase 2015-05-04 19:17:21 +02:00
os0proc.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
os0sync.h Fix the Solaris compilation after MDEV-12674 2017-05-15 10:26:42 +03:00
os0sync.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
os0thread.h 5.6.35 2017-01-07 14:24:42 +02:00
os0thread.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
page0cur.h 5.6.31 2016-06-21 14:21:03 +02:00
page0cur.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
page0page.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
page0page.ic Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
page0types.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
page0zip.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
page0zip.ic Fix an incorrect debug assertion 2017-05-17 08:00:29 +03:00
pars0grm.h move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0opt.h move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0opt.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0pars.h 5.6.31 2016-06-21 14:21:03 +02:00
pars0pars.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0sym.h move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0sym.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
pars0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
que0que.h move to storage/innobase 2015-05-04 19:17:21 +02:00
que0que.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
que0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
read0read.h 5.6.31 2016-06-21 14:21:03 +02:00
read0read.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
read0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
rem0cmp.h 5.6.31 2016-06-21 14:21:03 +02:00
rem0cmp.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
rem0rec.h Merge tag 'mariadb-10.0.26' into 10.0-galera 2016-06-24 12:01:22 -04:00
rem0rec.ic Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
rem0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
row0ext.h move to storage/innobase 2015-05-04 19:17:21 +02:00
row0ext.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0ftsort.h 5.6.31 2016-06-21 14:21:03 +02:00
row0import.h 5.6.31 2016-06-21 14:21:03 +02:00
row0import.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0ins.h 5.6.31 2016-06-21 14:21:03 +02:00
row0ins.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0log.h 5.6.31 2016-06-21 14:21:03 +02:00
row0log.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0merge.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
row0mysql.h Merge remote-tracking branch 'merge/merge-innodb-5.6' into 10.0 2017-07-29 20:51:29 +03:00
row0mysql.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0purge.h 5.6.31 2016-06-21 14:21:03 +02:00
row0purge.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0quiesce.h 5.6.31 2016-06-21 14:21:03 +02:00
row0quiesce.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0row.h 5.6.31 2016-06-21 14:21:03 +02:00
row0row.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0sel.h 5.6.37 2017-07-29 19:59:51 +03:00
row0sel.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
row0uins.h 5.6.31 2016-06-21 14:21:03 +02:00
row0uins.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0umod.h 5.6.31 2016-06-21 14:21:03 +02:00
row0umod.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0undo.h move to storage/innobase 2015-05-04 19:17:21 +02:00
row0undo.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0upd.h 5.6.31 2016-06-21 14:21:03 +02:00
row0upd.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
row0vers.h 5.6.31 2016-06-21 14:21:03 +02:00
row0vers.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
srv0conc.h move to storage/innobase 2015-05-04 19:17:21 +02:00
srv0mon.h MDEV-12534 Use atomic operations whenever available 2017-04-20 16:29:12 +03:00
srv0mon.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
srv0srv.h Merge tag 'mariadb-10.0.32' into 10.0-galera 2017-08-09 08:56:11 +03:00
srv0srv.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
srv0start.h MDEV-13039 innodb_fast_shutdown=0 may fail to purge all undo log 2017-06-09 16:20:42 +03:00
sync0arr.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
sync0arr.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
sync0rw.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
sync0rw.ic Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
sync0sync.h MDEV-11520 Extending an InnoDB data file unnecessarily allocates 2017-02-21 16:45:03 +02:00
sync0sync.ic Merge branch '10.0' into 10.0-galera 2016-08-24 19:30:32 -04:00
sync0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0i_s.h move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0purge.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
trx0purge.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0rec.h Refactor trx_undo_report_row_operation() 2017-05-18 09:06:52 +03:00
trx0rec.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0roll.h 5.6.31 2016-06-21 14:21:03 +02:00
trx0roll.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0rseg.h move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0rseg.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0sys.h MDEV-13471: Test failure on innodb.log_file_size,4k 2017-08-10 13:09:27 +03:00
trx0sys.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0trx.h Fixed test failure on galere_wsrep_log_conflicts on XtraDB. 2017-03-20 10:17:13 +02:00
trx0trx.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0undo.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
trx0undo.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0xa.h Merge branch 'merge-innodb-5.6' into bb-10.0-vicentiu 2017-05-17 14:53:28 +03:00
univ.i Bump innodb version post merge 2017-07-30 11:35:48 +03:00
usr0sess.h move to storage/innobase 2015-05-04 19:17:21 +02:00
usr0sess.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
usr0types.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0bh.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0bh.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0byte.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0byte.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0counter.h MDEV-12674 Innodb_row_lock_current_waits has overflow 2017-05-12 12:24:53 +03:00
ut0crc32.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0dbg.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0list.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0list.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0lst.h Fix gcc 6.3.x compiler warnings. 2017-02-16 12:02:31 +02:00
ut0mem.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0mem.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0rbt.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0rnd.h 5.6.31 2016-06-21 14:21:03 +02:00
ut0rnd.ic Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:07:02 +03:00
ut0sort.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0ut.h Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
ut0ut.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0vec.h move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0vec.ic move to storage/innobase 2015-05-04 19:17:21 +02:00
ut0wqueue.h MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00