mariadb/storage/maria
Monty fc25437aff MDEV-10104 Table lock race condition with replication
Problem was two race condtion in Aria page cache:
- find_block() didn't inform free_block() that it had released requests
- free_block() didn't handle pinned blocks, which could happen if
  free_block() was called as part of flush. This is fixed by not freeing
  blocks that are pinned.  This is safe as when maria_close() is called
  when last thread is using a table, there can be no pinned blocks. For
  other flush calls it's safe to ignore pinned blocks.
2017-05-05 18:25:35 +03:00
..
unittest Fixes to get all test to run on MacosX Lion 10.7 2015-11-29 17:51:23 +02:00
CMakeLists.txt MDEV-672 : storage/maria and storage/perfschema do not appear to honor WITH_UNIT_TESTS 2012-10-30 23:05:55 +01:00
file_formats.txt Fixed compiler warnings 2008-02-22 17:22:56 +02:00
ft_maria.c Fixed some compiler warnings and errors in test suite found by buildbot 2010-01-27 23:53:08 +02:00
ha_maria.cc Merge 5.5 into 10.0 2017-03-08 11:40:43 +02:00
ha_maria.h MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
lockman.c cleanup: remove LF_REQUIRE_PINS, use compile_time_assert() instead of reimplementing it 2013-06-24 20:56:55 +02:00
lockman.h solaris fixes 2007-12-18 23:22:55 +01:00
ma_bitmap.c 10.0-monty merge 2013-07-21 16:39:19 +02:00
ma_blockrec.c Merge with 10.0-base 2014-03-13 16:43:11 +02:00
ma_blockrec.h MDEV-8450: PATCH] Wrong macro expansion in Query_cache::send_result_to_client() 2015-09-06 22:26:33 +02:00
ma_cache.c Temporary commit of 10.0-merge 2013-03-26 00:03:13 +02:00
ma_changed.c lots of post-merge changes 2011-04-25 17:22:25 +02:00
ma_check.c Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
ma_check_standalone.h MySQL-5.5.35 merge 2014-01-22 15:29:36 +01:00
ma_checkpoint.c Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
ma_checkpoint.h rename maria to aria 2010-09-12 18:40:01 +02:00
ma_checksum.c make 5.1 compiling with modern gcc. 2013-12-20 12:35:47 +02:00
ma_close.c 5.5.39 merge 2014-08-07 18:06:56 +02:00
ma_commit.c Temporary commit of 10.0-merge 2013-03-26 00:03:13 +02:00
ma_commit.h - WL#3239 "log CREATE TABLE in Maria" 2007-06-22 14:49:37 +02:00
ma_control_file.c use PSI wrappers in aria and other non-MySQL code 2011-07-13 21:10:18 +02:00
ma_control_file.h rename maria to aria 2010-09-12 18:40:01 +02:00
ma_create.c Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
ma_dbug.c Fixed lp:925377 "Querying myisam table metadata while 'alter table..enable keys' is running may corrupt the table" 2012-02-28 23:18:52 +02:00
ma_delete.c 10.0-monty merge 2013-07-21 16:39:19 +02:00
ma_delete_all.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_delete_table.c MDEV-12261 build failure without P_S 2017-03-15 17:48:30 +01:00
ma_dynrec.c Merge with 10.0-base 2014-03-13 16:43:11 +02:00
ma_extra.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_ft_boolean_search.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_ft_eval.c Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_eval.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_nlq_search.c Push a lot of small fixes to get larger parts to compile 2013-05-21 22:00:08 +03:00
ma_ft_parser.c cleanup: use MYF() for mysys flags 2013-01-23 16:18:09 +01:00
ma_ft_stem.c GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_test1.c Fixes after review of guilhem of block record patch 2007-04-19 13:18:56 +03:00
ma_ft_test1.h GPL license update (same change as was done for all files in 5.1). 2007-03-02 11:20:23 +01:00
ma_ft_update.c 5.3->5.5 merge 2011-11-22 18:04:38 +01:00
ma_ftdefs.h lots of post-merge changes 2011-04-25 17:22:25 +02:00
ma_fulltext.h Merge with mysql-maria 2009-01-30 23:55:42 +02:00
ma_info.c Temporary commit of 10.0-merge 2013-03-26 00:03:13 +02:00
ma_init.c my_dir() cleanup 2013-04-07 15:19:45 +02:00
ma_key.c make 5.1 compiling with modern gcc. 2013-12-20 12:35:47 +02:00
ma_key_recover.c Temporary commit of 10.0-merge 2013-03-26 00:03:13 +02:00
ma_key_recover.h Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +03:00
ma_keycache.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_locking.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_loghandler.c Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
ma_loghandler.h Fix of compiler errors. 2011-05-16 16:13:34 +03:00
ma_loghandler_lsn.h remove ULL() and LL(), because they're totally unnecessary 2013-04-07 14:00:16 +02:00
ma_norec.c Added support for NO_RECORD record format (don't store any row data) for Aria. 2011-01-14 11:54:39 +01:00
ma_open.c Post MDEV-11902 Fix test failures in maria and myisam storage engines 2017-03-03 20:12:48 +02:00
ma_packrec.c Fix spelling: occurred, execute, which etc 2016-03-04 02:09:37 +02:00
ma_page.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_pagecache.c MDEV-10104 Table lock race condition with replication 2017-05-05 18:25:35 +03:00
ma_pagecache.h Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
ma_pagecaches.c copyright and license info 2008-03-04 12:58:21 +01:00
ma_pagecrc.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_panic.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_preload.c lots of post-merge changes 2011-04-25 17:22:25 +02:00
ma_range.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_recovery.c MDEV-5314 - Compiling fails on OSX using clang 2014-02-19 14:05:15 +04:00
ma_recovery.h Fixed portability problem with partiton_error.test 2011-06-13 12:46:11 +03:00
ma_recovery_util.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_recovery_util.h WL#3072 - Maria Recovery 2008-01-17 23:59:32 +01:00
ma_rename.c Fixed lp:947474 "Assertion `table->file->stats.records > 0 || error' failed in join_read_const_table on concurrent SELECT and ALTER, constant Aria table" 2012-03-20 16:04:50 +02:00
ma_rfirst.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rkey.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_rlast.c Merged with mysql-5.1 main tree. 2007-07-02 20:45:15 +03:00
ma_rnext.c MDEV-6153 Trivial Lintian errors in MariaDB sources: spelling errors and wrong executable bits 2014-05-13 11:53:30 +02:00
ma_rnext_same.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_rprev.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_rrnd.c MDEV-736 LP:1004615 - Unexpected warnings "Encountered illegal value '' when converting to DECIMAL" on a query with aggregate functions and GROUP BY 2012-11-17 16:50:15 +01:00
ma_rsame.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_rsamepos.c Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_rt_index.c merge with 5.3. 2012-06-04 17:26:11 +02:00
ma_rt_index.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_key.c Fixes some bug in Aria recovery: 2010-10-07 12:51:34 +03:00
ma_rt_key.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_mbr.c Temporary commit of 10.0-merge 2013-03-26 00:03:13 +02:00
ma_rt_mbr.h Added MARIA_PAGE structure to keep all information about a maria key page. 2008-09-01 20:31:40 +03:00
ma_rt_split.c compiler warnings 2013-04-14 16:48:16 +02:00
ma_rt_test.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
ma_scan.c MDEV-4280: Assertion `empty_size == empty_size_on_page' failure in ma_blockrec.c or ER_NOT_KEYFILE on query with DISTINCT and GROUP BY 2013-05-11 15:55:11 +03:00
ma_search.c Compilation warnings. 2013-05-07 18:26:22 +02:00
ma_servicethread.c MDEV-9994 - Aria service threads are not "joined" 2016-06-10 22:07:49 +04:00
ma_servicethread.h MDEV-9994 - Aria service threads are not "joined" 2016-06-10 22:07:49 +04:00
ma_sort.c Merge branch '5.5' into bb-10.0 2016-06-21 14:11:02 +02:00
ma_sp_defs.h Added versioning of Maria index 2008-06-26 08:18:28 +03:00
ma_sp_key.c lots of post-merge changes 2011-04-25 17:22:25 +02:00
ma_sp_test.c lots of post-merge changes 2011-04-25 17:22:25 +02:00
ma_state.c Fix for MDEV-6493: Assertion `table->file->stats.records > 0 || error' failure, or 'Invalid write' valgrind warnings, or crash on scenario with Aria table, view, LOCK TABLES 2014-07-30 13:27:52 +03:00
ma_state.h MDEV-3999: Valgrind errors 'invalid write' or assorted server crashes on concurrent flow with partitioned Aria tables 2013-05-12 11:29:16 +03:00
ma_static.c Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
ma_statrec.c merge with 5.3 2011-10-19 21:45:18 +02:00
ma_test1.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
ma_test2.c Remove labs() warning from maria and myisam storage engines 2016-12-01 15:01:33 +01:00
ma_test3.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
ma_test_all.res Fixes for redo/undo logging of key pages 2007-11-20 17:42:16 +02:00
ma_test_all.sh makes mi_test_all.sh & ma_test_all.sh working (MDEV-285) 2012-09-25 13:45:11 +03:00
ma_test_big.sh UNDO of rows now puts back all part of the row on their original pages and positions 2007-12-30 22:40:03 +02:00
ma_test_force_start.pl CRLF->LF 2015-06-02 22:07:47 +02:00
ma_test_recovery Added versioning of row data 2008-04-10 05:26:36 +03:00
ma_unique.c Fixed a compiler failure and removed some warnings in windows 2014-03-11 16:53:24 +02:00
ma_update.c 5.3 merge. 2013-05-20 12:36:30 +02:00
ma_write.c 10.0-monty merge 2013-07-21 16:39:19 +02:00
maria_chk.c Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
maria_def.h Merge branch '5.5' into 10.0 2017-03-03 01:37:54 +02:00
maria_dump_log.c merge with 5.3 2011-10-19 21:45:18 +02:00
maria_ftdump.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
maria_pack.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
maria_read_log.c Fixed problem with very slow shutdown when using 100,000 MyISAM tables with delay_key_write 2014-07-19 17:46:08 +03:00
maria_rename.sh Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
tablockman.c merge with 5.3 2011-10-19 21:45:18 +02:00
tablockman.h use PSI wrappers in aria and other non-MySQL code 2011-07-13 21:10:18 +02:00
test_pack Added storage/maria (based on MyISAM). WL#3245 2006-04-11 16:45:10 +03:00
trnman.c 10.0-base merge 2014-02-03 15:22:39 +01:00
trnman.h remove ULL() and LL(), because they're totally unnecessary 2013-04-07 14:00:16 +02:00
trnman_public.h merged 2009-01-16 17:18:17 +01:00