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 2f4a0c5be2 Fix accumulation of old rows in mysql.gtid_slave_pos
This would happen especially in optimistic parallel replication, where there
is a good chance that a transaction will be rolled back (due to conflicts)
after it has executed record_gtid(). If the transaction did any deletions of
old rows as part of record_gtid(), those deletions will be undone as well.
And the code did not properly ensure that the deletions would be re-tried.

This patch makes record_gtid() remember the list of deletions done as part
of a transaction. Then in rpl_slave_state::update() when the changes have
been committed, we discard the list. However, in case of error and rollback,
in cleanup_context() we will instead put the list back into
rpl_global_gtid_slave_state so that the deletions will be re-tried later.

Probably fixes part of the cause of MDEV-12147 as well.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2018-10-07 18:59:52 +02:00
BUILD Correct FSF address 2017-03-10 18:21:29 +01:00
client Merge tag 'mariadb-10.0.36' into 10.0-galera 2018-08-02 11:44:02 +03:00
cmake Merge tag 'mariadb-10.0.36' into 10.0-galera 2018-08-02 11:44:02 +03:00
dbug MDEV-11752 Unsafe strmov - function definition in include/m_string.h 2017-03-10 18:21:29 +01:00
debian MDEV-15869 Mariabackup is lacking some dependencies declaration (#771) 2018-08-09 21:05:40 +03:00
Docs Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
extra MDEV-12956 provide default datadir for mariabackup --copy-back 2018-09-11 20:59:35 +01:00
include MDEV-17248 Improve ASAN memory pool instrumentation 2018-09-21 10:17:37 +03:00
libmysql Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
libmysqld MDEV-14265 - RPMLint warning: shared-lib-calls-exit 2017-12-19 19:10:54 +04:00
libservices MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
man MDEV-14927: Missing man pages 2018-08-28 14:12:42 +03:00
mysql-test Fix accumulation of old rows in mysql.gtid_slave_pos 2018-10-07 18:59:52 +02:00
mysys Merge branch '10.0' into 10.1 2018-09-23 12:58:11 +02:00
mysys_ssl MDEV-14343 Server crash on FIPS with openssl-1.0.2k 2018-01-30 21:28:16 +01:00
pcre Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
plugin MDEV-16665 ed25519 describes itself as 1.0-alpha even though it's not alpha. 2018-08-30 15:57:22 +04:00
randgen/conf
scripts MDEV-17173: correct parsing of 12.13.14.15:4444/xtrabackup_sst leaving LSN/SST_VER blank 2018-09-13 10:00:51 +10:00
sql Fix accumulation of old rows in mysql.gtid_slave_pos 2018-10-07 18:59:52 +02:00
sql-bench fix sql-bench test-table-elimination view leak. see MDEV-10310 for details 2016-07-12 22:21:49 +02:00
sql-common Merge branch '10.0' into 10.1 2018-07-31 11:58:29 +02:00
storage Merge branch '10.0' into 10.1 2018-09-23 12:58:11 +02:00
strings Merge branch '10.0' into bb-10.1-merge-sanja 2018-07-25 22:24:40 +02:00
support-files remove doubly-installed file 2018-09-07 20:24:32 +02:00
tests MDEV-14265 - RPMLint warning: shared-lib-calls-exit 2018-03-16 13:26:52 +04:00
unittest compiler warnings (clang 4.0.1 on i386) 2018-09-04 09:19:48 +02:00
vio Merge branch '10.0' into 10.1 2017-09-19 12:06:50 +03:00
win Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
wsrep Correct FSF address 2017-03-10 18:21:29 +01:00
zlib Build improvements and cleanups. 2017-09-08 18:22:15 +00:00
.gitattributes Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
.gitignore Merge tag 'mariadb-10.0.36' into 10.0-galera 2018-08-02 11:44:02 +03:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt Merge tag 'mariadb-10.0.36' into 10.0-galera 2018-08-02 11:44:02 +03:00
config.h.cmake compiler warnings (clang 4.0.1 on i386) 2018-09-04 09:19:48 +02:00
configure.cmake fix ucontext configure check 2018-03-14 15:16:03 +04:00
COPYING
COPYING.thirdparty Correct FSF address 2017-03-10 18:21:29 +01:00
CREDITS Update contributors 2018-09-10 16:47:44 +04:00
EXCEPTIONS-CLIENT MDEV-5645 MariaDB-5.5.35 - references are made to an "EXCEPTIONS-CLIENT" file but it does not exist 2014-05-31 13:18:56 +02:00
INSTALL-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
INSTALL-WIN-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
KNOWN_BUGS.txt various documentation updates 2012-06-18 16:57:58 -04:00
README Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
VERSION bump the VERSION 2018-09-08 11:34:22 -04:00

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.
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 Foundation and the MariaDB Corporation, 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:
http://mariadb.org/
https://mariadb.com/kb/en/
https://mariadb.com/kb/en/mariadb-vs-mysql-features/
https://mariadb.com/kb/en/mariadb-versus-mysql-features/
https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

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

More help is available from the Maria Discuss mailing list
https://launchpad.net/~maria-discuss
and the #maria IRC channel on Freenode.

***************************************************************************

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, COPYING.LESSER,
and COPYING.thirdparty files.

***************************************************************************

IMPORTANT:

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

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

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

***************************************************************************