mariadb/storage/innobase/trx
Marko Mäkelä 13493078e9 MDEV-11802 innodb.innodb_bug14676111 fails
The function trx_purge_stop() was calling os_event_reset(purge_sys->event)
before calling rw_lock_x_lock(&purge_sys->latch). The os_event_set()
call in srv_purge_coordinator_suspend() is protected by that X-latch.

It would seem a good idea to consistently protect both os_event_set()
and os_event_reset() calls with a common mutex or rw-lock in those
cases where os_event_set() and os_event_reset() are used
like condition variables, tied to changes of shared state.

For each os_event_t, we try to document the mutex or rw-lock that is
being used. For some events, frequent calls to os_event_set() seem to
try to avoid hangs. Some events are never waited for infinitely, only
timed waits, and os_event_set() is used for early termination of these
waits.

os_aio_simulated_put_read_threads_to_sleep(): Define as a null macro
on other systems than Windows. TODO: remove this altogether and disable
innodb_use_native_aio on Windows.

os_aio_segment_wait_events[]: Initialize only if innodb_use_native_aio=0.
2017-02-20 12:20:52 +02:00
..
trx0i_s.cc move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0purge.cc MDEV-11802 innodb.innodb_bug14676111 fails 2017-02-20 12:20:52 +02:00
trx0rec.cc Merge branch 'merge-innodb-5.6' into 10.0 2016-06-21 14:58:19 +02:00
trx0roll.cc Merge following commit from 5.5: 2016-06-23 07:42:40 +03:00
trx0rseg.cc move to storage/innobase 2015-05-04 19:17:21 +02:00
trx0sys.cc MDEV-11985 Make innodb_read_only shutdown more robust 2017-02-04 17:33:19 +02:00
trx0trx.cc MDEV-11985 Make innodb_read_only shutdown more robust 2017-02-04 17:33:19 +02:00
trx0undo.cc MDEV-11985 Make innodb_read_only shutdown more robust 2017-02-04 17:33:19 +02:00