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
sjaakola 2f0b8f3e02 MDEV-16005 sporadic failures with galera tests MW-328B and MW-328C
These test can sporadically show mutex deadlock warnings between LOCK_wsrep_thd
and LOCK_thd_data mutexes. This means that these mutexes can be locked in opposite
order by different threads, and thus result in deadlock situation.
To fix such issue, the locking policy of these mutexes should be revised and
enforced to be uniform. However, a quick code review shows that the number of
lock/unlock operations for these mutexes combined is between 100-200, and all these
mutex invocations should be checked/fixed.

On the other hand, it turns out that LOCK_wsrep_thd is used for protecting access to
wsrep variables of THD (wsrep_conflict_state, wsrep_query_state), whereas LOCK_thd_data
protects query, db and mysys_var variables in THD. Extending LOCK_thd_data to protect
also wsrep variables looks like a viable solution, as there should not be a use case
where separate threads need simultaneous access to wsrep variables and THD data variables.

In this commit LOCK_wsrep_thd mutex is refactored to be replaced by LOCK_thd_data.
By bluntly replacing LOCK_wsrep_thd by LOCK_thd_data, will result in double locking
of LOCK_thd_data, and some adjustements have been performed to fix such situations.
2018-04-24 16:57:39 +03:00
BUILD Correct FSF address 2017-03-10 18:21:29 +01:00
client Fix out of array access. 2018-04-06 08:48:11 +03:00
cmake Merge branch '10.0-galera' into 10.1 2018-03-19 15:21:01 +02:00
dbug
debian Merge remote-tracking branch '10.0' into 10.1 2018-03-15 03:45:28 +02:00
Docs
extra MDEV-15779 - mariabackup incremental prepare fails on CIFS mount. 2018-04-12 12:09:32 +01:00
include MDEV-14705: slow innodb startup/shutdown can exceed systemd timeout 2018-04-06 09:58:14 +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 Merge 10.0 into 10.1 2018-01-02 21:57:22 +02:00
mysql-test Merge pull request #713 from codership/MDEV-15948 2018-04-23 14:25:34 +03:00
mysys Merge branch '10.0' into 10.1 2018-04-07 17:11:22 +03: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 2017-10-22 13:03:41 +02:00
plugin MDEV-14533 Provide information_schema tables using which hardware 2018-03-24 00:37:38 +04:00
randgen/conf
scripts followup for 89b0d5cb6e, backport 8c422bf48d 2018-03-23 17:40:09 +01:00
sql MDEV-16005 sporadic failures with galera tests MW-328B and MW-328C 2018-04-24 16:57:39 +03:00
sql-bench
sql-common Merge branch '10.0' into 10.1 2018-04-07 17:11:22 +03:00
storage MDEV-16005 sporadic failures with galera tests MW-328B and MW-328C 2018-04-24 16:57:39 +03:00
strings Fix conf_to_src build. 2018-01-05 18:22:57 +00:00
support-files Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01:00
tests MDEV-14265 - RPMLint warning: shared-lib-calls-exit 2018-03-16 13:26:52 +04:00
unittest Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01: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
.gitignore .gitignore mariabackup 2017-04-27 19:12:43 +02:00
BUILD-CMAKE
CMakeLists.txt MDEV-14541 - Workaround GCC ICE on ARM64 2018-02-19 13:53:35 +04:00
config.h.cmake Merge branch 'github/10.0' into 10.1 2018-02-02 10:09:44 +01: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-04-05 14:23:18 +04:00
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README
VERSION bump the VERSION 2018-03-27 12:56:59 -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

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