maria:bb-10.5-svoj-MDEV-22593

Last commit made on 2020-05-25
Get this branch:
git clone -b bb-10.5-svoj-MDEV-22593 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-svoj-MDEV-22593
Repository:
lp:maria

Recent commits

6a2e4b8... by Sergey Vojtovich

MDEV-22697 - InnoDB: remove trx->no

trx->no is duplicated by trx->rw_trx_hash_element->no for no good reason.
The latter is preferred for performance reasons: allows to avoid taking
trx->rw_trx_hash_element->mutex when snapshotting.

66963a3... by Sergey Vojtovich

MDEV-22593 - InnoDB: don't take trx_sys.mutex in ReadView::open()

This was the last abuse of trx_sys.mutex, which is now exclusively
protecting trx_sys.trx_list.

This global acquisition was also potential scalability bottleneck for
oltp_read_write benchmark. Although it didn't expose itself as such due
to larger scalability issues.

Replaced trx_sys.mutex based synchronisation between ReadView creator
thread and purge coordinator thread performing latest view clone with
ReadView::m_mutex.

It also allowed to simplify tri-state view m_state down to boolean
m_open flag.

For performance reasons trx->read_view.close() is left as atomic relaxed
store, so that we don't have to waste resources for otherwise meaningless
mutex acquisition.

8569dac... by Vladislav Vaintroub

allow thread_pool_size_basic on Windows, in generic threadpool mode

e6f0371... by Vladislav Vaintroub

MDEV-22696 TP_pool_generic::set_pool_size logic so that it marks each connection to change group before the next socket read.

9aa6042... by Vladislav Vaintroub

MDEV-22696 Threadpool : make sure thd->event_scheduler.data does not change as long as THD is in server_threads.

17437eb... by Vladislav Vaintroub

Threadpool - support changing group on Windows with generic thread pool

d8ea11a... by Marko Mäkelä

MDEV-22669 fixup: WITH_MSAN build fix

59f0119... by Monty <email address hidden>

MDEV-22686 # Assertion `trn' failed in ha_maria::start_stmt

Calling stmt rollback closed the transaction, which caused the above issue

6532b10... by Monty <email address hidden>

Fixed failure in sysvars_server_embedded,32bit

Updated the corresponding rdiff file

fc8359f... by Monty <email address hidden>

Fixed failure in flush_read_lock.test

The failure was:
mysqltest: At line 1737: query 'reap' failed: 1397: XAER_NOTA: Unknown XID

The bug was in the test case int that it executed REAP XA COMMIT before
the connection had truly disconnected