[MDEV-19801] Change defaults for CHANGE MASTER TO so that GTID-based replication is used by default if master supports it Created: 2019-06-19  Updated: 2023-08-07  Resolved: 2022-07-30

Status: Closed
Project: MariaDB Server
Component/s: Replication
Fix Version/s: 10.10.0

Type: Task Priority: Critical
Reporter: Valerii Kravchuk Assignee: Brandon Nesterenko
Resolution: Fixed Votes: 0
Labels: Preview_10.10

Issue Links:
Relates
relates to MDEV-28798 Previously Binlog Encrypted Master Se... Closed

 Description   

It is known (see https://mariadb.com/kb/en/library/gtid/) that GTID-based replication in MariaDB is the only potentially crash-safe way to replicate. So, it would make sense to use it by default as long as master supports GTIDs (version is 10.0.2+).



 Comments   
Comment by Brandon Nesterenko [ 2022-05-28 ]

Hi Andrei! This is ready for review.

There are two relevant commits on the branch bb-10.10-MDEV-19801

Commit 1 contains the code changes with an MTR test specific to the code changes: 723c1d3
Commit 2 contains the changes to the MTR tests 19e54ac

Buildbot: bb-10.10-MDEV-19801

Comment by Andrei Elkin [ 2022-06-14 ]

Thanks for this work which is approved, provided a new mtr test macro to be introduced later.

Comment by Brandon Nesterenko [ 2022-06-15 ]

Hi angelique.sklavounos!

I am re-assigning this to you for testing. The preview branch is preview-10.10-gtid.

Please let me know if you have any questions.

Comment by Angelique Sklavounos (Inactive) [ 2022-07-22 ]

OK to push.

Comment by Brandon Nesterenko [ 2022-07-26 ]

Howdy Andrei!

This is ready for a final round of review before pushing into 10.10

https://github.com/MariaDB/server/pull/2151

Comment by Andrei Elkin [ 2022-07-26 ]

Approved on GH.

Generated at Thu Feb 08 08:54:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.