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
Daniel Black 6218b5f7cb MDEV-32567 Remove thr_alarm from server codebase - socket activation fix
Systemd socket activation cannot handle a shutdown on the file
descriptor[1].

Enumerate past the socket activation descriptors.

If there was no shutdown to trigger the breaking of the event loop,
then write to the termination_event_fd that was setup during
the socket activation code for this purpose.

As abort_loop= true is already set at the top of break_connect_loop,
and this is checked in loop before sockets are processed, no
additional checking to read from the termination_event_fd is needed.

Without socket activation defined, or used, termination_event_fd keeps
its -1 default value.

Close the eventfd outside the while loop so retries can happen if
the write fails for some reason.

ref[1]: https://www.freedesktop.org/software/systemd/man/latest/sd_listen_fds.html

Reviewed by: Vladislav Vaintroub
2023-11-23 11:52:38 +11:00
.github Merge 10.11 into 11.0 2023-06-08 13:49:48 +03:00
BUILD Merge 10.10 into 10.11 2023-10-17 16:04:21 +03:00
client Merge 11.2 into 11.3 2023-10-27 10:48:29 +03:00
cmake MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
dbug
debian Merge 11.3 into 11.4 2023-11-21 15:43:20 +01:00
Docs
extra Fixed compiler warnings 2023-11-01 09:37:26 +02:00
include MDEV-32567 Remove thr_alarm from server codebase - socket activation fix 2023-11-23 11:52:38 +11:00
libmariadb@c0ddc2c8cf New CC 3.3 2023-08-01 16:40:10 +02:00
libmysqld Merge 11.2 into 11.3 2023-10-27 10:48:29 +03:00
libservices
man Merge 11.0 into 11.1 2023-07-26 15:13:43 +03:00
mysql-test MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
mysys MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
mysys_ssl Merge branch '10.4' into 10.5 2023-08-01 11:52:13 +02:00
plugin Fixed compiler warnings 2023-11-01 09:37:26 +02:00
randgen/conf
scripts Merge 11.2 into 11.3 2023-10-27 10:48:29 +03:00
sql MDEV-32567 Remove thr_alarm from server codebase - socket activation fix 2023-11-23 11:52:38 +11:00
sql-bench Updated sql-bench to run with PostgreSQL 14.9 2023-09-09 15:14:45 +03:00
sql-common Merge branch '11.0' into 11.1 2023-08-09 08:25:14 +02:00
storage MDEV-3953 Add columns for ROWS_EXAMINED, ROWS_SENT, and ROWS_READ to I_S and processlist 2023-11-01 13:02:19 +02:00
strings Merge branch '11.2' into 11.3 2023-09-21 14:15:04 +04:00
support-files Merge 11.0 into 11.1 2023-10-19 08:26:16 +03:00
tests Merge branch '11.1' into 11.2 2023-10-27 18:11:56 +11:00
tpool Merge 10.10 into 10.11 2023-10-17 16:04:21 +03:00
unittest MDEV-32189 Use icu for timezones on windows 2023-11-21 21:35:02 +01:00
vio
win Merge 11.2 into 11.3 2023-10-27 10:48:29 +03:00
wsrep-lib@151d4f8591 galera: wsrep-lib sumbodule update 2023-09-12 00:38:48 +02:00
zlib
.clang-format
.gitattributes
.gitignore Revert "MDEV-30610 Update RocksDB to v8.1.1" 2023-09-30 14:12:55 +02:00
.gitlab-ci.yml Merge branch '11.1' into 11.2 2023-08-18 00:59:16 +02:00
.gitmodules
appveyor.yml
BUILD-CMAKE
CMakeLists.txt Merge 10.11 into 11.0 2023-10-19 08:12:16 +03:00
CODING_STANDARDS.md Add preprocessor whitespace to CODING_STANDARDS.md 2023-07-12 09:33:50 +10:00
config.h.cmake MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
configure.cmake MDEV-32567 Remove thr_alarm from server codebase 2023-11-23 11:52:38 +11:00
CONTRIBUTING.md
COPYING
CREDITS
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Update README.md 2023-06-05 08:28:06 +10:00
SECURITY.md Create SECURITY.md 2023-06-05 08:28:06 +10:00
THIRDPARTY
VERSION 11.4 branch 2023-10-09 13:43:10 +02:00

Code status:

  • 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/

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip. 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 our security-policy.

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