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
Vlad Lesin 23833dce05 MDEV-24792 Assertion `!newest_lsn || fil_page_get_type(page)' failed upon MariaBackup prepare in buf_flush_init_for_writing with innodb_log_optimize_ddl=off
fsp_free_page() writes MLOG_INIT_FREE_PAGE, but does not update page
type. But fil_crypt_rotate_page() checks the type to understand if the
page is freshly initialized, and writes dummy record(updates space id)
to force rotation during recovery. This dummy record causes assertion
crash when the page is flushed after recovery, as it's supposed
that pages LSN is 0 for freshly initialized pages.

The bug is similiar to MDEV-24695, the difference is that in 10.5 the
assertion crashes during log record applying, but in 10.4 it crashes
during page flushing.

The fix could be in marking page as freed and not writing dummy record
during keys rotation procedure for such marked pages. But
bpage->file_page_was_freed is not consistent enough for release builds in
10.4, and the issue is fixed in 10.5 and does not exist in 10.[23] as
MLOG_INIT_FREE_PAGE was introduced since 10.4.

So the better solution is just to relax the assertion and implement some
additional property for freshly allocated pages, and check this property
during pages flushing.

The test is copied from MDEV-24695, the only change is in forcing pages
flushing after each server start to cause crash in non-fixed code.

There is no need to merge it to 10.5+, as the bug is already fixed by
MDEV-24695.
2021-02-14 10:11:03 +03:00
BUILD Fixed BUILD script to make plugin-file_key_management DYNAMIC 2020-09-25 12:44:04 +03:00
client Merge 10.3 into 10.4 2020-12-23 14:52:59 +02:00
cmake Merge 10.3 into 10.4 2021-01-11 10:35:06 +02:00
dbug Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
debian travis: 10.2 only - make faster 2020-10-06 22:22:03 +11:00
Docs
extra MDEV-20386: Allow RDRAND, RDSEED WITH_MSAN 2021-01-02 11:56:41 +02:00
include WolfSSL v4.6.0-stable 2021-01-02 11:56:41 +02:00
libmariadb@018663324b MDEV-24577: Fix warnings generated during compilation of plugin/auth_pam/testing/pam_mariadb_mtr.c on FreeBSD 2021-01-19 16:08:46 +07:00
libmysqld Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
libservices
man Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
mysql-test MDEV-24792 Assertion `!newest_lsn || fil_page_get_type(page)' failed upon MariaBackup prepare in buf_flush_init_for_writing with innodb_log_optimize_ddl=off 2021-02-14 10:11:03 +03:00
mysys Merge branch '10.3' into 10.4 2020-12-25 09:13:28 +01:00
mysys_ssl Merge 10.3 into 10.4 2020-10-22 13:27:18 +03:00
pcre Merge branch '10.2' into 10.3 2020-05-04 16:47:11 +02:00
plugin MDEV-24577: Fix warnings generated during compilation of plugin/auth_pam/testing/pam_mariadb_mtr.c on FreeBSD 2021-01-19 16:08:46 +07:00
randgen/conf
scripts Merge 10.3 into 10.4 2021-01-25 11:02:07 +02:00
sql MDEV-24856 : Server crashes when wsrep_provider_options set to NULL 2021-02-13 10:28:10 +02:00
sql-bench Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
sql-common Merge branch '10.3' into 10.4 2020-09-28 17:55:39 +05:30
storage MDEV-24792 Assertion `!newest_lsn || fil_page_get_type(page)' failed upon MariaBackup prepare in buf_flush_init_for_writing with innodb_log_optimize_ddl=off 2021-02-14 10:11:03 +03:00
strings Merge 10.3 into 10.4 2020-11-03 14:49:17 +02:00
support-files Merge 10.3 into 10.4 2020-09-22 21:29:30 +03:00
tests Merge branch '10.3' into 10.4 2020-11-10 11:24:13 +01:00
unittest Merge branch '10.3' into 10.4 2020-11-14 10:05:23 +01:00
vio Merge 10.3 into 10.4 2020-08-10 21:08:46 +03:00
win Merge branch '10.3' into 10.4 2020-06-05 18:00:14 +02:00
wsrep-lib@a93955ddee Update wsrep-lib 2021-01-08 08:44:18 +02:00
zlib Merge branch '10.3' into 10.4 2020-12-25 09:13:28 +01:00
.clang-format .clang-format - do not sort include files. 2019-12-03 22:22:23 +01:00
.gitattributes
.gitignore Merge 10.3 into 10.4 2020-10-29 13:38:38 +02:00
.gitmodules Fix github urls of submodules 2019-07-02 17:25:36 +04:00
.travis.compiler.sh
.travis.yml Merge 10.3 into 10.4 2020-09-03 15:53:38 +03:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE
CMakeLists.txt MDEV-24034 Policy CMP0075 is not set during compile 2020-12-15 12:27:13 +01:00
config.h.cmake Merge branch '10.3' into 10.4 2020-08-03 14:44:06 +02:00
configure.cmake Merge 10.3 into 10.4 2020-10-29 13:38:38 +02: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:19:27 -05:00

Code status:

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

MariaDB: drop-in replacement for MySQL

MariaDB is 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.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/library/new-and-old-releases/

https://mariadb.org/

As MariaDB is a full replacement of MySQL, the MySQL manual at http://dev.mysql.com/doc is generally applicable.

Help

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss 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/

Bugs in the MySQL code can also be submitted at: https://bugs.mysql.com

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