You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MySQL 8.3+ removed transaction_write_set_extraction (deprecated since 8.0.26). Several other deprecated options exist in group replication templates.
Issues found
Critical (causes startup failure):
transaction_write_set_extraction=XXHASH64 in sandbox/templates/group/group_repl_options.gotxt:9 — removed in 8.3+
Deprecated (warnings, will break in future):
2. log_slave_updates=ON in sandbox/templates/group/group_repl_options.gotxt:4 — should be log_replica_updates=ON for 8.0.26+
3. log_slave_updates=ON in sandbox/pxc_replication.go:228 — same issue
Removed SQL commands:
4. reset master in sandbox/templates/group/init_nodes.gotxt:11 — removed in 8.4+, should be RESET BINARY LOGS AND GTIDS
5. reset master in sandbox/templates/single/clear.gotxt:46 — same
6. reset master in sandbox/templates/single/replicate_from.gotxt:153 — same
7. reset master in sandbox/templates/replication/multi_source.gotxt:7 — same
Fix approach
Version-conditional in group_repl_options.gotxt: omit transaction_write_set_extraction for 8.3+, use log_replica_updates for 8.0.26+
Shell-based version detection for RESET MASTER vs RESET BINARY LOGS AND GTIDS in affected templates
Bug Report
Group replication deployment fails on MySQL 8.4+ with:
Root Cause
MySQL 8.3+ removed
transaction_write_set_extraction(deprecated since 8.0.26). Several other deprecated options exist in group replication templates.Issues found
Critical (causes startup failure):
transaction_write_set_extraction=XXHASH64insandbox/templates/group/group_repl_options.gotxt:9— removed in 8.3+Deprecated (warnings, will break in future):
2.
log_slave_updates=ONinsandbox/templates/group/group_repl_options.gotxt:4— should belog_replica_updates=ONfor 8.0.26+3.
log_slave_updates=ONinsandbox/pxc_replication.go:228— same issueRemoved SQL commands:
4.
reset masterinsandbox/templates/group/init_nodes.gotxt:11— removed in 8.4+, should beRESET BINARY LOGS AND GTIDS5.
reset masterinsandbox/templates/single/clear.gotxt:46— same6.
reset masterinsandbox/templates/single/replicate_from.gotxt:153— same7.
reset masterinsandbox/templates/replication/multi_source.gotxt:7— sameFix approach
group_repl_options.gotxt: omittransaction_write_set_extractionfor 8.3+, uselog_replica_updatesfor 8.0.26+RESET MASTERvsRESET BINARY LOGS AND GTIDSin affected templatesTested