mariadb/storage/innobase
Jan Lindström a4fa940bad MDEV-11336: Enable defragmentation on 10.2 when tests pass
Problem was that we could take page latches on different
order than wat is entitled with SX-lock. To follow the
latching order defined in WL#6326, acquire index->lock X-latch.
This entitles us to acquire page latches in any order for the index.

btr0btr.cc
	Document latch rules before and after MariaDB 10.2.2

sync0rw.cc
	Document latch compatibility rules better.

btr_defragment_merge_pages
	Fix parameter value.

btr_defragment_thread
	Acquire X-lock to dict_index_t::lock before restoring
	cursor position and continuing defragmentation.

ha_innobase::optimize
	Restore defragment feature.

Testing
	Add GIS-index and FT-index to table being defragmented.

	Defragmentation is not done to GIS-indexes and FT auxiliary
	tables.
2017-10-12 12:56:20 +03:00
..
btr MDEV-11336: Enable defragmentation on 10.2 when tests pass 2017-10-12 12:56:20 +03:00
buf merge 10.1->10.2 2017-10-07 17:43:26 +00:00
data Add a missing const qualifier 2017-09-20 16:53:34 +03:00
dict Reapply a MySQL 5.6.23/5.7.10 Oracle Bug#20029625 fix that was inadvertently reverted in MariaDB 10.2.2 2017-10-10 22:17:39 +03:00
eval MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL 2017-03-17 12:42:07 +02:00
fil Fix a warning about unused variable 2017-10-11 12:00:52 +03:00
fsp Innodb : Refactor os_file_set_size() to be compatible 10.1 2017-10-10 06:19:50 +00:00
fts Remove a constant parameter commit=false 2017-10-02 11:27:53 +03:00
fut MDEV-12270 Port MySQL 8.0 Bug#21141390 REMOVE UNUSED FUNCTIONS AND CONVERT GLOBAL SYMBOLS TO STATIC 2017-03-17 12:48:50 +02:00
gis Fix ut_ad(!leaf) failure in rec_get_offsets_func() with spatial index 2017-09-20 22:38:37 +03:00
ha Bug#24346574 PAGE CLEANER THREAD, ASSERT BLOCK->N_POINTERS == 0 2017-04-26 23:03:27 +03:00
handler MDEV-11336: Enable defragmentation on 10.2 when tests pass 2017-10-12 12:56:20 +03:00
ibuf Add the parameter bool leaf to rec_get_offsets() 2017-09-20 16:53:34 +03:00
include Remove an unused parameter 2017-10-11 12:00:52 +03:00
lock Merge 10.1 into 10.2 2017-10-02 11:16:53 +03:00
log MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
mach Fix Bug#24707869 GCC 5 AND 6 MISCOMPILE MACH_PARSE_COMPRESSED 2017-04-26 23:03:29 +03:00
mem MDEV-12271 Port MySQL 8.0 Bug#23150562 REMOVE UNIV_MUST_NOT_INLINE AND UNIV_NONINL 2017-03-17 12:42:07 +02:00
mtr Add the parameter bool leaf to rec_get_offsets() 2017-09-20 16:53:34 +03:00
mysql-test/storage_engine Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
os Windows : small optimization in os_is_sparse_file_supported() 2017-10-10 06:19:50 +00:00
page Avoid implicit conversion from unsigned to signed 2017-09-28 15:12:00 +03:00
pars Remove unused parameters and dead code 2017-09-29 16:19:28 +03:00
que Fix some printf format type mismatch 2017-06-06 12:04:29 +03:00
read Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
rem Correct debug assertions 2017-09-21 12:05:51 +03:00
row Remove an unused parameter 2017-10-11 12:00:52 +03:00
srv MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
sync MDEV-11336: Enable defragmentation on 10.2 when tests pass 2017-10-12 12:56:20 +03:00
trx MDEV-13311 Presence of old logs in 10.2.7 will corrupt restored instance (change in behavior) 2017-10-10 15:54:11 +03:00
usr Merge 10.1 into 10.2 2017-05-22 09:46:51 +03:00
ut Fix "ib::fatal::~fatal': destructor never returns, potential memory leak" 2017-09-29 18:15:57 +00:00
bzip2.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
CMakeLists.txt MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
compile-innodb
COPYING.Google
COPYING.Percona
innodb.cmake Merge branch '10.1' into 10.2 2017-08-17 11:38:34 +02:00
lz4.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzma.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
lzo.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00
plugin_exports
snappy.cmake cleanup: innodb files in cmake/ 2017-03-29 00:40:22 +02:00