This repository has been archived by the owner on Sep 21, 2022. It is now read-only.
forked from vitessio/vitess
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dan Kozlowski <koz@planetscale.com>
- Loading branch information
Dan Kozlowski
committed
Sep 10, 2018
1 parent
72f2a00
commit 0d54495
Showing
7 changed files
with
69 additions
and
18 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
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 |
---|---|---|
@@ -1,3 +1,20 @@ | ||
# enable strict mode so it's safe to compare sequence numbers across different server IDs. | ||
gtid_strict_mode = 1 | ||
innodb_stats_persistent = 0 | ||
innodb_support_xa = 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. | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 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
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