Skip to content

Commit 5f532aa

Browse files
authored
chore(mariadb): add semisync plugin loading for 10.6 compatibility (#2930)
1 parent 20ed100 commit 5f532aa

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

addons/mariadb/config/mariadb-semisync.tpl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ log_slave_updates = ON
66
gtid_strict_mode = OFF
77
skip_slave_start = 1
88

9-
# Semi-sync is built-in to MariaDB 11.4 (no plugin .so files needed).
9+
# Semi-sync plugins: required for MariaDB 10.6; harmless no-op on 11.4+ where semi-sync is built-in.
10+
plugin_load_add = semisync_master.so
11+
plugin_load_add = semisync_slave.so
12+
1013
# Enable both master and slave sides; MariaDB uses the appropriate one based on role.
1114
rpl_semi_sync_master_enabled = ON
1215
rpl_semi_sync_slave_enabled = ON

0 commit comments

Comments
 (0)