maria:10.5-wlad-tp-fibers

Last commit made on 2019-12-24
Get this branch:
git clone -b 10.5-wlad-tp-fibers https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.5-wlad-tp-fibers
Repository:
lp:maria

Recent commits

c303ff0... by Vladislav Vaintroub

WIP

d35d4d5... by Vladislav Vaintroub

MDEV-21327 : MDL wait notification for innodb background threadpool

27c75fb... by Vladislav Vaintroub

MDEV-21326 : Address TSAN warnings in tpool.

1. Fix places where data race warnings were relevant.

tls_worker_data::m_state should be modified under mutex protection,
since both maintainence timer and current worker set this flag.

2. Suppress warnings that are legitimate, yet harmless.
Apparently, the dirty reads in waitable_task::get_ref_count() or
write_slots->pending_io_count()

Avoiding race entirely without side-effects here is tricky,
and the effects of race is harmless.

The worst thing that can happen due to race is an extra wait notification,
under rare circumstances.

c24253d... by Marko Mäkelä

MDEV-21174: Fix the WITH_INNODB_EXTRA_DEBUG build

One reference to PageConverter::m_page_zip_ptr was not adjusted
commit 745fd4b39f8aff6300682502ed2ddf61ee343866 when the
data member was removed.

8963399... by Marko Mäkelä

MDEV-16678: Actually ignore #sql-ib tables

Apparently, regular expression operations that remove entire lines
of output do not work with list_files, and hence the adjustments in
commit 1c282d4bc48326f8b5407d372a7053c940b67252 were ineffective.

For cat_file (preceded by list_files_write_file) the replace_regex
does work.

For some reason, for suite/parts/inc/partition_crash_exchange.inc
some file names will be lost when using list_files_write_file
instead of list_files.

We use a precise pattern match. dict_mem_create_temporary_tablename()
is generating #sql-ib names followed by decimal digits only.

28c89b7... by Marko Mäkelä

Merge 10.4 into 10.5

745fd4b... by Marko Mäkelä

MDEV-21174: Remove some mlog_write_initial_log_record_fast()

Pass buf_block_t* to more functions that write redo log.

page_zip_write_node_ptr(), page_zip_write_blob_ptr(),
page_zip_compress_write_log_no_data():
Take buf_block_t* as parameter, and do not tolerate mtr=NULL.

page_zip_compress(): Do not tolerate mtr=NULL.

page_zip_dir_insert(): Take page_cur_t* as parameter.

mlog_write_initial_log_record(): Remove. This function was unused.

RecIterator::remove(): Remove the redundant page_zip parameter.

PageConverter::m_page_zip_ptr: Remove.

2b5a269... by Marko Mäkelä

MDEV-21174: Clean up record insertion

page_cur_insert_rec_low(): Take page_cur_t* as a parameter,
and do not tolerate mtr=NULL.

page_cur_insert_rec_zip(): Do not tolerate mtr=NULL.

befde6e... by Marko Mäkelä

MDEV-12353 preparation: Clean up page_cur_delete_rec()

page_cur_delete_rec(): Do not tolerate mtr=NULL.

page_delete_rec(): Merge with the only caller, RecIterator::remove().

RecIterator::m_mtr: New data member: a dummy mini-transaction.

1c282d4... by Marko Mäkelä

MDEV-16678: Ignore stray #sql-ib tables

The adjustments in adb117cf6901a0e0da7577267be1209359892207
turned out to be insufficient.