Skip to content

Conversation

@percona-ysorokin
Copy link
Collaborator

https://perconadev.atlassian.net/browse/PS-10245

Refactored 'easymysql::connection::switch_to_replication()' method. We now have 3 different methods:

  • one 'switch_to_gtid_replication()' for GTID mode
  • two 'switch_to_position_replication()' for position-based mode (one for starting from the very beginning and another one when binlog name / position are known).

In the main application we now print more info in 'log_replication_info()' depending on the mode (GTID or position-mased).

…t 2)

https://perconadev.atlassian.net/browse/PS-10245

Refactored 'easymysql::connection::switch_to_replication()' method. We now have 3 different methods:
- one 'switch_to_gtid_replication()' for GTID mode
- two 'switch_to_position_replication()' for position-based mode (one for starting from the very beginning and another one when binlog name / position are known).

In the main application we now print more info in 'log_replication_info()' depending on
the mode (GTID or position-mased).
@percona-ysorokin percona-ysorokin merged commit fea51d7 into main Dec 17, 2025
7 checks passed
@percona-ysorokin percona-ysorokin deleted the mysql_binlog_open_gtid_mode branch December 17, 2025 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants