MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
Marko Mäkelä aa0e380568 MDEV-24348 InnoDB shutdown hang with innodb_flush_sync=0
This hang was caused by MDEV-23855, and we failed to fix it in
MDEV-24109 (commit 4cbfdeca84).

When buf_flush_ahead() is invoked soon before server shutdown
and the non-default setting innodb_flush_sync=OFF is in effect
and the buffer pool contains dirty pages of temporary tables,
the page cleaner thread may remain in an infinite loop
without completing its work, thus causing the shutdown to hang.

buf_flush_page_cleaner(): If the buffer pool contains no
unmodified persistent pages, ensure that buf_flush_sync_lsn= 0
will be assigned, so that shutdown will proceed.

The test case is not deterministic. On my system, it reproduced
the hang with 95% probability when running multiple instances
of the test in parallel, and 4% when running single-threaded.

Thanks to Eugene Kosov for debugging and testing this.
2020-12-04 14:11:48 +02:00
.github
BUILD
client Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
cmake MDEV-24125: linux large pages, linux/mman.h needed 2020-11-19 16:30:17 +11:00
dbug
debian Update MCS to resolve libmarias3 compulation for centos74-amd64-debug 2020-11-19 13:52:33 +00:00
Docs
extra Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
include MDEV-22929 fixup: root_name() clash with clang++ <fstream> 2020-12-03 07:45:48 +02:00
libmariadb@e382442206 MDEV-22387: Do not violate __attribute__((nonnull)) 2020-11-02 14:19:21 +02:00
libmysqld Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
libservices
man Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
mysql-test MDEV-24348 InnoDB shutdown hang with innodb_flush_sync=0 2020-12-04 14:11:48 +02:00
mysys MDEV-22929 fixup: root_name() clash with clang++ <fstream> 2020-12-03 07:45:48 +02:00
mysys_ssl
plugin Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
randgen/conf
scripts Merge 10.4 into 10.5 2020-12-02 18:29:49 +02:00
sql Fixed usage of not initialized memory in LIKE ... ESCAPE 2020-12-03 15:58:19 +02:00
sql-bench
sql-common
storage MDEV-24348 InnoDB shutdown hang with innodb_flush_sync=0 2020-12-04 14:11:48 +02:00
strings Merge 10.4 into 10.5 2020-11-03 16:24:47 +02:00
support-files
tests Merge branch '10.4' into 10.5 2020-11-10 14:09:05 +01:00
tpool MDEV-24295: Fix the non-clang build 2020-12-02 22:04:57 +02:00
unittest Merge branch '10.4' into 10.5 2020-11-14 10:15:54 +01:00
vio
win
wsrep-lib@41a6e9dad7 Update wsrep-lib 2020-11-11 07:37:05 +02:00
zlib
.clang-format
.gitattributes
.gitignore Merge 10.4 into 10.5 2020-10-30 11:15:30 +02:00
.gitmodules
.travis.compiler.sh
.travis.yml
appveyor.yml Fix appvyeor's perl.exe path 2020-11-03 10:47:25 +01:00
BUILD-CMAKE
CMakeLists.txt
config.h.cmake MDEV-24125: linux large pages, linux/mman.h needed 2020-11-19 16:30:17 +11:00
configure.cmake MDEV-24125: linux large pages, linux/mman.h needed 2020-11-19 16:30:17 +11:00
CONTRIBUTING.md
COPYING
CREDITS
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md
THIRDPARTY
VERSION bump the VERSION 2020-11-11 10:20:34 -05:00

Code status:

  • Travis CI status travis-ci.org (10.5 branch)
  • Appveyor CI status ci.appveyor.com

MariaDB: The open source relational database

MariaDB was designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation and the MariaDB Corporation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Corporation, the MariaDB Foundation and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at:

https://mariadb.org

https://mariadb.com/kb/en/

https://mariadb.com/kb/en/mariadb-vs-mysql-features/

https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

https://mariadb.com/kb/en/new-and-old-releases/

Help

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss, MariaDB's Zulip instance, https://mariadb.zulipchat.com/ and the #maria IRC channel on Freenode.

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip and IRC. From 8:00 to 10:00 UTC on Mondays, and 10:00 to 12:00 UTC on Thursdays, anyone can ask any questions theyd like, and a live developer will be available to assist.

New contributors can ask questions any time, but we will provide immediate feedback during that interval.

Licensing


NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING file. Third party license information can be found in the THIRDPARTY file.


Bug Reports

Bug and/or error reports regarding MariaDB should be submitted at: https://jira.mariadb.org

For reporting security vulnerabilities see: https://mariadb.org/about/security-policy/

The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server