mariadb/mysql-test/suite
Marko Mäkelä 947efe17ed MDEV-15158 On commit, do not write to the TRX_SYS page
This is based on a prototype by
Thirunarayanan Balathandayuthapani <thiru@mariadb.com>.

Binlog and Galera write-set replication information was written into
TRX_SYS page on each commit. Instead of writing to the TRX_SYS during
normal operation, InnoDB can make use of rollback segment header pages,
which are already being written to during a commit.

The following list of fields in rollback segment header page are added:
    TRX_RSEG_BINLOG_OFFSET
    TRX_RSEG_BINLOG_NAME (NUL-terminated; empty name = not present)
    TRX_RSEG_WSREP_XID_FORMAT (0=not present; 1=present)
    TRX_RSEG_WSREP_XID_GTRID
    TRX_RSEG_WSREP_XID_BQUAL
    TRX_RSEG_WSREP_XID_DATA

trx_sys_t: Introduce the fields
recovered_binlog_filename, recovered_binlog_offset, recovered_wsrep_xid.

To facilitate upgrade from older mysql or mariaDB versions, we will read
the information in TRX_SYS page. It will be overridden by the
information that we find in rollback segment header pages.

Mariabackup --prepare will read the metadata from the rollback
segment header pages via trx_rseg_array_init(). It will still
not read any undo log pages or recover any transactions.
2018-02-20 21:36:36 +02:00
..
archive Tests: enable disabled tests [closes #341] 2017-11-27 15:07:34 +03:00
binlog Merge bb-10.2-ext into 10.3 2018-02-19 11:37:29 +02:00
binlog_encryption Merge bb-10.2-ext into 10.3 2018-01-04 09:22:59 +02:00
compat/oracle MDEV-13417 UPDATE produces wrong values if an updated column is later used as an update source 2018-02-12 13:14:23 +01:00
csv Added Max_index_length and Temporary to SHOW TABLE STATUS 2018-02-12 17:17:26 +02:00
encryption Merge bb-10.2-ext into 10.3 2018-02-19 11:37:29 +02:00
engines
federated Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
funcs_1 Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
funcs_2 Added Max_index_length and Temporary to SHOW TABLE STATUS 2018-02-12 17:17:26 +02:00
galera Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
galera_3nodes Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
gcol Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
handler Tests: revert unneded changes 2017-11-28 11:40:13 +03:00
heap Added Max_index_length and Temporary to SHOW TABLE STATUS 2018-02-12 17:17:26 +02:00
innodb Merge bb-10.2-ext into 10.3 2018-02-19 11:37:29 +02:00
innodb_fts Fixed failing tests 2018-01-30 15:04:08 +02:00
innodb_gis Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
innodb_undo
innodb_zip Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
jp
json
large_tests
maria Added Max_index_length and Temporary to SHOW TABLE STATUS 2018-02-12 17:17:26 +02:00
mariabackup MDEV-15158 On commit, do not write to the TRX_SYS page 2018-02-20 21:36:36 +02:00
mtr/t
mtr2
multi_source
optimizer_unfixed_bugs
parts Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
perfschema Changed database, tablename and alias to be LEX_CSTRING 2018-01-30 21:33:55 +02:00
perfschema_stress
plugins Merge bb-10.2-ext into 10.3 2018-01-04 09:22:59 +02:00
roles rename mysql.user and mysql.db column 2018-02-12 23:43:48 +01:00
rpl MDEV-13417 UPDATE produces wrong values if an updated column is later used as an update source 2018-02-12 13:14:23 +01:00
sql_sequence Merge bb-10.2-ext into 10.3 2018-02-19 11:37:29 +02:00
storage_engine Follow-up for 54db0be3be (Added Max_index_length and Temporary) 2018-02-15 18:41:32 +02:00
stress
sys_vars Merge bb-10.2-ext into 10.3 2018-02-15 10:22:03 +02:00
unit Windows,tests : fix pcre_test_bat test from pcre library. 2018-02-14 23:21:58 +00:00
vcol Merge bb-10.2-ext into 10.3 2018-01-04 09:22:59 +02:00
versioning MDEV-15146 SQLError[4122]: View is not system versioned 2018-02-12 23:43:48 +01:00
wsrep Search for galera libraries also in /usr/lib64/galera-3 2017-12-08 11:38:22 +02:00