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
Kristian Nielsen d959acbbf8 MDEV-34049: Parallel access to temptable in different domain_id in parallel replication
Disallow changing @@gtid_domain_id while a temporary table is open in
STATEMENT or MIXED binlog mode. Otherwise, a slave may try to replicate
events refering to the same temporary table in parallel, using domain-based
out-of-order parallel replication. This is not valid, temporary tables are
only available for use within a single thread at a time.

One concrete consequence seen from this bug was a ROLLBACK on an
InnoDB temporary table running in one domain in parallel with DROP
TEMPORARY TABLE in another domain, causing an assertion inside InnoDB:
InnoDB: Failing assertion: table->get_ref_count() == 0 in
dict_sys_t::remove.

Use an existing error code that's somewhat close to the real issue
(ER_INSIDE_TRANSACTION_PREVENTS_SWITCH_GTID_DOMAIN_ID_SEQ_NO), to not add a
new error code in a GA release. When this is merged to the next GA release,
we could optionally introduce a new and more precise error code for an
attempt to change the domain_id while temporary tables are open.

Reviewed-by: Brandon Nesterenko <brandon.nesterenko@mariadb.com>
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2024-12-05 09:22:00 +01:00
.github
BUILD
client Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
cmake Merge branch '10.5' into '10.6' 2024-12-03 13:08:12 +01:00
dbug
debian
Docs
extra Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
include Merge 10.5 -> 10.6 2024-12-05 09:20:36 +01:00
libmariadb@3f2196d84e Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
libmysqld
libservices
man
mysql-test MDEV-34049: Parallel access to temptable in different domain_id in parallel replication 2024-12-05 09:22:00 +01:00
mysys Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
mysys_ssl
plugin Merge branch '10.5' into '10.6' 2024-12-03 13:08:12 +01:00
randgen/conf
scripts Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
sql MDEV-34049: Parallel access to temptable in different domain_id in parallel replication 2024-12-05 09:22:00 +01:00
sql-bench
sql-common Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
storage MDEV-5798: Wrong errorcode for missing partition after TRUNCATE PARTITION 2024-12-05 08:17:35 +01:00
strings
support-files Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
tests
tpool Merge branch '10.5' into 10.6 2024-11-05 21:02:22 +01:00
unittest Merge 10.5 into 10.6 2024-11-29 12:37:46 +02:00
vio
win
wsrep-lib@1c61b809d1 galera: wsrep-lib submodule update 2024-10-23 03:47:52 +02:00
zlib
.clang-format
.gitattributes
.gitignore
.gitlab-ci.yml
.gitmodules
appveyor.yml
BUILD-CMAKE
CMakeLists.txt
config.h.cmake Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
configure.cmake Merge branch '10.5' into 10.6 2024-10-29 14:20:03 +01:00
CONTRIBUTING.md
COPYING
CREDITS
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md
THIRDPARTY
VERSION bump the VERSION 2024-11-01 11:14:23 -04:00

Code status:

  • Appveyor CI status ci.appveyor.com

MariaDB: The innovative open source 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/

Getting the code, building it and testing it

Refer to the following guide: https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/ which outlines how to build the source code correctly and run the MariaDB testing framework, as well as which branch to target for your contributions.

Help

More help is available from the Maria Discuss mailing list https://lists.mariadb.org/postorius/lists/discuss.lists.mariadb.org/ and MariaDB's Zulip instance, https://mariadb.zulipchat.com/

Licensing


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