The main goal of global transaction ID is to make it easy to promote a new master and switch all slaves over to continue replication from the new master. This is currently harder than it could be, since the current replication position for a slave is specified in coordinates that are specific to the current master, and it is not trivial to translate them into the corresponding coordinates on the new master. Global transaction ID solves this by annotating each event with the global transaction id which is unique and universal across the whole replication hierarchy.
In addition, there are at least two other main goals for MariaDB global transaction ID:
- Make it easy to setup global transaction ID, and easy to provision a new slave into an existing replication hierarchy.
- Fully support …