-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5374 from planetscale/morgo-mariadb-10-4
Add mysqlctl support for MariaDB 10.4
- Loading branch information
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# This file is auto-included when MariaDB 10.4 is detected. | ||
|
||
# enable strict mode so it's safe to compare sequence numbers across different server IDs. | ||
gtid_strict_mode = 1 | ||
innodb_stats_persistent = 0 | ||
|
||
# Semi-sync replication is required for automated unplanned failover | ||
# (when the master goes away). Here we just load the plugin so it's | ||
# available if desired, but it's disabled at startup. | ||
# | ||
# If the -enable_semi_sync flag is used, VTTablet will enable semi-sync | ||
# at the proper time when replication is set up, or when masters are | ||
# promoted or demoted. | ||
|
||
# semi_sync has been merged into master as of mariadb 10.3 so this is no longer needed | ||
#plugin-load = rpl_semi_sync_master=semisync_master.so;rpl_semi_sync_slave=semisync_slave.so | ||
|
||
# When semi-sync is enabled, don't allow fallback to async | ||
# if you get no ack, or have no slaves. This is necessary to | ||
# prevent alternate futures when doing a failover in response to | ||
# a master that becomes unresponsive. | ||
rpl_semi_sync_master_timeout = 1000000000000000000 | ||
rpl_semi_sync_master_wait_no_slave = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters